PDA

View Full Version : Is it possible to play Shoutcast/Internet Radio on SB1?



CrzyMikeB
2006-01-19, 22:05
I have been toying around with internet radio, specifically on my SB1.
Slimserver tells me it can't parse and to reduce my streams. Can anyone
give me any guidance on playing streams on SB1 and SlimServer 6.1.1?

Thanks,
CMB

mherger
2006-01-19, 22:30
> I have been toying around with internet radio, specifically on my SB1.
> Slimserver tells me it can't parse and to reduce my streams. Can anyone
> give me any guidance on playing streams on SB1 and SlimServer 6.1.1?

Just do what the server tells you: reduce the number of streams (Server
Settings/Internet Radio/Shoutcast). Sometimes there are stream names which
break the parsing of the data. Reducing the number of streams often gets
rid of them.

This has nothing to do with your player. It would happen even if you
didn't have a player at all :-)

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

dougwise
2006-01-20, 22:24
I am also getting the "Error Parsing Streams" error when trying to access Shoutcast. I have reduced the number of streams from 300 down to 2 with the same result.

mherger
2006-01-21, 00:43
> I am also getting the "Error Parsing Streams" error when trying to
> access Shoutcast. I have reduced the number of streams from 300 down
> to 2 with the same result.

Now this would be really bad luck... did you change any other setting in
Shoutcast?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

dougwise
2006-01-21, 06:27
Here is how my Shoutcast settings are currently set which is giving me the error:

Number of Streams: 2
Sort Criterion for Genres: Alphabetical (Default)
Sort Criterion for Streams: Alphabetical (Default)
Minimum Bitrate: 0
Maximum Bitrate: 0
Recent Streams: 10
Most Popular: 10
Normalise genres: On

mherger
2006-01-21, 08:44
> Number of Streams: 2
> Sort Criterion for Genres: Alphabetical (Default)
> Sort Criterion for Streams: Alphabetical (Default)
> Minimum Bitrate: 0
> Maximum Bitrate: 0
> Recent Streams: 10
> Most Popular: 10
> Normalise genres: On

Looking good to me. Did you recently try again (with a reasonable number
of streams)? The problems that usually create this error often only is
temporary. It might work again.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

kerry_nyc
2006-02-19, 15:05
I'm experiencing the same problem. I recently upgraded to 6.5 so that Lazy Search would work, so going back to 6.2 would be undesireable.

I had no problems on 6.2 getting access to internet radio stations but now I get the error:
"There was an error parsing the stream information. Try reducing the number of streams if you've set a great number. (2)"

Any ideas on how to fix without going back a version?

Kerry

mherger
2006-02-19, 22:11
Kerry

> I had no problems on 6.2 getting access to internet radio stations but
> now I get the error:
> "There was an error parsing the stream information. Try reducing the
> number of streams if you've set a great number. (2)"

Did you follow that advice? Do you still encounter that problem?

It's been a month since dougwise's last post - I assume his problem was
temporary.

> Any ideas on how to fix without going back a version?

6.5 is still considered experimental. Don't use it if you don't want to
bother about bugs. AFAIK the latest lazy search plugin is 6.5 only because
it mainly contains changes needed by or optimized for 6.5 the november
release should work with 6.2.x

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

kerry_nyc
2006-02-27, 16:31
[QUOTE=mherger]Kerry

> I had no problems on 6.2 getting access to internet radio stations but
> now I get the error:
> "There was an error parsing the stream information. Try reducing the
> number of streams if you've set a great number. (2)"

Did you follow that advice? Do you still encounter that problem?

It's been a month since dougwise's last post - I assume his problem was
temporary.

Did you follow that advice? Do you still encounter that problem?

It's been a month since dougwise's last post - I assume his problem was
temporary.


Yes, I've reduced the connections and tried several other things. I can tune in stations manually but not through shoutcast. On slimserver I get the above error saying "There was an error parsing the stream information. Try reducing the number of streams if you've set a great number. (2)"

on the Squeezebox I get an error with shoutcast web site unavailable error

On Slim Devices Picks I get "failed to parse" as an error.

mherger
2006-02-28, 01:51
>> Yes, I've reduced the connections and tried several other things. I
>> can tune in stations manually but not through shoutcast. On slimserver
>> I get the above error saying "There was an error parsing the stream
>> information. Try reducing the number of streams if you've set a great
>> number. (2)"

One thing we haven't tried: the -d_plugins debug parameter. Could you try
to run "slim.exe -d_plugins" from the command line and report, what it's
saying when you access Shoutcast for the first time?

And did you consider going back to 6.2.x - Lazy search is still available
for this version. And 6.5 is considered experimental (though I haven't
heard of problems specific to shoutcast).

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

kerry_nyc
2006-02-28, 05:38
>> Yes, I've reduced the connections and tried several other things. I
>> can tune in stations manually but not through shoutcast. On slimserver
>> I get the above error saying "There was an error parsing the stream
>> information. Try reducing the number of streams if you've set a great
>> number. (2)"

One thing we haven't tried: the -d_plugins debug parameter. Could you try
to run "slim.exe -d_plugins" from the command line and report, what it's
saying when you access Shoutcast for the first time?

And did you consider going back to 6.2.x - Lazy search is still available
for this version. And 6.5 is considered experimental (though I haven't
heard of problems specific to shoutcast).


Here is what it kicked back:
2006-02-28 07:34:55.1312 Shoutcast: next update Wed Mar 1 07:34:55 2006
2006-02-28 07:34:55.1317 Shoutcast: async request
2006-02-28 07:34:56.8065 Shoutcast: get XML content
2006-02-28 07:34:56.8068 Shoutcast: parse XML
2006-02-28 07:34:56.8189 Shoutcast: problem reading XML:
not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Pars
er.pm line 187

2006-02-28 07:34:56.8193 Shoutcast: create page
2006-02-28 07:34:57.1250 Shoutcast: that's it

I moved to 6.5 because Lazy causes duplication when used in combo with itunes; 6.5 added some functionality that removed that bug.

mherger
2006-02-28, 07:47
> Here is what it kicked back:
> 2006-02-28 07:34:55.1312 Shoutcast: next update Wed Mar 1 07:34:55
> 2006
> 2006-02-28 07:34:55.1317 Shoutcast: async request
> 2006-02-28 07:34:56.8065 Shoutcast: get XML content
> 2006-02-28 07:34:56.8068 Shoutcast: parse XML
> 2006-02-28 07:34:56.8189 Shoutcast: problem reading XML:
> not well-formed (invalid token) at line 1, column 6, byte 6 at
> /PerlApp/XML/Parser.pm line 187

This is no good. Please backup the existing Shoutcast/Plugin.pm file and
replace it with this copy. Run it again from the command line.

Important: reduce the number of streams to eg. 20. Open the shoutcast page
and watch the server's console output: it should print a dump of the XML
received after the line saying "...parse XML". What does it say?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

kerry_nyc
2006-02-28, 08:11
Michael, can you upload the file again, it didn't come over.

mherger
2006-02-28, 08:39
Michael, can you upload the file again, it didn't come over.

The good, old mailing list vs. forum problem... first try was rejected (too big), second does not appear in the forum (but only the mailing list). Here we go again.

kerry_nyc
2006-02-28, 08:44
Michael, I stopped the slimserver, then exited. Opened via compand line, then tried to open shoutcast from within the browser, here is the output:

$VAR1 = '<?xml version="1.0" encoding=\'UTF-8\' standalone="yes"?>
<WinampXML>
<playlist num_entries="10" label="SHOUTcast top 10">
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=7807&
amp;filename=playlist.pls">
<Name>.977 The 80s Channel (80s Grooves)</Name>
<Genre>80s Pop Rock</Genre>
<Nowplaying>Madonna - Into the Groove</Nowplaying>
<Listeners>9836</Listeners>
<Bitrate>128</Bitrate>
</entry>
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=4698&
amp;filename=playlist.pls">
<Name>.977 The Hitz Channel</Name>
<Genre>Pop Rock Top 40</Genre>
<Nowplaying>Fall Out Boy - Dance, Dance</Nowplaying>
<Listeners>5689</Listeners>
<Bitrate>128</Bitrate>
</entry>
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=6390&
amp;filename=playlist.pls">
<Name>S K Y . F M - Absolutely Smooth Jazz - the world\'s smoothest jazz 24
hours a day</Name>
<Genre>Soft Smooth Jazz</Genre>
<Nowplaying>Bob Baldwin - People Make the World Go Round</Nowplaying>
<Listeners>4947</Listeners>
<Bitrate>128</Bitrate>
</entry>
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=1942&
amp;filename=playlist.pls">
<Name>Radio Paradise - DJ-mixed modern &amp; classic rock, world, electroni
ca &amp; more - info: radioparadise.com</Name>
<Genre>eclectic rock</Genre>
<Nowplaying>Stray Cats - Rock This Town</Nowplaying>
<Listeners>4721</Listeners>
<Bitrate>128</Bitrate>
</entry>
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=5522&
amp;filename=playlist.pls">
<Name>Groove Salad: a nicely chilled plate of ambient beats and grooves. [S
omaFM]</Name>
<Genre>Ambient Chill</Genre>
<Nowplaying>Supperclub 2 - Beautiful Strange (Original Mi</Nowplaying>
<Listeners>4150</Listeners>
<Bitrate>128</Bitrate>
</entry>
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=3923&
amp;filename=playlist.pls">
<Name>SMOOTHJAZZ.COM - The Global Home for the Smoothest Jazz 24/7 - Live f
rom Monterey Bay</Name>
<Genre>SMOOTH JAZZ</Genre>
<Nowplaying></Nowplaying>
<Listeners>3862</Listeners>
<Bitrate>128</Bitrate>
</entry>
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=6544&
amp;filename=playlist.pls">
<Name>S K Y . F M - Top Hits Music - who cares about the chart order, less
rap &amp; more hits!</Name>
<Genre>Pop Top 40 Dance Rock</Genre>
<Nowplaying>Armin van Buuren - Shivers (rising star mix)</Nowplaying>
<Listeners>3312</Listeners>
<Bitrate>128</Bitrate>
</entry>
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=2470&
amp;filename=playlist.pls">
<Name>.977 The Kickin\' Country Channel</Name>
<Genre>Country</Genre>
<Nowplaying>Craig Morgan - Redneck Yacht Club</Nowplaying>
<Listeners>2966</Listeners>
<Bitrate>128</Bitrate>
</entry>
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=1962&
amp;filename=playlist.pls">
<Name>S K Y . F M - Best of the 80s - hear your classic favorites and reliv
e those retro 80s!</Name>
<Genre>80s Pop Rock Oldies</Genre>
<Nowplaying>Golden Earring - Twilight Zone [1982]</Nowplaying>
<Listeners>2838</Listeners>
<Bitrate>128</Bitrate>
</entry>
<entry Playstring="http://www.shoutcast.com/sbin/tunein-station.pls?id=5735&
amp;filename=playlist.pls">
<Name>FREQUENCE3 - www.frequence3.fr - No ads ! It\'s only HITS live from P
aris France ! - French Webradio</Name>
<Genre>Top 40 Dance Pop Rock</Genre>
<Nowplaying>Rihanna - Sos</Nowplaying>
<Listeners>2652</Listeners>
<Bitrate>192</Bitrate>
</entry>
</playlist>
</WinampXML>

';
2006-02-28 10:42:17.9244 Shoutcast: problem reading XML:
not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Pars
er.pm line 187

2006-02-28 10:42:17.9249 Shoutcast: create page
2006-02-28 10:42:18.0152 Shoutcast: that's it

mherger
2006-02-28, 09:02
> $VAR1 = '<?xml version="1.0" encoding=\'UTF-8\' standalone="yes"?>
[..]
> ';
> 2006-02-28 10:42:17.9244 Shoutcast: problem reading XML:
> not well-formed (invalid token) at line 1, column 6, byte 6 at
> /PerlApp/XML/Parser.pm line 187

Hm... this looks perfectly fine to me (I get the same output) :-/.

Let's check some basics: which OS are you using? What perl version?

I guess it's Windows (what version?) and you're using the compiled binary.
Do you have perl installed on your system? If you do, could you try to run
the perl version?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

kerry_nyc
2006-02-28, 10:33
> $VAR1 = '<?xml version="1.0" encoding=\'UTF-8\' standalone="yes"?>
[..][color=blue]

Hm... this looks perfectly fine to me (I get the same output) :-/.

Let's check some basics: which OS are you using? What perl version?

I guess it's Windows (what version?) and you're using the compiled binary.
Do you have perl installed on your system? If you do, could you try to run
the perl version?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

I'm running Windows XP, using firefox, but also tried in IE with same result. I don't have PERL installed that I know of. SlimServer Version: 6.5b1 - 6309 - Windows XP - EN - cp1252

mherger
2006-03-01, 10:07
> I'm running Windows XP, using firefox, but also tried in IE with same
> result. I don't have PERL installed that I know of. SlimServer
> Version: 6.5b1 - 6309 - Windows XP - EN - cp1252

I can't understand this. I tested this today with the latest nightly and
cound not reproduce. Did you update slimserver since you encountered that
problem? If not, could you please do so?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

kerry_nyc
2006-03-04, 06:34
> I'm running Windows XP, using firefox, but also tried in IE with same
> result. I don't have PERL installed that I know of. SlimServer
> Version: 6.5b1 - 6309 - Windows XP - EN - cp1252

I can't understand this. I tested this today with the latest nightly and
cound not reproduce. Did you update slimserver since you encountered that
problem? If not, could you please do so?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

I have reinstalled with the latest nightly build and it still produces the same error. For me Shoutcast would be a nice to have, but not a necessity so I'll just disable it.

Kerry

mherger
2006-03-04, 08:18
> I have reinstalled with the latest nightly build and it still produces
> the same error. For me Shoutcast would be a nice to have, but not a
> necessity so I'll just disable it.

This is a pitty (I'm using shoutcast a lot myself). But I'm pretty sure
there's a networking issue. If only I knew what it was...

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

tim
2006-03-12, 19:30
I'm having the same problem tonight. I can get to the shoutcast station list using WinAmp, but not my SB2's. Can you help?

I'm running SlimServer Version: 6.5b1 - 6535 - Windows XP - EN - cp1252.

Here is the relevant entries from the log.txt file after I enabled the plugins debug flag and attempeted to load the list of shoutcast stations:

--Begin
Shoutcast: next update Mon Mar 13 18:21:57 2006
Shoutcast: async request
Shoutcast: get XML content
Shoutcast: parse XML
Shoutcast: problem reading XML:
not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Parser.pm line 187

Shoutcast: create page
Shoutcast: that's it
Shoutcast: next update Mon Mar 13 18:22:01 2006
Shoutcast: async request
Shoutcast: get XML content
Shoutcast: parse XML
Shoutcast: problem reading XML:
not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Parser.pm line 187

Shoutcast: create page
Shoutcast: that's it
Shoutcast: next update Mon Mar 13 18:22:04 2006
Shoutcast: async request
Shoutcast: get XML content
Shoutcast: parse XML
Shoutcast: problem reading XML:
not well-formed (invalid token) at line 1, column 6, byte 6 at /PerlApp/XML/Parser.pm line 187

Shoutcast: create page
Shoutcast: that's it
--EOF

mherger
2006-03-13, 00:59
> I'm having the same problem tonight. I can get to the shoutcast station

I'm glad it's only "tonight": it's a temporary issue, then?

> list using WinAmp, but not my SB2's. Can you help?

Did you follow the plugin's advice? How many stations are you downloading?
(see server settings/internet radio)

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

tim
2006-03-14, 21:58
"Did you follow the plugin's advice? How many stations are you downloading?"

Yes, I've used the default value of 300, then only 50. In both cases, I get the same error. It seems to be occurring for the last 3 days.

mherger
2006-03-15, 09:49
> Yes, I've used the default value of 300, then only 50. In both cases,
> I get the same error. It seems to be occurring for the last 3 days.

This is odd, as most of us did not have any problem :-/.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)