Shoutcast category list empty due to change in Shoutcast directory page HTML

Bug #203136 reported by lachepaslapatate
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
streamtuner (Debian)
Fix Released
Unknown
streamtuner (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Hardy by mikeys

Bug Description

Binary package hint: streamtuner

Release: Ubuntu Gutsy 7.10

The Shoutcast directory page appears to have stopped using tabs to indent the <OPTION> tags that contain the genre/subgenre names. The pattern used to parse the list was thus failing, resulting in no Shoutcast categories being listed. This could just be a temporary problem with Shoutcast, but attached is a suggested patch for the problem which should work even if Shoutcast switches back to tabs for indentation.

Same effect but different cause as:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471132

Someone has has also reported problem to Debian:

https://bugs.launchpad.net/bugs/107311

Revision history for this message
lachepaslapatate (lachepaslapatate) wrote :
Revision history for this message
lachepaslapatate (lachepaslapatate) wrote :

Er, make that:

Same effect but different cause as:

https://bugs.launchpad.net/bugs/107311

Someone has has also reported problem to Debian:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471132

Revision history for this message
lachepaslapatate (lachepaslapatate) wrote :
Revision history for this message
Sztefan (daniel-mucha) wrote :

same here :(
I have removed it with and without --purge option and it didn't helped...
also removed libcurl3 the same way...
--purge didn't removed the "/home/pipboy/.streamtuner" directory

Revision history for this message
lachepaslapatate (lachepaslapatate) wrote :

Fix has gone into Debian streamtuner 0.99.99-12. See linked bug report

Changed in streamtuner:
status: Unknown → Fix Released
Revision history for this message
Albert Damen (albrt) wrote :

This has been fixed in Hardy, which has streamtuner 0.99.99-12ubuntu1.

streamtuner (0.99.99-12) unstable; urgency=low

  * Apply gently modified patch from "lache pas la patate" to fix
    parsing of Shoutcast genres (Closes: #471132)
  * Stop installing static .la and .a files for plugins
  * Pass CFLAGS and LDFLAGS to configure properly

Changed in streamtuner:
status: New → Fix Released
Revision history for this message
mikeys (miketwo) wrote :

Nothing is fixed. Streamtuner suddenly showed empty shoutcast list of stations yesterday and I am unable to fix it. How do I fix this? This is the application which I use most in hardy x64. Please help. THis is urgent.

Revision history for this message
Peter Garrett (peter-garrett) wrote :

The problem is not in streamtuner as such - the issue is that shoutcast.com have changed their site.

The "old" site, which has the original html etc. is now at http://classic.shoutcast.com

The fix would be to substitute the "classic" URL in the streamtuner code, but I don't think this can be done in the interface - it might need a patch along the lines of

sed -i 's_www.shoutcast_classic.shoutcast_g'

I hope the package maintainers are watching this bug :)

Revision history for this message
mikeys (miketwo) wrote :

No patch fix is attached. What are you talking about? Where is this fix and how is it going to be applied??

Revision history for this message
mikeys (miketwo) wrote :

Problem must be in streamtuner as Live365 also DOES NOT work - list of stations is empty just like Shoutcast. This is a deal breaker for me. Obviously, the Canonical guys cannot appreciate that Streamtuner with the original XMMS (not with XMMS2, which does not work with Streamtuner) is one of the killer apps tha tthey should be working on, not ignoring. Same thing with Me-TV - nobody cares. Same thing with the ATI driver for 3-d - nothing works. How many times do we have to go back to Win XP??? What's the point in doing all these 6-month updates if nothing important gets fixed???

Revision history for this message
Peter Garrett (peter-garrett) wrote :

mikeys :

I was just suggesting that it was a question of the developers changing the shoutcast URL. That's what the one-line sed command would do in bash when applied to a file name.

I'm not a Streamtuner dev.

I don't know why you are ranting about Canonical, since Streamtuner is in the universe repo and therefore community supported. Canonical have nothing to do with this - it isn't in "main".

I use "audacious" with Streamtuner, which works fine, by the way. And I don't know about Live365, but I do know that the url for shoutcast needs changing, since I just fixed it in the "Plait" script a day after they altered the original page. Streamtuner's shoutcast entries went blank at exactly that time, so there's a connection :)

Revision history for this message
mikeys (miketwo) wrote :

Hi Peter,

Sorry, the first comment was actually directed not at you, but at the 2007 claim at the top of the thread that this bug was "fixed." Not sure what exactly is going on with these depositories. Bottom line, Canonical could fix this easily and they do not do it because they do not care. After all it is open source, so fix it yourself. I wish I could. The Live365 directory went blank the same time Shoutcast did - there must be a connection. It is still blank as Shoutcast. Thanks for the feedback.

Mike

Revision history for this message
mikeys (miketwo) wrote :

What is a Plait script? Did you fix your streamtuner? Steps?? Audacious does not work with mine in hardy x64. xmms does work perfectly except that Canonical got rid of it and put in the non-workable xmms2 in its place.

Revision history for this message
Peter Garrett (peter-garrett) wrote : Re: [Bug 203136] Re: Shoutcast category list empty due to change in Shoutcast directory page HTML

On Thu, 18 Sep 2008 12:11:59 -0000
mikeys <email address hidden> wrote:

> What is a Plait script? Did you fix your streamtuner? Steps??

http://stephenjungels.com/jungels.net/projects/plait/

And no, I don't know how to fix Streamtuner.

I noticed the URL problem because it broke Plait, which I use in my
"INX Is Not X" live CD project.

http://inx.maincontent.net

I fixed it with the one-liner sed command as above... And an INX team
member sent the fix to upstream (Stephen Jungels , who has now fixed
the script as of version 1.6.2). But this is off-topic for this bug
anyway...

Revision history for this message
Alexander Grundner (agrundner) wrote :

I found a fix via Ubuntu Forums - see http://tennessee.ubuntuforums.com/showthread.php?p=5813187

sudo nano /etc/hosts

Then add...

205.188.234.120 www.shoutcast.com

This points streamtuner and (unfortunately) firefox to http://classic.shoutcast.com which has the old search engine needed for streamtuner to work.

Revision history for this message
mikeys (miketwo) wrote :

Thanks. I will try it. Need same fix for Live365 directory in streamtuner.

Revision history for this message
AbsoluteNewbie (katakrima) wrote :

An alternate fix, which doesn't reroute your browser:

1. As superuser, edit /usr/lib/streamtuner/plugins/shoutcast.so with a binary editor, such as khexedit

2. Replace both occurrences of www.shoutcast.com with 205.188.234.120, padding with spaces as necessary

3. Save, restart streamtuner, select the shoutcast tab, and click on Reload

Revision history for this message
ArbitRabbit (arbitrabbit) wrote :

I am attaching a patched shoutcast.so which seems to work for me.
Just copy it as root (or using sudo) to /usr/lib/streamtuner/plugins/ and restart streamtuner. Make a backup of your original shoutcast.so before you do this.

Revision history for this message
Pavel Mlčoch (pavkamlc) wrote :

Is there some maintainer to create and release this simply dpatch?

Revision history for this message
dino99 (9d9) wrote :

well, Jaunty is coming out and still no shoutcast nor live365
any patch or updates ?

Revision history for this message
Clara (claracagigal) wrote :

The patched shoutcast.so provided by ArbitRabbit works (thank you very much). Now it is possible to see the shoutcast stations in streamtuner. But the problem remains for live365 stations, after looking for them it don't show anything. Is it posible to have a similar patch for live365?.

Revision history for this message
aggravatedGestalt (aggravatedgestalt) wrote :

ArbitRabbit,
Your patch worked perfectly for me. After so many attempts and searches, streamtuner works again! Thanks for your work.

Revision history for this message
aggravatedGestalt (aggravatedgestalt) wrote :

Sorry,
I meant to say that "'Shoutcast' works again", but there are still many bugs in Streamtuner. It crashes often, and of course, Audacious does not work in Karmic koala, and no other media-player seems to work with streamtuner. It rips, but does not stream. Odd

Revision history for this message
DHAUSEN (aleck28) wrote :

Thanks a lot ArbitRabbit,
Work Perfectly.

Gracias ArtbiRabbit,
Funciona Perfectamente.

Revision history for this message
mikeys (miketwo) wrote :

Did not work - See error:

"Plugin /usr/lib/streamtuner/plugins/shoutcast.so could not be loaded: /usr/lib/streamtuner/plugins/shoutcast.so: wrong ELF class: ELFCLASS32.."

What do I do? Now I do not even have Shoutcast as category in streamtuner. Please advise.

Revision history for this message
aggravatedGestalt (aggravatedgestalt) wrote :

Can you explain exactly what you did? This does not makes sense. I know that this patch doesn't work in 64bit Ubuntu. You might try Streamtuner2 in the meantime. It has bugs, but it is actually still being worked on, so may improve. Goodluck.

Revision history for this message
mikeys (miketwo) wrote :

Thanks for telling me about streamtuner2. I just installed it and I am using it with XMMS. When I try to switch stations, there is a pause, the whole screen goes gray, then after a while it does switch to the other station. It also records - so far so good. Thanks so much for letting me know. I had no idea people in Germany were developing ver. 2. That is great. I have been asking for streamtuner progress for several years. I am on lucid x32.

Other problems (big) on lucid x32: Cannot play HULU video as audio is completely out of sync with video. Cannot play Netflix. So, how could anyone on Linux is going to watch any movies online with these severe limitations?? Is Canonical listening at all??? Anybody over there being awake??? You are forcing people to go back to Microsoft. Why???

Revision history for this message
mikeys (miketwo) wrote :

Also, thunderbird is acting really weird on lucid x32. It is like development went backwards not forward. Canonical tried to imitate OSX with thunderbird with ridiculous results. You do not have to imitate, just make it work like Outlook.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.