PDA

View Full Version : No Internet radio on FreeNAS / SlimNAS?



SilverRS8
2008-08-02, 06:37
Hi, yesterday moved to FreeNAS/SlimNAS but internet radio, in this case Shoutcast, won't play anything but gives the error message; No items found in playlist URL.

I am able to browse RSS feeds and LastFM so internet connectivity is OK.

When I select my PC as music source there is no problem however. Any ideas?

Some version information:
SqueezeCenter Version: 7.1 - 22170 @ Mon Jul 28 13:30:29 PDT 2008 - freebsd - EN - utf8
Server IP address: 10.1.1.11
Perl Version: 5.8.8 i386-freebsd-64int
MySQL Version: 5.0.33

mherger
2008-08-02, 06:49
> Hi, yesterday moved to FreeNAS/SlimNAS but internet radio, in this case
> Shoutcast, won't play anything but gives the error message; No items
> found in playlist URL.

Make sure DNS on the FreeNAS box is configured correctly.

> I am able to browse RSS feeds and LastFM so internet connectivity is
> OK.

That's interesting. What does the server.log file say?

--

Michael

SilverRS8
2008-08-02, 07:06
Hi Michael,

Thx for the quick reply. DNS seems ok (router) and I can ping all internet addresses.

Attached is the server log. Hopefully you can see something wrong.


Frank

mherger
2008-08-02, 07:22
> Thx for the quick reply. DNS seems ok (router) and I can ping all
> internet addresses.

But then there are these lines in the log:

[08-07-31 17:06:23.0152] Slim::Networking::Async::DNS::init (102) Warning: No DNS servers responded, falling back to OpenDNS.
[08-07-31 17:06:28.6804] Slim::Networking::Async::DNS::resolve (208) DNS server 208.67.222.222 couldn't resolve IP address for update.slimdevices.com: Send: Network is unreachable
[08-07-31 17:06:28.6853] Slim::Networking::Async::DNS::resolve (208) DNS server 208.67.220.220 couldn't resolve IP address for update.slimdevices.com: Send: Network is unreachable
[08-07-31 17:06:28.7009] Slim::Networking::Async::DNS::resolve (208) DNS server 208.67.222.222 couldn't resolve IP address for www.squeezenetwork.com: Send: Network is unreachable
[08-07-31 17:06:28.7048] Slim::Networking::Async::DNS::resolve (208) DNS server 208.67.220.220 couldn't resolve IP address for www.squeezenetwork.com: Send: Network is unreachable

[08-08-01 23:51:03.7631] Slim::Networking::Async::_async_error (256) Error: [Timed out waiting for data]
[08-08-01 23:51:03.7642] Slim::Networking::Async::HTTP::_http_error (264) Error: [Timed out waiting for data]
[08-08-01 23:51:03.7659] Slim::Formats::XML::gotErrorViaHTTP (265) Error: getting http://legacy.odeo.com/tag/music/rss.xml
Timed out waiting for data
[08-08-01 23:51:03.7671] Slim::Buttons::XMLBrowser::_cliQuery_error (2323) Error: While retrieving [http://legacy.odeo.com/tag/music/rss.xml]: [Timed out waiting for data]
[08-08-01 23:51:14.0125] Slim::Networking::Async::_async_error (256) Error: [Timed out waiting for data]
[08-08-01 23:51:14.0136] Slim::Networking::Async::HTTP::_http_error (264) Error: [Timed out waiting for data]
[08-08-01 23:51:14.0153] Slim::Formats::XML::gotErrorViaHTTP (265) Error: getting http://legacy.odeo.com/tag/entertainment/rss.xml
Timed out waiting for data
[08-08-01 23:51:14.0165] Slim::Buttons::XMLBrowser::_cliQuery_error (2323) Error: While retrieving [http://legacy.odeo.com/tag/entertainment/rss.xml]: [Timed out waiting for data]

Can you ping any of the above addresses from your SlimNAS?

Plus - unrelated - you seem to have plugins which are incompatible with your SC version.

--

Michael

SilverRS8
2008-08-02, 08:21
I can ping www.squeezenetwork.com and www.slimdevices.com but can't ping update.slimdevices.com from FreeNAS console. But this also counts for my PC (unable to ping update.slimdevices.com) but the PC plays internet radio fine so it seems the problem is not DNS related.

Thanks for helping troubleshooting. Strange thing is LastFM plays great. Can it be the problem is somewhere in FreeNAS?

Frank

SilverRS8
2008-08-02, 09:51
I checked the server.log of squeezecenter on my PC but it has the same error messages as the FreeNAS box regarding DNS while it plays shoutcast just fine but slimnas doesn't. I'm getting lost here.

When connecting the SB to SN it plays shoutcast just fine. The SB however uses the same DNS server setting as the FreeNAS/SlimNAS box. Problem must be unrelated to DNS.

Error message on controller when connected to FreeNAS and trying to play a shoutcast station: No items found in playlist http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls

Any ideas ?

SilverRS8
2008-08-02, 10:40
Although a few years old sounds exactly like my behaviour:
http://forums.slimdevices.com/showthread.php?p=310047

Everything works except shoutcast.

Bug in 7.1 noCPAN?

SilverRS8
2008-08-03, 00:01
Just to test I've installed 7.1.1 with no positive outcome and reverted back to 7.1.

bpa
2008-08-03, 01:00
What is the IP address of your router ?
Do you use DHCP ?
Is the SlimNAS box set to use DHCP ?
What is the IP address of the SlimNAS box ?
What is the gateway address set in the SlimNAS box ?
What is the network mask set in the SlimNAS box ?

SilverRS8
2008-08-03, 02:47
What is the IP address of your router ?
Do you use DHCP ?
Is the SlimNAS box set to use DHCP ?
What is the IP address of the SlimNAS box ?
What is the gateway address set in the SlimNAS box ?
What is the network mask set in the SlimNAS box ?

Static IP config
IP slimnas 10.1.1.200/24, gateway 10.1.1.1
IP router 10.1.1.1

I don't think it is network related. I can play last-FM and read RSS feeds. I can also ping all sites from the FreeNAS console. The only thing not working is shoutcast :-((

bpa
2008-08-03, 02:59
With odd problems I find it good practice to check the basics and not to make too many assumptions.

With static IP you needs to have set up DNS entries in SlimNAS.

What are DNS IP addresses on a PC connected to same router ?
What are the DNS IP addresses on SlimNAS box ?


There is a possibility that something is happening to the DNS servers on ISP - there has been a lot of internet-wide work recently dealing with a DNS vulnerability. If that is the case it should resolve itself in a day or so.

SilverRS8
2008-08-03, 03:08
With odd problems I find it good practice to check the basics and not to make too many assumptions.

With static IP you needs to have set up DNS entries in SlimNAS.

What are DNS IP addresses on a PC connected to same router ?
What are the DNS IP addresses on SlimNAS box ?


There is a possibility that something is happening to the DNS servers on ISP - there has been a lot of internet-wide work recently dealing with a DNS vulnerability. If that is the case it should resolve itself in a day or so.

Thx for thinking along with me.
The DNS server set in Slimnas is the router (10.1.1.1). The PC running SC is configured identical and has no problem with shoutcast.

bpa
2008-08-03, 03:23
Try running nslookup on both PC (within command prompt for Windows) and SlimNAS box on a working address (e.g. shoutcast) and a non-working address.

The output should say if it can't contact DSNS server or if the DNS server cannot work. If both PC and SlimNAS use same DNS server - output should be the same.

If nslookup works on all addresses on SlimNAS then issue is within SC.

SilverRS8
2008-08-03, 03:30
Try running nslookup on both PC (within command prompt for Windows) and SlimNAS box on a working address (e.g. shoutcast) and a non-working address.

The output should say if it can't contact DSNS server or if the DNS server cannot work. If both PC and SlimNAS use same DNS server - output should be the same.

If nslookup works on all addresses on SlimNAS then issue is within SC.

A DNS resolve to www.shoutcast.com resolves to the same IP number on both SlimNAS and PC. I'm beginning to think it is in SC....

bpa
2008-08-03, 03:53
This is how I think SC works.

At startup SC tries to contact DNS server. If SC is started at system boot sometimes the NAS's DNS server has not been setup so SC uses OpenDNS and for some reason some ip addresses do nto resolved - this happened with some AlienBBC users on NASs.

The test for this behaviour is to stop ands restart SC without rebooting the SlimNAS box. Before restart turn on "Save logging settings for use at next application restart" for network.asyncdns to INFO and probably server to INFO just to be sure..

SilverRS8
2008-08-03, 04:38
Thanks. I made the changes and restarted only SlimNAS. Shoutcast doesn't work yet though. I can see the server.log is larger than normal but contains no specific useful entries concering shoutcast. Where does the DNS logging go? I only have a server.log and scanner.log file?

Jannock
2008-08-03, 04:45
Static IP config
IP slimnas 10.1.1.200/24, gateway 10.1.1.1
IP router 10.1.1.1

I don't think it is network related. I can play last-FM and read RSS feeds. I can also ping all sites from the FreeNAS console. The only thing not working is shoutcast :-((

Same problem with me. I restarted Slimserver with SSOTS, but shoutcast doesn't find any radiostation. Other stations work's well.

bpa
2008-08-03, 05:02
I just checked the source for the logging of network.asyncdns and the log message will only appear when set to DEBUG not INFO.

You will need to change the network.asyncdns logging to DEBUG and make sure it it is set with the "restart application" check box checked. This will generate lots of messages. Restart and try to get one of the station listing (e.g. top 100)from Shoutcast.

SC caches URL lookups so when debugging network it is often worthwhile clearing FileCache in the cache directory when SC is stopped before restarting SC.

The output will be in server.log

SilverRS8
2008-08-03, 05:03
Same problem with me. I restarted Slimserver with SSOTS, but shoutcast doesn't find any radiostation. Other stations work's well.

Good to hear I'm not the only one. Don't think it is with all distributions since my SC (same version) on Windows works fine with Shoutcast.

SilverRS8
2008-08-03, 05:13
I just checked the source for the logging of network.asyncdns and the log message will only appear when set to DEBUG not INFO.

You will need to change the network.asyncdns logging to DEBUG and make sure it it is set with the "restart application" check box checked. This will generate lots of messages. Restart and try to get one of the station listing (e.g. top 100)from Shoutcast.

SC caches URL lookups so when debugging network it is often worthwhile clearing FileCache in the cache directory when SC is stopped before restarting SC.

The output will be in server.log

Thx ! I must say I did not purge the cache yet but DNS resolving seems to be just fine using my router (10.1.1.1) as DNS server:

[08-08-03 14:09:03.1010] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 89.202.121.131 for www.squeezenetwork.com
[08-08-03 14:09:03.1076] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 89.202.121.131 for www.squeezenetwork.com
[08-08-03 14:09:03.1163] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 74.201.85.74 for update.slimdevices.com
[08-08-03 14:09:06.0065] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 89.202.121.131 for www.squeezenetwork.com
[08-08-03 14:09:07.0062] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 89.202.121.131 for www.squeezenetwork.com
[08-08-03 14:09:52.9422] Slim::Networking::Async::DNS::resolve (185) Starting async DNS lookup for [content.squeezenetwork.com] using server(s) [10.1.1.1]
[08-08-03 14:09:52.9774] Slim::Networking::Async::DNS::_dns_read (298) Resolved content.squeezenetwork.com to 89.202.121.131 (ttl 300), request took 34 ms
[08-08-03 14:09:54.9508] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 89.202.121.131 for content.squeezenetwork.com
[08-08-03 14:10:03.6935] Slim::Networking::Async::DNS::resolve (185) Starting async DNS lookup for [www.shoutcast.com] using server(s) [10.1.1.1]
[08-08-03 14:10:03.8276] Slim::Networking::Async::DNS::_dns_read (298) Resolved www.shoutcast.com to 207.200.98.25 (ttl 30), request took 132 ms
[08-08-03 14:10:07.3115] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 207.200.98.25 for www.shoutcast.com
[08-08-03 14:10:11.1840] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 207.200.98.25 for www.shoutcast.com

I'll do it again with the cache cleared...

bpa
2008-08-03, 05:19
Has the problem gone away ?

SC caches lookups that failed as well as working ones. So until cache entry expires, it is possible SC will reuse the failed response even though a new explicit lookup would succeed.

SilverRS8
2008-08-03, 05:21
Has the problem gone away ?

SC caches lookups that failed as well as working ones. So until cache entry expires, it is possible SC will reuse the failed response even though a new explicit lookup would succeed.

Just did another run with filecache clear up but the problem exists :-(

Piece of server.log after SC stop, FileCache clearup, SC start:
[08-08-03 14:18:41.0066] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 89.202.121.131 for www.squeezenetwork.com
[08-08-03 14:18:42.0144] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 89.202.121.131 for www.squeezenetwork.com
[08-08-03 14:18:57.5524] Slim::Networking::Async::DNS::resolve (185) Starting async DNS lookup for [content.squeezenetwork.com] using server(s) [10.1.1.1]
[08-08-03 14:18:57.5631] Slim::Networking::Async::DNS::_dns_read (298) Resolved content.squeezenetwork.com to 89.202.121.131 (ttl 10000), request took 9 ms
[08-08-03 14:18:59.2032] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 89.202.121.131 for content.squeezenetwork.com
[08-08-03 14:19:02.1940] Slim::Networking::Async::DNS::resolve (185) Starting async DNS lookup for [www.shoutcast.com] using server(s) [10.1.1.1]
[08-08-03 14:19:02.5644] Slim::Networking::Async::DNS::_dns_read (298) Resolved www.shoutcast.com to 207.200.98.25 (ttl 10000), request took 369 ms
[08-08-03 14:19:05.9111] Slim::Networking::Async::DNS::resolve (158) Using cached DNS response 207.200.98.25 for www.shoutcast.com

Jannock
2008-08-03, 05:22
I just checked the source for the logging of network.asyncdns and the log message will only appear when set to DEBUG not INFO.

You will need to change the network.asyncdns logging to DEBUG and make sure it it is set with the "restart application" check box checked. This will generate lots of messages. Restart and try to get one of the station listing (e.g. top 100)from Shoutcast.

SC caches URL lookups so when debugging network it is often worthwhile clearing FileCache in the cache directory when SC is stopped before restarting SC.

The output will be in server.log

I am an absolutly newbie. Should it be possible to give me some more information what I exactly should do at SC, SSOTS, NAS or router? (If there is any solution ;-) )
Thanks!

bpa
2008-08-03, 05:58
Jannock,

Just because you have the same symptoms does not means you have the same problem.

So first give info such as
* about your system (OS & SC versions, players, how connected etc)
* the symptoms
* what internet radio works on your system and what doesn't
* All the IP information of your router and NAS.
* Do you use DHCP or static IP.

Jannock
2008-08-03, 06:07
Jannock,

Just because you have the same symptoms does not means you have the same problem.

So first give info such as
* about your system (OS & SC versions, players, how connected etc)
* the symptoms
* what internet radio works on your system and what doesn't
* All the IP information of your router and NAS.
* Do you use DHCP or static IP.

OK,

- QNAP 109 II
- Squeezbox duet
- SSOTS 3.0beta 13
- SqueezeCenter-versie: 7.1 - 22170
- I use DHCP
- Live 365 works fine
- IP NAS 10.1.1.113, gateway 10.1.1.1, router 10.1.1.1

When using Shoutcast I get the message: "Didn't find items at playlist".

- thanks bpa

bpa
2008-08-03, 09:21
Jannock,

It sounds like shoutcast is not returning playlist info. Some debug log info would help diagnose.

Under Settings / Advanced / Logging set "formats.xml" to INFO and "network.asyncdns" to INFO. Click Apply.

On main SC screen, select Shoutcast and click through to a playlist such as Top500 or a genre.

If you get the playlist error - examine recent message in the log and attach a copy of the log to a post. The log file can be examined using the link at the top of Settings / Advanced / Logging.

Jannock
2008-08-03, 10:07
bpa,

Here is some info:

- I started with shoutcast: no success
- After that I tried some choosen stations, like sky: no succes
- Only with live365 I can get a connection

Loginfo:

[08-08-03 18:57:51.9408] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 18:57:55.4196] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 18:57:58.8413] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 18:58:09.5798] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 18:58:16.8764] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 18:58:16.9117] Slim::Web::XMLBrowser::handleFeed (350) Playing/adding http://www.shoutcast.com/sbin/tunein-station.pls?id=439300&filename=playlist.pls
[08-08-03 18:58:43.7014] Slim::Formats::XML::getFeedAsync (92) Async request: http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 18:58:44.0830] Slim::Formats::XML::gotViaHTTP (228) Caching parsed XML for http://content.squeezenetwork.com/shoutcast/index.opml for 300 seconds
[08-08-03 18:58:44.1382] Slim::Formats::XML::getFeedAsync (92) Async request: http://content.squeezenetwork.com/shoutcast/Random100.opml
[08-08-03 18:58:44.7051] Slim::Formats::XML::gotViaHTTP (228) Caching parsed XML for http://content.squeezenetwork.com/shoutcast/Random100.opml for 300 seconds
[08-08-03 18:58:54.5742] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 18:58:57.9219] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 18:58:57.9574] Slim::Web::XMLBrowser::handleFeed (350) Playing/adding http://www.shoutcast.com/sbin/tunein-station.pls?id=920299&filename=playlist.pls
[08-08-03 19:01:56.5434] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 19:01:59.2483] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 19:01:59.2611] Slim::Formats::XML::getFeedAsync (92) Async request: http://content.squeezenetwork.com/shoutcast/Top500.opml
[08-08-03 19:02:01.6443] Slim::Formats::XML::gotViaHTTP (228) Caching parsed XML for http://content.squeezenetwork.com/shoutcast/Top500.opml for 300 seconds
[08-08-03 19:02:05.5322] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 19:02:16.8494] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 19:02:23.6879] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 19:02:23.7922] Slim::Web::XMLBrowser::handleFeed (350) Playing/adding http://www.shoutcast.com/sbin/tunein-station.pls?id=1711&filename=playlist.pls
[08-08-03 19:02:39.2725] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-03 19:02:58.5041] Slim::Web::XMLBrowser::handleFeed (350) Playing/adding http://www.di.fm/mp3/chillout.pls
[08-08-03 19:03:11.4717] Slim::Web::XMLBrowser::handleFeed (350) Playing/adding http://www.di.fm/mp3/chillout.pls
[08-08-03 19:03:31.6021] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://www.squeezenetwork.com/api/live365/v1/opml
[08-08-03 19:03:36.3738] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://www.squeezenetwork.com/api/live365/v1/opml
[08-08-03 19:03:36.3963] Slim::Formats::XML::getFeedAsync (92) Async request: http://www.squeezenetwork.com/api/live365/v1/opml/presets
[08-08-03 19:03:36.4033] Slim::Formats::XML::getFeedAsync (112) URL requires SqueezeNetwork session
[08-08-03 19:03:37.4509] Slim::Formats::XML::gotViaHTTP (228) Caching parsed XML for http://www.squeezenetwork.com/api/live365/v1/opml/presets for 0 seconds
[08-08-03 19:03:40.4550] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://www.squeezenetwork.com/api/live365/v1/opml
[08-08-03 19:03:40.4772] Slim::Formats::XML::getFeedAsync (92) Async request: http://www.squeezenetwork.com/api/live365/v1/opml/presets
[08-08-03 19:03:40.4843] Slim::Formats::XML::getFeedAsync (112) URL requires SqueezeNetwork session
[08-08-03 19:03:41.4735] Slim::Formats::XML::gotViaHTTP (228) Caching parsed XML for http://www.squeezenetwork.com/api/live365/v1/opml/presets for 0 seconds
[08-08-03 19:03:44.5327] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://www.squeezenetwork.com/api/live365/v1/opml
[08-08-03 19:03:44.5550] Slim::Formats::XML::getFeedAsync (92) Async request: http://www.squeezenetwork.com/api/live365/v1/opml/presets
[08-08-03 19:03:44.5621] Slim::Formats::XML::getFeedAsync (112) URL requires SqueezeNetwork session
[08-08-03 19:03:45.5587] Slim::Formats::XML::gotViaHTTP (228) Caching parsed XML for http://www.squeezenetwork.com/api/live365/v1/opml/presets for 0 seconds
[08-08-03 19:03:45.5815] Slim::Web::XMLBrowser::handleFeed (350) Playing/adding live365://www.live365.com/play/jimiking

bpa
2008-08-03, 12:36
Please be more explicit and provide more detail. Also only do one test at a time as it hard to separate the log entries.

What do you mean "no success" - more info such as
- SB does nothing
- SB displays a message such as "Didn't find items at playlist".
- SB displays list of stations but none are playable ?

If you did not get a playlist of stations - increase the Radio Station timeout ( Settings/Advanced/Network ) to 30 and try just Shoutcast Top500 again.

Jannock
2008-08-03, 13:18
Please be more explicit and provide more detail. Also only do one test at a time as it hard to separate the log entries.

What do you mean "no success" - more info such as
- SB does nothing
- SB displays a message such as "Didn't find items at playlist".
- SB displays list of stations but none are playable ?

If you did not get a playlist of stations - increase the Radio Station timeout ( Settings/Advanced/Network ) to 30 and try just Shoutcast Top500 again.

Sorry, to be more specific:

SB display's message after pushing "play" button: :"Error, didn't find items at playlist"

As you say: I can see everything such as station, artist and song, but for example when I try to start a song in squeezecenter and push the "play" button, immediately the play button change to the stop button.

As I mentioned: Live365 is OK

bpa
2008-08-03, 15:26
It sounds like your problem has nothing to do with the network as you have managed to bring down playlist of various stations and you have been able to browser down to a specific station.

I cannot find the error message "Error, didn't find items at playlist"

Could the message be "Error: No items found in playlist" (or if you are using NL translation "Fout: Geen items in playlist gevonden" )

If it is then SC cannot interpret the message from Shoutcast so the error may be in either Shoutcast or SC.

Jannock
2008-08-04, 00:53
Thanks for your advice.
I think it's SC, because it's also impossible to select one of the "manual input" radiostations.
What should I do, downgrade or try 7.2 beta?

bpa
2008-08-04, 01:22
Shoutcast works for me on 7.2 and 7.1 so I don't think it is a general SC error perhaps something specific to your installation.

To be sure we have common understanding of the problem perform the following steps. If you have a difference at any point please give exact details - no translations.

Can you do this test using WebUI and default skin and an SB3 online.
1. Select Shoutcast under Internet Radio
you should get a display Search, by Genre, Top 500, Random 100

2. Select "Top 500" - it should now display a list of stations, 9 pages and 437 items (shown at bottom). The first Item is "977 The Hitz Channel"

3. Highlight "977 The Hitz Channel" - click play. Display should show "Connecting..." and then possibly "Buffering xx%" and then starts playing on SB3

Jannock
2008-08-04, 01:52
I will try it tonight and report the details.

SilverRS8
2008-08-04, 04:53
Shoutcast works for me on 7.2 and 7.1 so I don't think it is a general SC error perhaps something specific to your installation.

To be sure we have common understanding of the problem perform the following steps. If you have a difference at any point please give exact details - no translations.

Can you do this test using WebUI and default skin and an SB3 online.
1. Select Shoutcast under Internet Radio
you should get a display Search, by Genre, Top 500, Random 100

2. Select "Top 500" - it should now display a list of stations, 9 pages and 437 items (shown at bottom). The first Item is "977 The Hitz Channel"

3. Highlight "977 The Hitz Channel" - click play. Display should show "Connecting..." and then possibly "Buffering xx%" and then starts playing on SB3

I did this test and no error message is given in the WebGui. On the SB3 no buffering is displayed.

Also when I paste the shoutcast URL given in the controller error message in firefox I can see that the correct playlist information is returned. SC just not processes it correctly i guess giving the error message No items in playlist.

Michael; do you maybe have any FreeNAS/SlimNAS idea's on this one?

Frank

bpa
2008-08-04, 05:09
I presume you got as far as step 3 and then nothing played.

When you click on the "Hitz" name in the list - do you get an info page and the URL to be played is



http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls


If that is the case - the problem is trying to play the stations.

Set logging player.source to INFO and formats.xml to DEBUG and post a debug log of trying to play the Hitz station. I can then compare logs.

SilverRS8
2008-08-04, 05:17
I presume you got as far as step 3 and then nothing played.

When you click on the "Hitz" name in the list - do you get an info page and the URL to be played is



http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls


If that is the case - the problem is trying to play the stations.

Set logging player.source to INFO and formats.xml to DEBUG and post a debug log of trying to play the Hitz station. I can then compare logs.

I performed the actions you asked. The log is below. I don't see any lead to the issue myself.

[08-08-04 14:14:12.0415] Slim::Player::Squeezebox::reconnect (116) 00:04:20:12:21:ef forcing stop on pseudo-reconnect
[08-08-04 14:14:12.1281] Plugins::LazySearch2::Plugin::scanDoneCallback (1966) Lazifying database items not already done
[08-08-04 14:14:12.5904] Plugins::LazySearch2::Plugin::lazifyDatabase (2003) No database items require lazification
[08-08-04 14:14:12.6042] Slim::Utils::Cache::cleanup (271) Cache purge: FileCache - skipping, purged recently
[08-08-04 14:14:12.7054] Slim::Utils::Cache::cleanup (271) Cache purge: FileCache/CustomBrowse/2.2/Templates - skipping, purged recently
[08-08-04 14:14:12.8064] Slim::Utils::Cache::cleanup (271) Cache purge: FileCache/CustomBrowse/2.2/Menus - skipping, purged recently
[08-08-04 14:14:12.9827] Slim::Utils::Cache::cleanup (271) Cache purge: FileCache/CustomBrowse/2.2/Mixes - skipping, purged recently
[08-08-04 14:14:13.0844] Slim::Utils::Cache::cleanup (271) Cache purge: FileCache/CustomBrowse/2.2/Files - skipping, purged recently
[08-08-04 14:14:13.1867] Slim::Utils::Cache::cleanup (271) Cache purge: FileCache/CustomBrowse/2.2/ContextTemplates - skipping, purged recently
[08-08-04 14:14:13.2876] Slim::Utils::Cache::cleanup (271) Cache purge: FileCache/CustomBrowse/2.2/ContextMenus - skipping, purged recently
[08-08-04 14:14:35.0199] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-04 14:14:36.8147] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-04 14:14:36.8301] Slim::Web::XMLBrowser::handleFeed (273) Using previously cached subfeed data for http://content.squeezenetwork.com/shoutcast/Top500.opml
[08-08-04 14:14:40.3422] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-04 14:14:40.3572] Slim::Web::XMLBrowser::handleFeed (273) Using previously cached subfeed data for http://content.squeezenetwork.com/shoutcast/Top500.opml
[08-08-04 14:14:40.3655] Slim::Web::XMLBrowser::handleFeed (350) Playing/adding http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls
[08-08-04 14:14:40.5091] Slim::Player::Source::playmode (309) 00:04:20:12:21:ef: Switching to mode stop from stop
[08-08-04 14:14:40.5101] Slim::Player::Source::playmode (316) Already in playmode stop : ignoring mode change
[08-08-04 14:14:40.5117] Slim::Player::Source::streamingSongIndex (1494) Adding song index 0 to song queue
[08-08-04 14:14:40.5126] Slim::Player::Source::streamingSongIndex (1498) Clearing out song queue first
[08-08-04 14:14:40.5135] Slim::Player::Source::streamingSongIndex (1515) Song queue is now 0

bpa
2008-08-04, 05:27
The lead is how your log differs from mine - by checking the code where your log stops - gives a hint to the problem.


[08-08-04 13:03:32.7529] Slim::Formats::XML::getFeedAsync (55) Got cached XML data for http://content.squeezenetwork.com/shoutcast/index.opml
[08-08-04 13:03:32.7623] Slim::Web::XMLBrowser::handleFeed (273) Using previously cached subfeed data for http://content.squeezenetwork.com/shoutcast/Top500.opml
[08-08-04 13:03:32.7649] Slim::Web::XMLBrowser::handleFeed (350) Playing/adding http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls
[08-08-04 13:03:32.7815] Slim::Player::Source::playmode (309) 00:04:20:06:4a:9a: Switching to mode stop from stop
[08-08-04 13:03:32.7822] Slim::Player::Source::playmode (316) Already in playmode stop : ignoring mode change
[08-08-04 13:03:32.7831] Slim::Player::Source::streamingSongIndex (1494) Adding song index 0 to song queue
[08-08-04 13:03:32.7837] Slim::Player::Source::streamingSongIndex (1498) Clearing out song queue first
[08-08-04 13:03:32.7844] Slim::Player::Source::streamingSongIndex (1515) Song queue is now 0
[08-08-04 13:03:35.5376] Slim::Player::Source::playmode (309) 00:04:20:06:4a:9a: Switching to mode stop from stop
[08-08-04 13:03:35.5383] Slim::Player::Source::playmode (316) Already in playmode stop : ignoring mode change
[08-08-04 13:03:35.5390] Slim::Player::Source::streamingSongIndex (1494) Adding song index 0 to song queue
[08-08-04 13:03:35.5397] Slim::Player::Source::streamingSongIndex (1498) Clearing out song queue first
[08-08-04 13:03:35.5404] Slim::Player::Source::streamingSongIndex (1515) Song queue is now 0
[08-08-04 13:03:35.5413] Slim::Player::Source::playmode (309) 00:04:20:06:4a:9a: Switching to mode play from stop
[08-08-04 13:03:35.5423] Slim::Player::Source::resetSong (1739) Resetting song buffer.
[08-08-04 13:03:35.5470] Slim::Player::Source::openSong (1840) Trying to open: http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls
[08-08-04 13:03:35.5639] Slim::Player::Source::openSong (1885) URL is remote (no direct streaming) [http://scfire-chi-aa03.stream.aol.com/stream/1074]
[08-08-04 13:03:35.5648] Slim::Player::ProtocolHandlers::openRemoteStream (75) Trying to open protocol stream for http://scfire-chi-aa03.stream.aol.com/stream/1074
[08-08-04 13:03:35.5655] Slim::Player::ProtocolHandlers::openRemoteStream (79) Found handler for http://scfire-chi-aa03.stream.aol.com/stream/1074 - using Slim::Player::Protoc

bpa
2008-08-04, 05:34
Can you play the following Hitz URL (it is inside the shoutcast pls) using Tune-in

http://scfire-chi-aa03.stream.aol.com/stream/1074

SilverRS8
2008-08-04, 05:41
Can you play the following Hitz URL (it is inside the shoutcast pls) using Tune-in

http://scfire-chi-aa03.stream.aol.com/stream/1074

Tried it and it works fine.

mherger
2008-08-04, 06:00
> Michael; do you maybe have any FreeNAS/SlimNAS idea's on this one?

I'm sorry, no.

--

Michael

bpa
2008-08-04, 06:47
Sine the real URL plays OK - the problem is either retrieving the playlist or parsing the playlist.


The following will generate a lot of message if SC can retrive the playlist from shoutcast.

Set logging network.asynchttp to DEBUG
Paste the following URL into Tune-in and try to play.


http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls

The log will show the progress of SC reading the playlist froms shoutcastswith a log of HTTP requests.

SilverRS8
2008-08-04, 06:56
Sine the real URL plays OK - the problem is either retrieving the playlist or parsing the playlist.


The following will generate a lot of message if SC can retrive the playlist from shoutcast.

Set logging network.asynchttp to DEBUG
Paste the following URL into Tune-in and try to play.


http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls

The log will show the progress of SC reading the playlist froms shoutcastswith a log of HTTP requests.

I think we're on to something. See log below (again thx for the effort to try to solve the problem.

[08-08-04 15:53:58.2086] Slim::Networking::Async::connect (117) Connecting to www.shoutcast.com:80
[08-08-04 15:53:58.3277] Slim::Networking::Async::_async_connect (189) connected, ready to write request
[08-08-04 15:53:58.3302] Slim::Networking::Async::write_async (219) Sending: [GET /sbin/tunein-station.pls?id=1025&filename=playlist.pls HTTP/1.1
Connection: close
Cache-Control: no-cache
Accept: */*
Host: www.shoutcast.com
User-Agent: iTunes/4.7.1 (Unix; N; freebsd; i386-freebsd; EN; utf8) SqueezeCenter/7.1/22170
Icy-Metadata: 1

]
[08-08-04 15:53:58.4485] Slim::Networking::Async::HTTP::_http_read (319) Headers read. code: 200 status: OK
[08-08-04 15:53:58.4500] Slim::Networking::IO::Select::select (250) Error: Select task failed: Undefined subroutine &Scalar::Util::blessed called at /usr/local/lib/perl5/5.8.8/overload.pm line 89.
[08-08-04 15:54:09.0037] Slim::Networking::SimpleAsyncHTTP::_createHTTPRequ est (111) GETing http://www.squeezenetwork.com/api/v1/players
[08-08-04 15:54:09.0075] Slim::Networking::Async::connect (117) Connecting to www.squeezenetwork.com:80
[08-08-04 15:54:09.0317] Slim::Networking::Async::_async_connect (189) connected, ready to write request
[08-08-04 15:54:09.0340] Slim::Networking::Async::write_async (219) Sending: [GET /api/v1/players HTTP/1.1
Connection: close
Cache-Control: no-cache
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en
Host: www.squeezenetwork.com
User-Agent: iTunes/4.7.1 (Unix; N; freebsd; i386-freebsd; EN; utf8) SqueezeCenter/7.1/22170
Cookie: sdi_squeezenetwork_session=82685%3ALdah9IjbQVlzXev zw1OKfwXJkPM
Cookie2: $Version="1"
Icy-Metadata: 1

]
[08-08-04 15:54:09.0753] Slim::Networking::Async::HTTP::_http_read (319) Headers read. code: 200 status: OK
[08-08-04 15:54:09.0766] Slim::Networking::IO::Select::select (250) Error: Select task failed: Undefined subroutine &Scalar::Util::blessed called at /usr/local/lib/perl5/5.8.8/overload.pm line 89.

bpa
2008-08-04, 07:02
Your version of Perl is missing a library routine Scalar::Util::blessed

SilverRS8
2008-08-04, 07:07
Your version of Perl is missing a library routine Scalar::Util::blessed

Uhm ok. If I'm correct then this should be part of SlimNAS because FreeBSD comes without Perl. I've installed SC 7.1.1 from scratch and downgraded it because it did not solve the issue. This sound like it is SC independable hence probably SlimNAS?

Any idea how I can add it?

BTW complements for the troubleshooting

mherger
2008-08-04, 07:12
> Your version of Perl is missing a library routine Scalar::Util::blessed

Ouch. This means some more homework to do for me. Thanks a lot for helping with this issue!

--

Michael

SilverRS8
2008-08-04, 07:19
> Your version of Perl is missing a library routine Scalar::Util::blessed

Ouch. This means some more homework to do for me. Thanks a lot for helping with this issue!

--

Michael

Thx BPA !!! I'm just happy the problem has been tracked. Thx Michael for picking it up to fix it ! Would be great to listen to Shoutcast internet radio again (since Pandora doesn't work anymore since last mondays squeezenetwork change *snif*).

Frank

bpa
2008-08-04, 07:28
I'm annoyed - I tell people to search and I failed to do a search myself - would have saved some time.

See post 5 in this thread
http://forums.slimdevices.com/showthread.php?p=310828

A case of "Those who cannot remember the past are condemned to repeat it"

SilverRS8
2008-08-04, 07:33
I'm annoyed - I tell people to search and I failed to do a search myself - would have saved some time.

See post 5 in this thread
http://forums.slimdevices.com/showthread.php?p=310828

A case of "Those who cannot remember the past are condemned to repeat it"

<ATTEMPT LESSEN ANNOY MODE>
Uhm True but the difference here is that SlimNAS has its own Perl distribution so its kind of a new bug?
</ATTEMPT LESSEN ANNOY MODE>

mherger
2008-08-04, 07:51
> Uhm True but the difference here is that SlimNAS has its own Perl
> distribution so its kind of a new bug?

All those of us who try to pimp some stripped down system are in the same boat: we have to keep track of whatever new requirements there are. The thread cited is about the Synology.

--

Michael

bpa
2008-08-04, 08:12
The significant part of the other thread is that during development of 7.1 between 19758 and 20582 - some code started using the "blessed" routine which presumably was not a requirement before 20582. So "blessed " has become a requirement for 7.1.

While the effect is a bug - it would be better described that 7.1 required more standard libraries compared to 7.0 to be installed and the Synology and SlimNAS didn't have the required rouines.

Jannock
2008-08-04, 10:27
Can you play the following Hitz URL (it is inside the shoutcast pls) using Tune-in

http://scfire-chi-aa03.stream.aol.com/stream/1074

I'll tried this link and this is working fine, like with SilverRS8. Should I downgrade to squeezecenter-7.1-19758.tgz? I can't find this version at the download directory, maybe I should try 7.0.1 (-nocpan.tgz or .tgz?)

Thanks

bpa
2008-08-04, 10:55
The proper solution would be to report the error to flipflip (author of SSODS/SSOTS) and get the "Scalar::Utils::blessed" added to the SSODS/SSOTS build. Going back to 7.0.1 would be the next best "proper" solution.

I see from other post that other users are having the same problem and I expect flipflip to become aware of the issue soon.

Jannock
2008-08-04, 11:23
You are right about the fact that's the second best solution. I'll wait to a proper solution from flipflip.

Thanks very much for the research.

Jannock
2008-08-07, 13:27
Can you play the following Hitz URL (it is inside the shoutcast pls) using Tune-in

http://scfire-chi-aa03.stream.aol.com/stream/1074

bpa,

Just for my information: how do you get a detail of the playlist?

bpa
2008-08-07, 13:48
There are lots of ways since the URL just points to a file.

On a Linux box I use curl or wget - use quotes arounf the URL>
example:
curl "http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls"

Jannock
2008-08-08, 01:03
Thanks bpa!

Toonie
2008-08-13, 23:54
Hello, I just thought I'd share my experiences. I have just recently bought a Duet, and like Jannock I have set-up Squeezecenter onto my QNAP NAS (TS-109II). However, I set-up my controller and receiver *before* I installed SC. What I found was that it seemed to work fine with all radio stations, including shoutcast. When I set-up SC I got my music library working just fine, but now most of my internet radio stations don't work, including all shoutcast ones.

It seems that the controller has enough functionality without SC to handle radio. Is there any way to tell the controller NOT to use SC when dealing with radio? Otherwise, I'm in the same boat as Jannock.

Regards,
Toonie.

bpa
2008-08-14, 00:30
Jannock's problem has been fixed - it was an issue with SlimNAS. SlimNAS is not applicable to QNAP so you have a different problem.

If you are using SSODS on QNAP - there is an SSODS bug fix for shoutcast - however I think your problem is QNAP configuration.

If you canot get a a list of stations from Internet Radio /Staff Picks - then your QNAP is not configured to use the Internet.

Toonie
2008-08-14, 01:18
Jannock's problem has been fixed - it was an issue with SlimNAS. SlimNAS is not applicable to QNAP so you have a different problem.

If you are using SSODS on QNAP - there is an SSODS bug fix for shoutcast - however I think your problem is QNAP configuration.

If you canot get a a list of stations from Internet Radio /Staff Picks - then your QNAP is not configured to use the Internet.

Firstly, many thanks for such a speedy response!

I believe I have exactly the same set-up as Jannock's, as quoted here:

http://forums.slimdevices.com/showpost.php?p=325535&postcount=25

I can view lists of radio stations correctly, just that when I go to play any shoutcast, or indeed most of the others, I get "No items found in playlist", along with the playlist url. I thought this was the same problem that Jannock was having.

Should I be looking at SSOTS for this problem ? also, is there a way of telling the controller not to use SC for radio playback, as I know it to work well before SC was installed ?

I just found out that I can change Music Source to "SqueezeNetwork", and then I can play shoutcast streams, however it is a pain to have to do this. Plus I do like being able to add a radio station at the end of a playlist.

Many Thanks,
Toonie.

bpa
2008-08-14, 01:40
or indeed most of the others


Be specific - give complete URLs that work and URLs that do not. It is hard to provide solution without details.

Can you play the following URL using "Tune-in"
http://scfire-chi-aa03.stream.aol.com/stream/1074

If you are using SSOTS - then get flipflip's replacement overload.pm file if it is suitable for the version of SC you are running.

When you refer to "not using SC" - your system is connected to Squeezenetwork.

So use your controller to select Squeezenetwork as source and it will not use SC.

Toonie
2008-08-14, 02:15
OK, thanks for being patient with me, this is still kindof new to me.

Firstly, none of the shoutcast streams will start, including:

SHOUTcast->Top 500->977 The Hitz Channel. The URL is:
http://www.shoutcast.com/sbin/tunein-station.pls?id=1025&filename=playlist.pls

However this one works:

RadioTime->Browse by Location->Europe->United Kingdom->London->BBC 7 (Drama)
http://opml.radiotime.com/StationPlaylist.axd?stationId=44491&username=sampletime


Can you play the following URL using "Tune-in"
http://scfire-chi-aa03.stream.aol.com/stream/1074

Yes, this plays when I "Tune-in" using the SqueezeCenter web interface. Which is interesting, because it appears to be the same station which failed when I tried to select from the menu (both from the web interface, and the controller).

I'm still looking for the replacement overload.pm file.

Many Thanks,
Toonie.

bpa
2008-08-14, 02:51
Since your problem is mainly accessing shoutcast and not actually playing stations - sort out the overload.pm file first.

See post 12 onwards in this thread.

http://forums.slimdevices.com/showthread.php?t=48674

Toonie
2008-08-14, 03:11
I had just spotted that thread and have made the patch manually to the overload.pm file. Seems to work perfectly now.

Thank you for your patience with helping me out!

Regards,
Toonie.