Kodi Community Forum
[RELEASE] SHOUTcast 2 (Music Plugin) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: [RELEASE] SHOUTcast 2 (Music Plugin) (/showthread.php?tid=143678)

Pages: 1 2 3 4 5 6 7 8 9


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - Ricecooker - 2013-02-08

That's odd.

Isn't the contents of
http://jungletrain.net/128kbps.m3u

The following:
http://stream4.jungletrain.net:8000/
http://stream2.jungletrain.net:8000/
http://stream6.jungletrain.net:8000/
http://stream3.jungletrain.net:8000/
http://stream1.jungletrain.net:8000/
http://stream5.jungletrain.net:8000/

Sorry if I'm looking over something obvious.


******
Oh I re-read your post. I didn't look on shoutcast's site.

Perhaps there's an issue on the way it is listed there.

I'll check when I get home as I can't get there from home.

Thanks!


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - joetorttu - 2013-02-09

How can i add radio stations to shoutcast? I've tried the search part but it doesnt find anything for me.

1) http://www.basso.fi/bassostreami.m3u
2) http://www.radiorock.fi/external/player / http://stream.radiorock.fi:8000
3) http://www.radiocity.fi/nettiradio/

Those 3 would be nice add to my list. All are finnish radio stations.

appletv2/frodo/shoutcast


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - sphere - 2013-02-09

(2013-02-08, 21:02)Ricecooker Wrote: That's odd.

Isn't the contents of
http://jungletrain.net/128kbps.m3u

The following:
http://stream4.jungletrain.net:8000/
http://stream2.jungletrain.net:8000/
http://stream6.jungletrain.net:8000/
http://stream3.jungletrain.net:8000/
http://stream1.jungletrain.net:8000/
http://stream5.jungletrain.net:8000/

Sorry if I'm looking over something obvious.


******
Oh I re-read your post. I didn't look on shoutcast's site.

Perhaps there's an issue on the way it is listed there.

I'll check when I get home as I can't get there from home.

Thanks!

It is still broken in the shoutcast database - I can't fix their database Wink
But you can use my Radio Add-on (It's also in the official Add-on Repository), Jungletrain works there.

regards,
sphere
(2013-02-09, 11:46)joetorttu Wrote: How can i add radio stations to shoutcast? I've tried the search part but it doesnt find anything for me.

1) http://www.basso.fi/bassostreami.m3u
2) http://www.radiorock.fi/external/player / http://stream.radiorock.fi:8000
3) http://www.radiocity.fi/nettiradio/

Those 3 would be nice add to my list. All are finnish radio stations.

appletv2/frodo/shoutcast

You can't add custom stations with this Add-on.
But you can simply create a STRM or M3U file yourself (just search the xbmc wiki) and place it in any of your audio sources. Then you can play them with xbmc.

regards,
sphere


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - joetorttu - 2013-02-11

Allrighty then, thnx. I'll try..


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - kricker - 2013-02-16

I have a strange issue with this add-on and radio add-on. Both of them take up to 5 minutes to start playing an audio stream. This happens on all 3 of my Windows XBMC installs. Any idea what could cause this?

Code:
12:41:28 T:5476   DEBUG: CFileCache::Open - opening <service> using cache
12:41:28 T:5476   DEBUG: CurlFile::Open(0C9E9F10) http://192.168.0.4:8866/service?method=recording.list&filter=pending&sid=b5adc62014cc4c20bedcf41e6c672419
12:41:29 T:4332  NOTICE: Thread CFileCache start, auto delete: false
12:41:29 T:4332    INFO: CFileCache::Process - Hit eof.
12:41:29 T:4332   DEBUG: Thread CFileCache 4332 terminating
....
12:43:38 T:6056   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/libmad.dll)
12:43:38 T:6056   DEBUG: CFileCache::Open - opening <> using cache
12:43:38 T:6056   DEBUG: CurlFile::Open(0CD98548) http://94.23.56.161:80/
12:43:39 T:6056   DEBUG: CurlFile - file <http://94.23.56.161:80/> is a shoutcast stream. re-opening
12:43:39 T:6056   DEBUG: File::Open - redirecting implementation for http://94.23.56.161:80/
12:43:39 T:6056   DEBUG: CurlFile::Open(0CB03B68) http://94.23.56.161:80/
12:43:39 T:6324  NOTICE: Thread Shoutcast file start, auto delete: false
12:43:39 T:3772  NOTICE: Thread CFileCache start, auto delete: false
12:43:40 T:6056    INFO: AudioDecoder: File is queued
12:43:40 T:6056    INFO: CSoftAE::MakeStream - AE_FMT_S32NE, 44100, FL,FR
12:43:40 T:7052   DEBUG: CSoftAE::Run - Sink restart flagged
12:43:40 T:7052    INFO: CSoftAE::LoadSettings - Stereo upmix is enabled
12:43:40 T:7052   DEBUG: CAESinkDirectSound::IsCompatible: Formats compatible - reusing existing sink
12:43:40 T:7052    INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 44100hz
12:43:40 T:7052   DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
12:43:40 T:7052   DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 3528
12:43:40 T:7052   DEBUG: AERemap: Downmix normalization is disabled
12:43:40 T:7052   DEBUG: CSoftAEStream::CSoftAEStream - Converting from AE_FMT_S32NE to AE_FMT_FLOAT
12:43:40 T:6056   DEBUG: AudioDecoder::GetReplayGain - Final Replaygain applied: 1.000000, Track/Album Gain 89.000000, Peak 0.000000
12:43:40 T:6056    INFO: PAPlayer::PrepareStream - Ready
12:43:40 T:6688  NOTICE: Thread PAPlayer start, auto delete: false
12:43:40 T:6688   DEBUG: PAPlayer::Process - Playback started
12:43:40 T:7052   DEBUG: CSoftAE::Run - Sink restart flagged
12:43:40 T:7052    INFO: CSoftAE::LoadSettings - Stereo upmix is enabled
12:43:40 T:7052   DEBUG: CAESinkDirectSound::IsCompatible: Formats compatible - reusing existing sink
12:43:40 T:7052    INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 44100hz
12:43:40 T:7052   DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
12:43:40 T:7052   DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 3528
12:43:40 T:6056   DEBUG: CGUIInfoManager::SetCurrentSong(http://94.23.56.161:80)
12:43:40 T:6056    INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://94.23.56.161
12:43:40 T:6056   DEBUG: CCurlFile::GetMimeType - http://94.23.56.161:80/ -> audio/mpeg
12:43:40 T:6056   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
12:43:40 T:6056   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
12:43:40 T:6056   DEBUG: CGUIInfoManager::SetCurrentSong(http://94.23.56.161:80)
12:43:41 T:6056   DEBUG: CCurlFile::GetMimeType - http://94.23.56.161:80/ -> audio/mpeg
12:43:41 T:6056   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
12:43:41 T:6056   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
12:43:41 T:6056   DEBUG: waiting for python thread 6 (D:\HTPC\Xbmc\portable_data\addons\plugin.audio.shoutcast\addon.py) to stop
12:43:41 T:6056   DEBUG: python thread 6 (D:\HTPC\Xbmc\portable_data\addons\plugin.audio.shoutcast\addon.py) destructed
12:43:41 T:6056   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avutil-51.dll)
12:43:41 T:6056   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avcodec-53.dll)
12:43:42 T:6056   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avformat-53.dll)
12:43:42 T:6056   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/swscale-2.dll)
12:43:43 T:6056   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/swresample-0.dll)
12:43:43 T:6056   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avfilter-2.dll)
In the above log snippet you can see where it took ~2 minutes to start playing the stream.


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - kricker - 2013-02-16

After some testing it appears that my using a MySQL music database causes my issue. When I remove that from my advancedsettings.xml file the streams playback within seconds. The question now would be, why does this happen?


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - jnecr - 2013-02-16

(2013-02-16, 19:47)kricker Wrote: After some testing it appears that my using a MySQL music database causes my issue. When I remove that from my advancedsettings.xml file the streams playback within seconds. The question now would be, why does this happen?

I'm suffering the same issue but have used a MySQL music database for quite sometime. The problem with the delay in opening a radio stream began 1 - 2 weeks ago. I mostly listen to shoutcast nowadays so maybe I'll discontinue use of the MySQL database for music.

I would say that the delay started occurring around the same time as when I updated to the latest XBMC (Frodo), but couldn't say for certain...


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - kricker - 2013-02-17

I can't say either. I'll need to install an old build and see how it behaves.


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - sphere - 2013-02-17

I don't think that the issue you describe is really add-on related. I know that XBMC saves some data in the database when you start playback.


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - kricker - 2013-02-17

After figuring out what the issue is I agree. I need to investigate elsewhere.


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - jnecr - 2013-02-17

I tried your method of removing the MySQL music database and Shoutcast was a bit quicker but it still took 20-30 seconds to load each step in finding a station (by genre, choose genre, choose station).

I've also tried pinging shoutcast.com from my XBMC computer and another computer (on the same network) and neither of them return a ping in a satisfactory amount of time. I can go to www.shoutcast.com with no delay, but pinging doesn't work. Can a domain disallow pings??


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - sphere - 2013-02-17

Please upload a Debug Log


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - Jules - 2013-02-19

Fantastic Plugin. thank you!!!

Just a side note I noticed while playing stations, I don't know if this is an xbmc thing or not, but if I play a station and click on another station to play, it will not play the station but rather it will add it to the queue. I flipped over to the now playing/queue and the station id number is listed for both stations but I have to click on the second station to play it from there. Is there any way to allow each radio station to play once I click on it and not have it queue the station so I have to perform the aformentioned steps, from within the add-on? This is a minor user interface thing, overall very good design and layout!

Thanks and keep up the solid work sphere, love to see what you can do next!


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - schumi2004 - 2013-02-19

@Jules
Don't you have Queue Songs On Selection enabled under Audio in settings?


RE: [RELEASE] SHOUTcast 2 (Music Plugin) - Jules - 2013-02-19

(2013-02-19, 21:56)schumi2004 Wrote: @Jules
Don't you have Queue Songs On Selection enabled under Audio in settings?

Yes it is checked, would this be why it is doing that? If I am currently listening to a station and I want to listen to another station, when I click on the other station it queues it directly but does not play the new station until I go into the queue and click on it. I do not want to lose the queue functionality elsewhere/.


This forum uses Lukasz Tkacz MyBB addons.