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.
Results 1 to 10 of 24
Hybrid View
-
2020-09-16, 04:17 #1
- Join Date
- Jul 2020
- Posts
- 29
picoreplayer - squeezelite - gets stuck when trying to play a broken radio station
-
2020-09-16, 04:34 #2
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,319
What URL are you using to play ?
This URL seems to be play OK
http://jazzy.hu/jazzy.mp3
-
2020-09-16, 05:15 #3
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 if you like the piCorePlayer
-
2020-09-16, 06:25 #4
- Join Date
- Jul 2020
- Posts
- 29
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.
-
2020-09-16, 07:05 #5
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
PS. Where is your LMS server?piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2020-09-16, 12:10 #6
- Join Date
- Jul 2020
- Posts
- 29
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
-
2020-09-16, 05:46 #7
- Join Date
- Jul 2020
- Posts
- 29
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.
-
2020-09-16, 06:06 #8
- Join Date
- Jan 2010
- Location
- Hertfordshire
- Posts
- 6,594
-
2020-09-16, 06:13 #9
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,319
-
2020-09-16, 06:16 #10
- Join Date
- Jan 2010
- Location
- Hertfordshire
- Posts
- 6,594