Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-17 Thread slartibartfast


sakos wrote: 
> Thank you slartibartfast.
> The LMS is now upgraded and it solved my other (more troublesome)
> 'issue' (https://github.com/ralph-irving/squeezelite/issues/96).[emoji106]

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-17 Thread sakos


slartibartfast wrote: 
> That is a very old version of LMS 8.0.0.
> 
> Sent from my Pixel 3a using Tapatalk

Thank you slartibartfast.
The LMS is now upgraded and it solved my other (more troublesome)
'issue' (https://github.com/ralph-irving/squeezelite/issues/96).



sakos's Profile: http://forums.slimdevices.com/member.php?userid=70470
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-17 Thread sakos


philippe_44 wrote: 
> You should get a server log with player.streaming.remote and
> player.source set to info or debug to see what LMS says.

What a pity. Tunein has fixed the broken station and I cannot reproduce
the fault anymore even with adding an own station with the broken url.



sakos's Profile: http://forums.slimdevices.com/member.php?userid=70470
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-17 Thread slartibartfast


sakos wrote: 
> 
> 
> Logitech Media Server Version: 8.0.0 - 1590399854 @ Mon May 25 12:25:07
> CEST 2020
> 

That is a very old version of LMS 8.0.0.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-17 Thread philippe_44


sakos wrote: 
> LMS is local. It is a standalone device on an RPi2.
> 
> The result is strange.
> If I enable all=sdebug, then the fault disappears. After selecting the
> broken station I got an error message on the screen about connection
> failure and the system is working fine, another station can be
> selected.
> 
> With all=debug settings the logs below can be seen.
> 
> > 
Code:

  >   > [21:02:27.114015] process:521 audg
  > [21:02:27.114121] process_audg:433 audg gainL: 2048 gainR: 2048 adjust: 1
  > [21:02:27.114157] set_volume:233 setting internal gain left: 2048 right: 
2048
  > [21:02:27.126490] process:521 strm
  > [21:02:27.126597] process_strm:274 strm command s
  > [21:02:27.126631] process_strm:344 strm s autostart: 3 transition period: 
10 transition type: 0 codec: m
  > [21:02:27.126665] sendSTAT:189 STAT: STMf
  > [21:02:27.126784] codec_open:264 codec open: 'm'
  > [21:02:27.126823] codec_open:281 closing codec: 'a'
  > [21:02:27.127070] _tcp_connect:486 connecting to 94.199.183.186:80
  > [21:02:27.133442] stream_sock:577 header: GET /jazzy.mp3 HTTP/1.0
  > Cache-Control: no-cache
  > Connection: close
  > Accept: */*
  > Host: 94.199.183.186
  > User-Agent: iTunes/4.7.1 (Linux; N; piCore; armv8l-linux; EN; utf8) 
SqueezeCenter, Squeezebox Server, Logitech Media Server/8.0.0/1590399854
  > Icy-MetaData: 1
  > 
  > 
  > [21:02:27.133624] sendSTAT:189 STAT: STMc
  > [21:02:27.133871] process_strm:377 set fade mode: 0
  > [21:02:27.133993] process:521 audg
  > [21:02:27.134036] process_audg:433 audg gainL: 2048 gainR: 2048 adjust: 1
  > [21:02:27.134069] set_volume:233 setting internal gain left: 2048 right: 
2048
  > 
  > 

> > 
> After that the log is frozen. No more entry whatever I do.

You should get a server log with player.streaming.remote and
player.source set to info or debug to see what LMS says.



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread sakos


bpa wrote: 
> Just to eliminate possible https issues.
> 
> What OS is LMS runngin on ?
> What version of LMS ?
> What version of IO::Socket::SSL - found in LMS WebUI
> Settings/Information page/
> What version of Squeezelite ?

This is a standard piCorePlayer installation on a RPi with an 5''LCD and
Hifiberry AMP+

Logitech Media Server Version: 8.0.0 - 1590399854 @ Mon May 25 12:25:07
CEST 2020
Operating system: piCore - EN - utf8
Platform Architecture: armv8l-linux
Perl Version: 5.28.2 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 1.02
IO::Socket::SSL: 2.066
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)

Player Model: SqueezeLite
Player Type: squeezelite
Firmware: v1.9.7-1270-pCP



sakos's Profile: http://forums.slimdevices.com/member.php?userid=70470
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread bpa


sakos wrote: 
> LMS is local. It is a standalone device on an RPi2..

Just to eliminate possible https issues.

What OS is LMS runngin on ?
What version of LMS ?
What version of IO::Socket::SSL - found in LMS WebUI
Settings/Information page/
What version of Squeezelite ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread sakos


paul- wrote: 
> If restarting squeezelite fails, that normally means squeezelite is
> crashing.  And that would also cause the jivelite problems since the
> player is not connected to LMS anymore. Reboot your system, then go to
> the squeezelite page and turn on logging.
> 
> Since your are saying it's causing system instability, I would connect
> to the system with ssh, and run
> 
> > 
Code:

  >   > tail -f /var/log/pcp_squeezelite.log

> > 
> 
> Now try to play what causes the problem and see if there is anything
> in the log.
> 
> PS.  Where is your LMS server?

LMS is local. It is a standalone device on an RPi2.

The result is strange.
If I enable all=sdebug, then the fault disappears. After selecting the
broken station I got an error message on the screen about connection
failure and the system is working fine, another station can be
selected.

With all=debug settings the logs below can be seen.


Code:

[21:02:27.114015] process:521 audg
  [21:02:27.114121] process_audg:433 audg gainL: 2048 gainR: 2048 adjust: 1
  [21:02:27.114157] set_volume:233 setting internal gain left: 2048 right: 2048
  [21:02:27.126490] process:521 strm
  [21:02:27.126597] process_strm:274 strm command s
  [21:02:27.126631] process_strm:344 strm s autostart: 3 transition period: 10 
transition type: 0 codec: m
  [21:02:27.126665] sendSTAT:189 STAT: STMf
  [21:02:27.126784] codec_open:264 codec open: 'm'
  [21:02:27.126823] codec_open:281 closing codec: 'a'
  [21:02:27.127070] _tcp_connect:486 connecting to 94.199.183.186:80
  [21:02:27.133442] stream_sock:577 header: GET /jazzy.mp3 HTTP/1.0
  Cache-Control: no-cache
  Connection: close
  Accept: */*
  Host: 94.199.183.186
  User-Agent: iTunes/4.7.1 (Linux; N; piCore; armv8l-linux; EN; utf8) 
SqueezeCenter, Squeezebox Server, Logitech Media Server/8.0.0/1590399854
  Icy-MetaData: 1
  
  
  [21:02:27.133624] sendSTAT:189 STAT: STMc
  [21:02:27.133871] process_strm:377 set fade mode: 0
  [21:02:27.133993] process:521 audg
  [21:02:27.134036] process_audg:433 audg gainL: 2048 gainR: 2048 adjust: 1
  [21:02:27.134069] set_volume:233 setting internal gain left: 2048 right: 2048
  
  


After that the log is frozen. No more entry whatever I do.



sakos's Profile: http://forums.slimdevices.com/member.php?userid=70470
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread slartibartfast


bpa wrote: 
> You're right. The mysteries of LMS.  I suppose the JS or page handler of
> Classic WebUI may be filtering the entered data.
> 
> Curious the icon for Jazzy Radio is different in Radio.net compared to
> Tunein.I just tried the Classic skin and the search fails there as well.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread bpa


slartibartfast wrote: 
> It does seem to search as expected in Material though.

You're right. The mysteries of LMS.  I suppose the JS or page handler of
Classic WebUI may be filtering the entered data.

Curious the icon for Jazzy Radio is different in Radio.net compared to
Tunein.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread slartibartfast


bpa wrote: 
> Plugin uses the LMS OPML query facility - IIRC it removes all characters
> that can pattern match (i.e search for 90.0 becomes 90 9) - it is
> usually OK for names - searching for frequencies is not great.  Not sure
> how LMS Radio/Tunein Search manages to get around it - probably not
> using OPML query.It does seem to search as expected in Material though.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread paul-


sakos wrote: 
> 
> Restart of squeezlite via pCP main page fails.

If restarting squeezelite fails, that normally means squeezelite is
crashing.  And that would also cause the jivelite problems since the
player is not connected to LMS anymore. Reboot your system, then go to
the squeezelite page and turn on logging.

Since your are saying it's causing system instability, I would connect
to the system with ssh, and run


Code:

tail -f /var/log/pcp_squeezelite.log



Now try to play what causes the problem and see if there is anything in
the log.

PS.  Where is your LMS server?



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread bpa


slartibartfast wrote: 
> If I search in the default skin for 90.9 it seems to ignore the .9 and
> gives results as if the search had been for 90. In the Material skin
> searching for 90.9 works.

Plugin uses the LMS OPML query facility - IIRC it removes all characters
that can pattern match (i.e search for 90.0 becomes 90 9) - it is
usually OK for names - searching for frequencies is not great.  Not sure
how LMS Radio/Tunein Search manages to get around it - probably not
using OPML query.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread slartibartfast


bpa wrote: 
> Not for me. IIRC Radio.net shuffles search results so different results
> each time except with LMS  caches catches repeat search with same terms.If I 
> search in the default skin for 90.9 it seems to ignore the .9 and
gives results as if the search had been for 90. In the Material skin
searching for 90.9 works.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread sakos


paul- wrote: 
> You are also using the script feature in squeezelite, correct?  Disable
> the script and see if the problem resolves.  Error handling in the
> script feature is not all that good.

I am not sure what you exactly mean on script feature in squeezlite.
Anyway, I have two scripts configured as user commands on Tweaks config
page of pCP. Both are disabled but the problem is still present.  When I
switch to another station, a "fetching track information" message
appears on the top of the screen then couple of seconds later it turns
to "stopped". If I restart Jivelite, at least half of the home menu
items are missing.
Restart of squeezlite via pCP main page fails.



sakos's Profile: http://forums.slimdevices.com/member.php?userid=70470
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread bpa


slartibartfast wrote: 
> If you search for Jazzy Radio or even 90.9 Jazzy it doesn't appear but
> searching for simply 90.9 it is one of the first results.

Not for me. IIRC Radio.net shuffles search results so different results
each time except with LMS  caches catches repeat search with same terms.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread slartibartfast


bpa wrote: 
> Interesting - couldn't find under Jazzy Radio but I found a bug in
> Radio.net plugin - page 2 etc. gets a "failed to parse"If you search for 
> Jazzy Radio or even 90.9 Jazzy it doesn't appear but
searching for simply 90.9 it is one of the first results.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread bpa


slartibartfast wrote: 
> You can find it on Radionet. Install the plugin and search for 90.9.
> This one includes an icon.

Interesting - couldn't find under Jazzy Radio but I found a bug in
Radio.net plugin - page 2 etc. gets a "failed to parse"



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread bpa


sakos wrote: 
> You are correct. It works if I add the station manually and specify the
> link you mentioned. However manually added stations have e.g. no icon.
> The station in Tunein app has wrong url
> (http://94.199.183.186/jazzy.mp3) and this triggers the fault.

Search for Jazzy Radio and from station list save the entry as a
Favorite.  Then edit the Favorite entry and replace the URL with the
working URL - I think the icon should be kept.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread slartibartfast


sakos wrote: 
> You are correct. It works if I add the station manually and specify the
> link you mentioned. However manually added stations have e.g. no icon.
> The station in Tunein app has wrong url
> (http://94.199.183.186/jazzy.mp3) and this triggers the fault.You can find it 
> on Radionet. Install the plugin an search for 90.9. This
one includes an icon.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread sakos


bpa wrote: 
> What URL are you using to play ?   
> 
> This URL seems to be play OK
> 
> http://jazzy.hu/jazzy.mp3

You are correct. It works if I add the station manually and specify the
link you mentioned. However manually added stations have e.g. no icon.
The station in Tunein app has wrong url
(http://94.199.183.186/jazzy.mp3) and this triggers the fault.



sakos's Profile: http://forums.slimdevices.com/member.php?userid=70470
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread paul-


You are also using the script feature in squeezelite, correct?  Disable
the script and see if the problem resolves.  Error handling in the
script feature is not all that good.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


Re: [SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread bpa


sakos wrote: 
> I realized a fault in pCP-Squeezlite. My favourite local radio station
> has changed its stream url but TuneIn refused to fix it (another
> question why). https://tunein.com/radio/909-Jazzy-Rdi-s87189/
> If I accidentally open this station the the system gets stuck. The menu
> is responsive, I can select another station but it never starts playing.
> Only system reboot recovers.
> 
> I assume it should be more robust. Connection issue may happen any time.

What URL are you using to play ?   

This URL seems to be play OK

http://jazzy.hu/jazzy.mp3



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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


[SlimDevices: Plugins] picoreplayer - squeezelite - gets stuck when trying to play a broken radio station

2020-09-16 Thread sakos


I realized a fault in pCP-Squeezlite. My favourite local radio station
has changed its stream url but TuneIn refused to fix it (another
question why). https://tunein.com/radio/909-Jazzy-Rdi-s87189/
If I accidentally open this station the the system gets stuck. The menu
is responsive, I can select another station but it never starts playing.
Only system reboot recovers.

I assume it should be more robust. Connection issue may happen any time.



sakos's Profile: http://forums.slimdevices.com/member.php?userid=70470
View this thread: http://forums.slimdevices.com/showthread.php?t=112945

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