How to create categories? Default skin from Xlobby.

Help each other out

How to create categories? Default skin from Xlobby.

Postby Jay on Fri Nov 11, 2005 2:42 pm

I have 2 paths in >F2>Basic.
One goes to my albums in /music. These are MP3s. The albums show up fine and I can sort and play them.
The other path is to my shoutcast folder which has a bunch of Jazz .pls'.
I can see them in >F2>Databases and I can >edit>sort them fine. But how do I access them?
I GUESS I want them to appear in my Music screen along with my MP3s?
Can someone step me through this please? I'm told I need to add a category and select the database 'shoutcast' within it. Where do I start? F2 Event manager...? I have not played with categories at all.
TIA
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Postby rembetis on Fri Nov 11, 2005 3:15 pm

It would probably be easiest to keep your archived music and shoutcast databases separate, as they are really different kinds of media and tailoring a database/import for both might be difficult (i.e. remove your shoutcast path from F2>Basic). For illustrative purposes, download a skin that has a net radio/shoutcast page and database already built into it, assuming you haven't already (Baddabing's Redeux II, for example, which can be found here. Be sure to read the .pdf linked in his first post on how to set up the skin properly).

Once you have all the Redeux files in their proper place, hit F2, go into Skins, select Redeux from the drop down list and then hit restart. Once Redeux is loaded, hit F2 again and go to Databases > Shoutcast-Radio>Edit and see how the database is organized (in this case, by genre, and then each entry has a title, URL, etc.).

From here, you can either continue using this skin and edit the database with your new entries, delete the included entries and replace yours, or use Redeux as a template for creating your own shoutcast database. To do that, you will need to go under the import tab, type a name into the "New DB" field, and hit add. Once created, you can edit the database to your liking (either by filling in the fields by hand, or your could try a custom import, using the music template perhaps and .pls as your lone extension).

To create a screen for your shoutcasts from scratch, hit Pause/Break from within a skin to bring up the Skin Editor. Hit the "Screen" tab and then create a new screen or clone another (it will clone whatever screen you are viewing, with the new name you enter into that field). Use the "Goto" tab to go to that screen (it may go there by default), back to Screen tab, choose "Add" and fill the Category field with the name of your choice (radio stations or some such). That will create a highlighted box. To fill the box with your database, go to Item > Category, make sure the Display field has "%display%" in it and under the Database tab below, choose your database. From there you can tailor how it looks with the Layout tab.

That should get your started. I'm a complete moron compared to most of the folks around here, but even I got the hang of customizing Xlobby after not too long...

[If I made any mistakes or gave bad advice, please feel free to correct me].
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Postby Jay on Fri Nov 11, 2005 5:00 pm

Thanks! Since I already have my pls' in a database which I can edit and sort, I'll try your 'screen from scratch' instructions first.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Postby Jay on Fri Nov 11, 2005 10:56 pm

Your instructions were great. Froze the app a couple of times but deleted the XML refs and came back. Working on understanding the Layout function. After I have it nailed, will be asking how to add the screen to the menu. I'm pretty sure I can figure it out in xml. I tend to do that 1st, then ask for app level help :D
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US