Shoutcast Plugin

Xlobby plugin development

Postby Marbles_00 on Fri Jun 30, 2006 5:15 pm

I see what you mean Sharp. I've just been playing around with the Heavy Metal skin and noticed that. At first I thought it may have something to do with accessing a database withing the skin database directory, but it didn't seem to make any difference. I would say that is unique to the skin, as if I try my own skin, it updates immediately. I'm looking through the Heavy Metal skin to see what is so different about it, but nothing so far has jumped out at me.

It could be something in the way the Heavy Metal skin's category is setup. Have to look further into it.

Hope this was helpful.
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Postby sagitaz on Fri Jun 30, 2006 8:36 pm

another link for download this plugin :wink:

http://www.france.xlobby.com/plugins/XShoutcast.zip
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby Heiko on Sun Jul 02, 2006 7:39 pm

Great Plugin, Thanks!
Heiko
 
Posts: 50
Joined: Thu Oct 28, 2004 10:39 am
Location: Germany

Postby PerfectHtpc on Thu Jul 06, 2006 9:46 pm

Hi,
here is version 0.2:

- increased number of max. Stations
- selectable database format Genres or Stations
- enhanced refresh status informations
- added sample database shoutcast.xml to archive

dont know how stable it is, but never had crashes.

peter

XShoutcast 0.2

p.s. anybody knows whats up with xoapweather ? Cant get data the last days.
PerfectHtpc
 
Posts: 5
Joined: Wed Jun 28, 2006 8:29 pm

Postby P3rv3rt B3ar on Thu Jul 06, 2006 10:02 pm

PerfectHtpc wrote:p.s. anybody knows whats up with xoapweather ? Cant get data the last days.


hmm? working fine for me...
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Postby PerfectHtpc on Thu Jul 06, 2006 10:15 pm

i cant get on the website of weather.com, so i thought maybe it is down.
PerfectHtpc
 
Posts: 5
Joined: Wed Jun 28, 2006 8:29 pm

Postby dalanik on Fri Jul 07, 2006 9:53 am

I have problems when I use Genres option ... it creates the database with subitems, but for some reason, when I click (press enter) on genre, it starts playing station instead of opening genre. It's not a category problem, since it works with the old version of shoutcast database (the one with scripts)... I'll examine it some more and see if I can find the difference between the two...

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby dalanik on Fri Jul 07, 2006 11:59 am

I can't figure it... here are both databases so you can compare what is different :

your database:

<item>
<display>TopTen</display>
<subitems>
<item>
<parameter>http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=3137&amp;file=filename.pls</parameter>
<display>.977 The 80s Channel (80s Grooves)</display>
<type>track</type>
<information>
<trackgenre>TopTen</trackgenre>
<trackbitrate>128</trackbitrate>
<trackname>80s Pop Rock</trackname>
<trackposition>1</trackposition>
</information>
</item>


the one that works with folders:

<item>
<parameter>Country</parameter>
<display>Country</display>
<type>folder</type>
<subitems>
<item>
<parameter>Program Files\Xlobby\databases\Shoutcast\Country</parameter>
<display>41 Country (64)</display>
<subitems>
<item>
<type>track</type>
<parameter>http://70.85.186.98:8905</parameter>
<display>41 Country (64)</display>
<information>
<trackfilename>http://70.85.186.98:8905</trackfilename>
<trackgenre>Country</trackgenre>
<trackbirate>64</trackbirate>
<trackname>Country</trackname>
</information>
</item>
</subitems>
<information>
<genre>Country</genre>
<birate>64</birate>
<name>Country</name>
</information>
</item>


D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby sharp_1 on Fri Jul 07, 2006 1:46 pm

Works great for me!! Thanks for the tweak.
sharp_1
 
Posts: 630
Joined: Tue Jan 31, 2006 1:01 am
Location: Wisconsin

Postby dalanik on Fri Jul 07, 2006 2:09 pm

sharp_1 wrote:Works great for me!! Thanks for the tweak.


Hm, can you actually OPEN the sub-genres?
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby sharp_1 on Fri Jul 07, 2006 2:28 pm

dalanik wrote:
sharp_1 wrote:Works great for me!! Thanks for the tweak.


Hm, can you actually OPEN the sub-genres?

Genres:
Image
Sub-genres:
Image

Good luck!!!

EDIT: The only issue I continue to have is getting my refreshed shoutcase database to reload without rebooting XL.
sharp_1
 
Posts: 630
Joined: Tue Jan 31, 2006 1:01 am
Location: Wisconsin

Postby Marbles_00 on Fri Jul 07, 2006 6:04 pm

Sharp,

Change the name of the category from radio_stations (I think) or whatever the default name used, to the name of your database. For me I just used shoutcast (shoutcast.xml in the Xlobby database directory), and the list updates immediately without restarting Xlobby. Verified using the Carbon Fiber Heavy Metal skin.

Hope this was helpful.

David
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Postby sagitaz on Fri Jul 07, 2006 11:17 pm

i'm testing with this config :

- All genre ar checked
- minbitrate = all
- MaxStationsPerGenre = 300
- DatabaseFormat = TwoLevels

i start the refresh event and when is finished on my southcast database i don't have radio for this genre :

-70
-80
-pop
-RnB
-Talking


Thanks a lot
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby sharp_1 on Sat Jul 08, 2006 1:10 am

Marbles_00 wrote:Sharp,

Change the name of the category from radio_stations (I think) or whatever the default name used, to the name of your database. For me I just used shoutcast (shoutcast.xml in the Xlobby database directory), and the list updates immediately without restarting Xlobby. Verified using the Carbon Fiber Heavy Metal skin.

Hope this was helpful.

David

I am not sure why this is such a tough thing for me to figure out but it is. I have changed the category name (see below) to "shoutcast-radio" (which is my database name) and everything else that referred to the old category name...I am still not able to get the radio screen to refresh with the updated database unless I reboot. Ugh!!!
Image
sharp_1
 
Posts: 630
Joined: Tue Jan 31, 2006 1:01 am
Location: Wisconsin

Postby PerfectHtpc on Sat Jul 08, 2006 8:36 am

Hi,

- the empty categorys are easily explained, shoutcast has no items in them. You can go to shoutcast an look which genres are empty.

- i have no idea on the problem with the database (opening the categories ). Try to use a new screen with a new category, if it works there it might be a category problem.

- sharp_1:did you also change the parameter of the plugin event ?

peter
PerfectHtpc
 
Posts: 5
Joined: Wed Jun 28, 2006 8:29 pm

PreviousNext