Skip to content

Different screen for music videos#2

Open
ghost wants to merge 357 commits intoMemphiz:masterfrom
herrnst:master
Open

Different screen for music videos#2
ghost wants to merge 357 commits intoMemphiz:masterfrom
herrnst:master

Conversation

@ghost
Copy link

@ghost ghost commented Sep 18, 2014

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.

…d), do window type determination via InfoLabel_* functions
…id (e.g. won't properly parse) and show a warning (new string 503) if this is the

case
mskalski and others added 30 commits March 21, 2019 22:52
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>
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.