Release addon audio Shoutcast2 XBMC4XBOX

Discussion of plugin / script development for XBMC4Xbox
Post Reply
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Release addon audio Shoutcast2 XBMC4XBOX

Post by skatulskijean »

Ok here the next release :
Shoutcast 2 XBMC4XBOX

i have downstripped the main xbmc shoutcast 2 Addon from sphere so that we the scriptmodule.xbmcswift2 module not want for it.


Changelog Version 0.0.1:
-first version for xbmc4xbox

Top 500 Station
Genre
Search Station Name
Search current Track Playing

Todo:
-code cleanup
-add Language Support for all the others Languages

On the stable Build (Python 2.4) this addon have the dependencies from scriptmodule.simplejson
On the xbmc4xbox 3.5 BetaBuilds we want not a extern scriptmodule then json is on python 2.7 integrated.

Please install it over the addon4xbox Installer.

Download Version 0.0.1:

https://db.tt/gZDbuVnS
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by skatulskijean »

It is working on 64 MB RAM xbox's to?
I can only test on 128MB XBOX.
User avatar
hal9000
Posts: 47
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 19 times
Been thanked: 6 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by hal9000 »

Hi, i was tested in 64 mB xbox (3.5b2) and not work, no error, no message, does nothing
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by skatulskijean »

please give a debug log.
i think it's run out of memory

On a 128mb xbox its works without problems by me.
i clean the code up with the next version and hope when i make the addon more differend to mainxbmc and download the pls first to play it i can delet the module random from the addon and i think this can help.

But please post a debug Log

Regards Jan
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by skatulskijean »

hal9000 wrote:Hi, i was tested in 64 mB xbox (3.5b2) and not work, no error, no message, does nothing
Oh i think you have it not installed over the addon4xboxInstaller self.
then it can not doing anything then xbmc4xbox understand not a addon.py it can only understand default.py.
When you it install over the addon4xboxInstaller the Installer change the addon.py to default.py and the icon.png when not a default.tbn
is located on the addon folder to default.tbn.
So change the addon.py to default.py and test it again.

Regards Jan
User avatar
hal9000
Posts: 47
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 19 times
Been thanked: 6 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by hal9000 »

Yes, work fine :D , thanks a lot.
User avatar
hal9000
Posts: 47
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 19 times
Been thanked: 6 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by hal9000 »

Hi, Little bugs, Stations added to favourites don't play, some stations genre and name display """
Regard
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by skatulskijean »

hal9000 wrote:Hi, Little bugs, Stations added to favourites don't play, some stations genre and name display """
Regard
thanks for the reply .
The Main xbmc can not adding station to the favorites , so its no bug.
the only Solution for this is i integrate Addon favorites for the addon.
I do that with the next Version but not on the next Days.

Regards Jan
User avatar
hal9000
Posts: 47
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 19 times
Been thanked: 6 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by hal9000 »

skatulskijean wrote: I do that with the next Version but not on the next Days.
I am patient, very patient ;)
Thanks again for this great job
Regard
ouguy314
Posts: 10
Joined: Fri Feb 21, 2014 8:44 pm

Shoutcast 2.0 plugin error

Post by ouguy314 »

Today, skatulskijean's Shoutcast 2.0 plugin (http://www.xbmc4xbox.org.uk/forum/viewt ... =17&t=2390) stopped working. It was working fine a few days ago on XBMC 3.5

Pastebin log attached

http://pastebin.com/yeTVyLjk

==QUICK UPDATE==
This error only occurs when attempting to browse the "search by genre" option. Selecting a genre to browse triggers the error. Browsing using "Search by Station Name" works normally.
User avatar
hal9000
Posts: 47
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 19 times
Been thanked: 6 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by hal9000 »

Hi, i am testing this plugin at this moment (official xbmc4xbox 3.5.1) and it works well, everything worked well last year and half
xbmcstedt
Posts: 28
Joined: Tue Jan 15, 2013 8:15 pm
Location: ON, Canada
Has thanked: 10 times
Been thanked: 1 time

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by xbmcstedt »

Thanks for the update!
User avatar
hal9000
Posts: 47
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 19 times
Been thanked: 6 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by hal9000 »

skatulskijean wrote:
hal9000 wrote:Hi, Little bugs, Stations added to favourites don't play, some stations genre and name display """
Regard
thanks for the reply .
The Main xbmc can not adding station to the favorites , so its no bug.
the only Solution for this is i integrate Addon favorites for the addon.
I do that with the next Version but not on the next Days.

Regards Jan
Hello, so far I've been using a solution, something sloppy but currently operates.
To look, listen and store radio, I'm using the plugin shoutcast2.
It is presetting where shoutcast2 plugin fails.
To fix what I do is to memorize stations with the plugin shoutcast2 and use the old plugin Shoutcast, to hear these preset stations. But you can not do directly, the file must be edited favourites.xml

Make the following changes. without the quotes

Code: Select all

Replace "SHOUTcast2/?url" for "SHOUTcast/?play"
Replace "&mode=play")" for "&tunein=/sbin/tunein-station.pls")"
I apologize for the horrible translation.

Example:

<favourite name="181.FM - PARTY 181 -=- Your Official Party Station!" thumb="Q:\plugins\music\SHOUTcast2\icon.png">RunPlugin("plugin://music/SHOUTcast2/?url=508962&mode=play")</favourite>

After:

<favourite name="181.FM - PARTY 181 -=- Your Official Party Station!" thumb="Q:\plugins\music\SHOUTcast2\icon.png">RunPlugin("plugin://music/SHOUTcast/?play=508962&tunein=/sbin/tunein-station.pls")</favourite>

EDIT

Added a simply script for linux

Code: Select all

#!/bin/bash

sed -i 's+music\\SHOUTcast2\\icon.png">RunPlugin+music\\SHOUTcast\\icon.png">RunPlugin+' favourites.xml
sed -i 's+url=http+tmp=http+' favourites.xml
sed -i 's+SHOUTcast2/?url+SHOUTcast/?play+' favourites.xml
sed -i 's+mode=play+tunein=/sbin/tunein-station.pls+' favourites.xml
sed -i 's+tmp=http+url=http+' favourites.xml

exit
Hola, hasta la fecha vengo usando una solución, algo chapucera pero que de momento funciona.
Para buscar, escuchar y memorizar emisoras, estoy usando el plugin shoutcast2.
Es en la memorización de emisoras donde el plugin shoutcast2 falla.
Para solucionarlo lo que hago es memorizar las emisoras con el plugin shoutcast2 y usar el antiguo plugin shoutcast, para escuchar estas emisoras memorizadas. Pero no se puede hacer directamente, hay que editar el fichero favourites.xml

Hacer los siguientes cambios. sin las comillas

Remplazar "SHOUTcast2/?url" por "SHOUTcast/?play"
Remplazar "&mode=play")" por "&tunein=/sbin/tunein-station.pls")"

Pido disculpas por la horrorosa traducción.
User avatar
hal9000
Posts: 47
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 19 times
Been thanked: 6 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by hal9000 »

Option Browse by genre don't work or it just for my?
EDIT
Don't panic, all OK ;)
User avatar
hal9000
Posts: 47
Joined: Sun Nov 04, 2012 9:31 pm
Location: BCN. Spain
Has thanked: 19 times
Been thanked: 6 times

Re: Release addon audio Shoutcast2 XBMC4XBOX

Post by hal9000 »

wow 5 years a go...

New version of favourites.xml patcher https://bit.ly/3rX0CuR work under win/linux , includes shoutcast and shoutcast2 plugins
Post Reply