Open
Conversation
…d), do window type determination via InfoLabel_* functions
…option, don't clear display on dim
…ate the backlight)
…eded values per linetype only
…ctly adds separator for icontext lines)
…id (e.g. won't properly parse) and show a warning (new string 503) if this is the case
Allows to specify shorter format for lage (>16 columns) displays
When in BigClock mode and start offset changed (for example if clock is centered and total number of digits gets smaller) extra digits were not cleared due to bug. The problem was that ClearBigDigits() cleared previous internal state, so when extra digits should be cleared, internal state (in self.m_strDigits[]) was already cleared for them, so commands for removing digits from screen were not executed. Fixed by removing call to ClearBigDigits() and marked forced update necessary.
Add setting to display clock using 3,4,5 or 6 big digits
Also, bump the minimum xbmc.python compat to 3.0.0
Current LCDproc GIT master carries some protocol changes which will likely be declared as protocol version 0.4 in the next tagged version (at least this is what "hello" reports at the moment). Since there are no incompatible changes at this time (some relaxed menu item handling and a new pbar widget), make XBMC LCDproc run with protocol version 0.4 for now. Closes #55
Changelogs didn't have the information regarding LCDproc protocol version 0.4 yet.
LOGNOTICE and LOGSEVERE log levels were removed from Kodi as of xbmc/xbmc#18346, so remove and replace all occurences from script.xbmc.lcdproc aswell, using LOGINFO for LOGNOTICE (LOGSEVERE wasn't used besides the definition in common.py at all). Closes #58.
"xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead."
getiterator was deprecated but now already removed in python 3.9.x, iter should work for pyton 3.x versions Signed-off-by: BlackEagle <ike.devolder@gmail.com>
replace getiterator with iter
From the Python docs: "Changed in version 3.9: Hyphens and spaces are converted to underscore." Fixes throwing a Python exception when activating the alternative HD44780 character mapping. Fixes/Closes #65
Use the passed name for registration instead of repeating the name. Also, make the variable names less ambiguous.
Update copyright to 2024 everywhere. Also, replace the GPLv2 license boiler plate text with a SPDX-License-Identifier (which may help elsewhere anyway).
Use raw string for regex with escape sequences. Was previously a silent DeprecationWarning but with Python 3.12 it becomes a SyntaxWarning and for future Python releases it will become a SyntaxError.
Fix SyntaxWarning on regex invalid escape sequences
Rewritten socket code to support Python 3.13... Closes #67
Do socket reads in chunks of 1024 bytes, split at first occurence of separator and return up to that first occurence while keeping the remains of the read chunk for further invocations of ReadUntil(), and do utilise that cached data until drained, then re-read the socket. Also, there's no need to keep track of timeouts, this is handled by utilising socket.settimeout().
The original telnetlib based approach using read_until() worked based on the fact that the string returned by read_until() always had a trailing LF (\n). This isn't the case with the way the response is returned by the raw socket based implementation (ie. using string.partition()), so don't add a trailing LF to the returned string anymore and fix up all occurances comparing with a string containing a trailing LF. (On a side note, it is simply wrong to statically append a LF where it would rather be correct to append the separator, but well...)
Catch and log exception types during socket connect, initial LCDproc init and command submission, so users get a more proper pointer on what's wrong instead of just "Connect failed. Retry in..." or something like "Telnet exception". While at it, clean up mentions of telnet after telnetlib isn't used anymore.
Adding Swedish translation
Add Swedish translation to addon.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I usually use my HTPC to listening music and musicvideos with turned off tv screen.
For movies I have only time on my vfd. For music videos screen with artist and title could be more usefull.