Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Sep 2018
    Location
    Hamburg
    Posts
    66

    XSqueezeDisplay Plugin - Does it still work?

    It's a really old plugin but I just tried to get Kodi-Information on the Transporter Display. Plugin installs/starts fine and in I can choose player -> ScreenSaver -> XSqueezeDisplay. But finally after setup I don't get Kodi's playing info on the screen - just current date/time

    Name:  Capture11.PNG
Views: 234
Size:  42.6 KB

    Debug message don't show that the plugin grabs any info just information that something went wrong with the handler
    Code:
    [21-03-31 15:30:55.7338] Slim::Web::Settings::handler (157) Preference names must be prefixed by "pref_" in the page template: plugin_xsqueezedisplay_kodiip (PLUGIN_XSQUEEZEDISPLAY)
    [21-03-31 15:30:55.7351] Slim::Web::Settings::handler (157) Preference names must be prefixed by "pref_" in the page template: plugin_xsqueezedisplay_kodijsonport (PLUGIN_XSQUEEZEDISPLAY)
    [21-03-31 15:30:55.7358] Slim::Web::Settings::handler (157) Preference names must be prefixed by "pref_" in the page template: plugin_xsqueezedisplay_kodijsonuser (PLUGIN_XSQUEEZEDISPLAY)
    [21-03-31 15:30:55.7366] Slim::Web::Settings::handler (157) Preference names must be prefixed by "pref_" in the page template: plugin_xsqueezedisplay_kodijsonpassword (PLUGIN_XSQUEEZEDISPLAY)
    [21-03-31 15:30:55.7376] Slim::Web::Settings::handler (157) Preference names must be prefixed by "pref_" in the page template: plugin_xsqueezedisplay_line1_video (PLUGIN_XSQUEEZEDISPLAY)
    [21-03-31 15:30:55.7383] Slim::Web::Settings::handler (157) Preference names must be prefixed by "pref_" in the page template: plugin_xsqueezedisplay_line2_video (PLUGIN_XSQUEEZEDISPLAY)
    [21-03-31 15:30:55.7395] Slim::Web::Settings::handler (157) Preference names must be prefixed by "pref_" in the page template: plugin_xsqueezedisplay_line1_audio (PLUGIN_XSQUEEZEDISPLAY)
    [21-03-31 15:30:55.7401] Slim::Web::Settings::handler (157) Preference names must be prefixed by "pref_" in the page template: plugin_xsqueezedisplay_line2_audio (PLUGIN_XSQUEEZEDISPLAY)
    Kodi-Interface by itself on port 80/ login works fine
    LMS:
    Version: 8.2.0 - 1616690655 @ Thu Mar 25 18:15:21 CET 2021
    on RPi4/ Raspbian Buster 10 pointed (NFS) to MusicLibrary on QNAP TS212

    Squeeze-Players:
    Duet - Cntrl-FW: 8.0.1-r16844/ Receiver-FW: 77
    2x Radio - FW: 8.0.1-r16844
    RPi 2B - pCP 7.0.1/ SqueezeLite v1.9.9-1372-pCP
    Transporter - FW: 87
    Softsqueeze 3.9.2 on Win 10 / Squeezeplay 8.0.1r1343 on Win 10
    Squeeze Player 1.3.21 on S7/Android 8.0.0

    Controller:
    Android Phone - Squeezer 2.2.4/ Material Skin 2.3.5

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,921
    Not sure - but I suspect one of the changes when LMS 7 (or maybe 7.1) was released was new requirements for naming of preferences.
    before trying to get it to work I suggest checking around to see if someone else has already done it or there is a different plugin that can achieve a similar result.

    Edit:
    See https://forums.slimdevices.com/showt...epage-template
    Last edited by Paul Webster; 2021-03-31 at 10:16.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  3. #3
    Member
    Join Date
    Sep 2018
    Location
    Hamburg
    Posts
    66
    Quote Originally Posted by Paul Webster View Post
    Not sure - but I suspect one of the changes when LMS 7 (or maybe 7.1) was released was new requirements for naming of preferences.
    before trying to get it to work I suggest checking around to see if someone else has already done it or there is a different plugin that can achieve a similar result.

    Edit:
    See https://forums.slimdevices.com/showt...epage-template
    Hi Paul,

    Thanks for the hint. That was easy because only a few 'Preferences Names' were are used in the settings.htm. Now it's working

    Code:
    [21-03-31 23:00:43.3021] Plugins::XSqueezeDisplay::Plugin::myDebug (85) *** XSqueezeDisplay *** 
    
    |title Tagesthemen
    |album 
    |artist 
    |showtitle 
    |season 
    |episode 
    |tvshowid 
    |thumbnail image://http%3a%2f%2fosmc%3a.osmcAThome%40192.168.178.9%3a9981%2fimagecache%2f242/
    |file 
    |file_basename 
    |fanart 
    |type channel
    |streamdetails_audio_channels 
    |streamdetails_audio_codec 
    |streamdetails_audio_language 
    |streamdetails_subtile 
    |streamdetails_video_aspect 0.00
    |streamdetails_video_codec 
    |streamdetails_video_height 
    |streamdetails_video_width 
    |streamdetails_video_stereomode 
    [21-03-31 23:00:43.3155] Plugins::XSqueezeDisplay::Plugin::myDebug (85) *** XSqueezeDisplay *** 
    
    |duration_in_seconds 2100
    |duration 35:00
    |elapsed_in_seconds 943
    |time 15:43
    |time_remaining 19:17
    |percentage 44
    Name:  Capture12.PNG
Views: 94
Size:  38.6 KB

    @bossanova808, maybe you could correct it someday

    Best regards
    Michael
    LMS:
    Version: 8.2.0 - 1616690655 @ Thu Mar 25 18:15:21 CET 2021
    on RPi4/ Raspbian Buster 10 pointed (NFS) to MusicLibrary on QNAP TS212

    Squeeze-Players:
    Duet - Cntrl-FW: 8.0.1-r16844/ Receiver-FW: 77
    2x Radio - FW: 8.0.1-r16844
    RPi 2B - pCP 7.0.1/ SqueezeLite v1.9.9-1372-pCP
    Transporter - FW: 87
    Softsqueeze 3.9.2 on Win 10 / Squeezeplay 8.0.1r1343 on Win 10
    Squeeze Player 1.3.21 on S7/Android 8.0.0

    Controller:
    Android Phone - Squeezer 2.2.4/ Material Skin 2.3.5

  4. #4
    Senior Member
    Join Date
    May 2005
    Posts
    281
    Sure @MichaelPr, I am happy to correct it, or even better you could do a PR here - https://github.com/bossanova808/repo...e.bossanova808

    But it's been working for me forever (I am using 8.1.2 here currently) , and I use it every night, so I wasn't aware of an issue....I've seen that warning but it has worked fine despite that so I never bothered to look into it.

    Therefore I'd actually guess in your case it was just re-starting LMS that fixed your issue, rather than whatever change you made, but I suppose getting rid of the warning would make sense anyway...)

  5. #5
    Member
    Join Date
    Sep 2018
    Location
    Hamburg
    Posts
    66
    Quote Originally Posted by bossanova808 View Post
    Sure @MichaelPr, I am happy to correct it, or even better you could do a PR here - https://github.com/bossanova808/repo...e.bossanova808

    But it's been working for me forever (I am using 8.1.2 here currently) , and I use it every night, so I wasn't aware of an issue....I've seen that warning but it has worked fine despite that so I never bothered to look into it.

    Therefore I'd actually guess in your case it was just re-starting LMS that fixed your issue, rather than whatever change you made, but I suppose getting rid of the warning would make sense anyway...)
    Hi Jeremy,

    Thanks for the response - you are right! It guess it was just the re-starting. I removed my changes and beside the warning, your plugin works perfectly! I did not do that much just adding the prefixed to preferences names. I guess, the hint with the wrapper in Paul's link is much more elegant. I didn't get it working - because of my limited Perl skills

    By the way- my transporter is directly located under my (Kodi)-TV so I don't know how I could survived without your plugin - it's absolutely great! Only one minor thing. If I use the time shift functionality and stop live TV, the remaining playback time still counts. Another thing - a possibility to use/ deactivate the visualizer screen would be great. Maybe for display the station icon? Btw, there is no token returns the current station, right? I guess even because of my limited knowledge of LMS plugins I have to try to dig a bit deeper into it.

    Best regards
    Michael
    LMS:
    Version: 8.2.0 - 1616690655 @ Thu Mar 25 18:15:21 CET 2021
    on RPi4/ Raspbian Buster 10 pointed (NFS) to MusicLibrary on QNAP TS212

    Squeeze-Players:
    Duet - Cntrl-FW: 8.0.1-r16844/ Receiver-FW: 77
    2x Radio - FW: 8.0.1-r16844
    RPi 2B - pCP 7.0.1/ SqueezeLite v1.9.9-1372-pCP
    Transporter - FW: 87
    Softsqueeze 3.9.2 on Win 10 / Squeezeplay 8.0.1r1343 on Win 10
    Squeeze Player 1.3.21 on S7/Android 8.0.0

    Controller:
    Android Phone - Squeezer 2.2.4/ Material Skin 2.3.5

  6. #6
    Senior Member
    Join Date
    May 2005
    Posts
    281
    The info is all directly from Kodi - if it is wrong or incomplete (the timer carrying on), that is probably really a Kodi issue. This plugin just grabs what is given, basically.

    This is the only Perl I've ever written and I am probably not all that likely to make changes as it already covers everything I need it to do - but happy to accept them if you can successfully make and test them - it would probably be a case of coming up with the right JSON queries for Kodi when used in Live TV / Radio modes, I guess.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •