[SlimDevices: Plugins] XSqueezeDisplay Plugin - Does it still work?

2021-03-31 Thread MichaelPr


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 

34025

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


+---+
|Filename: Capture11.PNG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34025|
+---+


lms:
logitech media server version: 8.2.0 - 1616690655 @ thu mar 25 18:15:21
cet 2021

squeeze-players:
duet - controller firmware: 8.0.1-r16835 receiver firmware: 77
2x radio - firmware: 8.0.1-r16835
raspberrypi 2b - pcp 7.0.0/ squeezelite v1.9.9-1364-pcp
transporter - firmware: 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

MichaelPr's Profile: http://forums.slimdevices.com/member.php?userid=68465
View this thread: http://forums.slimdevices.com/showthread.php?t=114279

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] XSqueezeDisplay Plugin - Does it still work?

2021-03-31 Thread Paul Webster


Not sure - but I suspect one of the changes when LMS 7 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.



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

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=114279

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] XSqueezeDisplay Plugin - Does it still work?

2021-03-31 Thread MichaelPr


Paul Webster wrote: 
> 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/showthread.php?57333-Preference-names-must-be-prefixed-by-quot-pref_-quot-in-thepage-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



34028

@bossanova808, maybe you could correct it someday

Best regards
Michael


+---+
|Filename: Capture12.PNG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34028|
+---+


lms:
logitech media server version: 8.2.0 - 1616690655 @ thu mar 25 18:15:21
cet 2021

squeeze-players:
duet - controller firmware: 8.0.1-r16835 receiver firmware: 77
2x radio - firmware: 8.0.1-r16835
raspberrypi 2b - pcp 7.0.0/ squeezelite v1.9.9-1364-pcp
transporter - firmware: 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

MichaelPr's Profile: http://forums.slimdevices.com/member.php?userid=68465
View this thread: http://forums.slimdevices.com/showthread.php?t=114279

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] XSqueezeDisplay Plugin - Does it still work?

2021-04-01 Thread bossanova808


Sure @MichaelPr, I am happy to correct it, or even better you could do a
PR here -
https://github.com/bossanova808/repository.squeeze.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 issueI'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...)



bossanova808's Profile: http://forums.slimdevices.com/member.php?userid=619
View this thread: http://forums.slimdevices.com/showthread.php?t=114279

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] XSqueezeDisplay Plugin - Does it still work?

2021-04-03 Thread MichaelPr


bossanova808 wrote: 
> Sure @MichaelPr, I am happy to correct it, or even better you could do a
> PR here -
> https://github.com/bossanova808/repository.squeeze.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 issueI'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:
logitech media server version: 8.2.0 - 1616690655 @ thu mar 25 18:15:21
cet 2021

squeeze-players:
duet - controller firmware: 8.0.1-r16835 receiver firmware: 77
2x radio - firmware: 8.0.1-r16835
raspberrypi 2b - pcp 7.0.0/ squeezelite v1.9.9-1364-pcp
transporter - firmware: 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

MichaelPr's Profile: http://forums.slimdevices.com/member.php?userid=68465
View this thread: http://forums.slimdevices.com/showthread.php?t=114279

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] XSqueezeDisplay Plugin - Does it still work?

2021-04-03 Thread bossanova808


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.



bossanova808's Profile: http://forums.slimdevices.com/member.php?userid=619
View this thread: http://forums.slimdevices.com/showthread.php?t=114279

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins