Shoutcast broken in svn?
#1
Hey folks,

just installed SVN r30780. Seems to be working fine, only thing I noticed right away is that I cannot add Shoutcast as an audio source. It seems xbmc has trouble getting the directory content from shoutcast, that's at least what it is telling me when I try to add shoutcast as audio source.

Log says:

16:25:53 T:140115709081360 M:1594032128 ERROR: GetDirectory - Invalid content type application/octet-stream
16:25:53 T:140116078819392 M:1594032128 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:25:53 T:140116078819392 M:1594032128 ERROR: CGUIDialogFileBrowser::GetDirectory(shout://classic.shoutcast.com/sbin/newxml.phtml/) failed
16:26:02 T:140116078819392 M:1594048512 ERROR: GetDirectory - Invalid content type application/octet-stream
16:26:02 T:140116078819392 M:1594048512 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:26:17 T:140115709081360 M:1593958400 ERROR: GetDirectory - Invalid content type application/octet-stream
16:26:17 T:140116078819392 M:1593958400 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:26:17 T:140116078819392 M:1593958400 ERROR: CGUIMediaWindow::GetDirectory(shout://classic.shoutcast.com/sbin/newxml.phtml/) failed
16:26:46 T:140116078819392 M:1594060800 ERROR: Control 18 in window 10129 has been asked to focus, but it can't
16:28:53 T:140115709081360 M:1583104000 ERROR: GetDirectory - Invalid content type application/octet-stream
16:28:53 T:140116078819392 M:1583104000 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:28:53 T:140116078819392 M:1583104000 ERROR: CGUIMediaWindow::GetDirectory(shout://classic.shoutcast.com/sbin/newxml.phtml/) failed
16:30:17 T:140116078819392 M:1580765184 ERROR: Control 18 in window 10129 has been asked to focus, but it can't
16:30:23 T:140115709081360 M:1580519424 ERROR: GetDirectory - Invalid content type application/octet-stream
16:30:23 T:140116078819392 M:1580519424 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:30:23 T:140116078819392 M:1580519424 ERROR: CGUIDialogFileBrowser::GetDirectory(shout://classic.shoutcast.com/sbin/newxml.phtml/) failed
16:30:41 T:140116078819392 M:1579925504 ERROR: GetDirectory - Invalid content type application/octet-stream
16:30:41 T:140116078819392 M:1579925504 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/

Anyone else experiencing this? Any workarounds?

thanks

boba
Reply
#2
Seems like a bug. Can you file a trac ticket so it can be tracked?

I'm guessing something when the change to GetMimeType.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
tslayer Wrote:Seems like a bug. Can you file a trac ticket so it can be tracked?

I'm guessing something when the change to GetMimeType.

Sure man, though never filed one before. Anything special to pay attention to?

Edit: alright, added a ticket ... hope I did it the right way, you can check it out here:

http://trac.xbmc.org/ticket/9332

boba
Reply
#4
Can you change line 194 of ShoutcastDirectory.cpp from:

CStdString content = http.GetContent();

to

CStdString content = http.GetMimeType();

See if that works.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
Oops, that may not work. My bad.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#6
I guess that fix did work. vdrfan did it with r30799.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
Cool, thx man ... will compile a fresh build from svn later and test it :-)

boba
Reply
#8
works. thx Wink
Reply
#9
Where is the ShoutcastDirectory.cpp file located in a Live installation?


boba23 Wrote:Hey folks,

just installed SVN r30780. Seems to be working fine, only thing I noticed right away is that I cannot add Shoutcast as an audio source. It seems xbmc has trouble getting the directory content from shoutcast, that's at least what it is telling me when I try to add shoutcast as audio source.

Log says:

16:25:53 T:140115709081360 M:1594032128 ERROR: GetDirectory - Invalid content type application/octet-stream
16:25:53 T:140116078819392 M:1594032128 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:25:53 T:140116078819392 M:1594032128 ERROR: CGUIDialogFileBrowser::GetDirectory(shout://classic.shoutcast.com/sbin/newxml.phtml/) failed
16:26:02 T:140116078819392 M:1594048512 ERROR: GetDirectory - Invalid content type application/octet-stream
16:26:02 T:140116078819392 M:1594048512 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:26:17 T:140115709081360 M:1593958400 ERROR: GetDirectory - Invalid content type application/octet-stream
16:26:17 T:140116078819392 M:1593958400 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:26:17 T:140116078819392 M:1593958400 ERROR: CGUIMediaWindow::GetDirectory(shout://classic.shoutcast.com/sbin/newxml.phtml/) failed
16:26:46 T:140116078819392 M:1594060800 ERROR: Control 18 in window 10129 has been asked to focus, but it can't
16:28:53 T:140115709081360 M:1583104000 ERROR: GetDirectory - Invalid content type application/octet-stream
16:28:53 T:140116078819392 M:1583104000 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:28:53 T:140116078819392 M:1583104000 ERROR: CGUIMediaWindow::GetDirectory(shout://classic.shoutcast.com/sbin/newxml.phtml/) failed
16:30:17 T:140116078819392 M:1580765184 ERROR: Control 18 in window 10129 has been asked to focus, but it can't
16:30:23 T:140115709081360 M:1580519424 ERROR: GetDirectory - Invalid content type application/octet-stream
16:30:23 T:140116078819392 M:1580519424 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/
16:30:23 T:140116078819392 M:1580519424 ERROR: CGUIDialogFileBrowser::GetDirectory(shout://classic.shoutcast.com/sbin/newxml.phtml/) failed
16:30:41 T:140116078819392 M:1579925504 ERROR: GetDirectory - Invalid content type application/octet-stream
16:30:41 T:140116078819392 M:1579925504 ERROR: GetDirectory - Error getting shout://classic.shoutcast.com/sbin/newxml.phtml/

Anyone else experiencing this? Any workarounds?

thanks

boba
Reply
#10
why on earth would the source be installed on live?
Reply

Logout Mark Read Team Forum Stats Members Help
Shoutcast broken in svn?0