Kodi Community Forum

Full Version: Shoutcast broken in svn?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Seems like a bug. Can you file a trac ticket so it can be tracked?

I'm guessing something when the change to GetMimeType.
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
Can you change line 194 of ShoutcastDirectory.cpp from:

CStdString content = http.GetContent();

to

CStdString content = http.GetMimeType();

See if that works.
Oops, that may not work. My bad.
I guess that fix did work. vdrfan did it with r30799.
Cool, thx man ... will compile a fresh build from svn later and test it :-)

boba
works. thx Wink
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
why on earth would the source be installed on live?