FAQ  •  Register  •  Login

Category Playlist Url?

<<

bhoffmann

Posts: 5

Joined: Sun Jul 20, 2008 1:34 pm

Post Sun Jul 20, 2008 1:39 pm

Category Playlist Url?

I am attempting to create my own flashplayer that uses boriel's wordpress cms to generate the playlist's. I want to make the player in as3 with the ability to flip between the different categories in the flash. The one thing that I am having trouble figuring out is how to access the playlist of a specific category so I can get the generated xml just for that category. I can see the full playlist if I just go to playlist.php but can't figure out how to pass the variable to just view a playlist called "Radio" that I have defined in the categories section of wordpress.

I was reading through the php and think I have to pass a "cat" variable, but if I do /playlist.php?cat="Radio" nothing happens.

Does anyone know how to pass the variable to view a specific category's playlist?
<<

bhoffmann

Posts: 5

Joined: Sun Jul 20, 2008 1:34 pm

Post Sun Jul 20, 2008 8:25 pm

Re: Category Playlist Url?

Figured it out. Its just playlist.url?cat=1 (replace the category with 1, 2, 3, etc depending on how many playlists you have)

I kept trying the playlist name.
<<

boriel

Site Admin

Posts: 1147

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Fri Jul 25, 2008 9:46 am

Re: Category Playlist Url?

Nice to hear you finally got it working. Do you have a web page where we can see the player in action? :roll:
<<

bhoffmann

Posts: 5

Joined: Sun Jul 20, 2008 1:34 pm

Post Fri Aug 08, 2008 2:32 am

Re: Category Playlist Url?

the player is on the sidebar at http://www.quarterlifeparty.com

However, its not compeltely working. I am having some weird issues with finding the category. if I do /xspf player url/playlist.php?cat=1 it shows a playlist.... however if I do /playlist.php=2 or 3 then it shows nothing. I can't figure that out. Any info on why this might be happening?

I also think I might try to make some php that attached the xspf player manage area to the media gallery so that when you place songs in a post you can just automatically add them to the xspf player too (selecting a category & information at that moment instead of having to make it two steps)
<<

bhoffmann

Posts: 5

Joined: Sun Jul 20, 2008 1:34 pm

Post Fri Aug 08, 2008 2:38 am

Re: Category Playlist Url?

Nevermind, I looked in the database and it was placing the categories at different numbers. so Im ust have added some categories and then deleted them, so new categories were up some numbers at like 5 & 6 which i wasn't trying. Works great now
<<

jimthedj65

Posts: 9

Joined: Mon Jan 21, 2008 11:11 pm

Post Sun Aug 17, 2008 10:39 am

Re: Category Playlist Url?

thats a very nice way to show a series of categories... do you have any plans to release for the WP community ?
<<

bhoffmann

Posts: 5

Joined: Sun Jul 20, 2008 1:34 pm

Post Thu Aug 28, 2008 12:38 am

Re: Category Playlist Url?

i will once I familiarize myself with how to make aplugin.

Return to XSPF Player Plugin (English)

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO