and the whole shootin' match will be parsed as an xml file to be used with any xml player, and, yes, it does show all plays on the charts and ranking subs for jamroom.
Joined: 18 Dec 2003
Posts: 13497
Location: Behind You
Posted: 03/06/06 20:10
The only thing you will want to note, is that I believe this will effectively allow deeplinking...
If an artist finds the XML playlist, they "could" use it to source a flash player located on there own site.
I haven't tried it, but the theory makes sense to me as jamroom won't see it as deeplinking when the stream is launched from a local script even though the player parsing it is on a remote system (the player always is when its flash).
Just a thought. One thing you might be able to do is write the XML as a PHP file and make sure that only local referrers can open it.
Maybe bigguy could comment on that aspect... It would probably be better if there was XSPF variable so that you don't need to create the extra XML in the bands folder. You would just use {XSPF_PLAY} in the src option to give the player what it needs...not sure...
Other then that, thanks for posting this for others!!
I set up some test sites on geocities and angelfire, embedding the Jeroen flashplayer and pointing it to the .xml file on kinglizzard.com .
The players could not load the playlists.
When I directly tried to access the xml file from a browser I got this message:
Code
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
When I link to the xml from my own site it plays fine. I think it might be secure against deep linking.
I downloaded Wimpy and was able to modify the xml code (different from above) which eventually allowed the Jamroom playlist to load.
But there are several issue with Wimpy which, I'm sure given enough time, energy, coffee and cursing I can figure out, prohibit Wimpy from playing Jamroom playlists like the Jeroen player and the xspf player.
Problem one: You have to cirumvent the stream.php file, which probably means that the chart/ranking figures aren't being recorded.
Problem 2: when you click on the song from the list a password popup popsup...it seems like you can only play if you authorized to have access to the site admin.
The skins and functions of Wimpy are everything that I'm looking for, but I'm not having any luck so far. But again, I haven't had enough coffee or cussed enough...
Problem two:
The reason your are getting the password popup is because you have selected "yes" to the protect songs directory option in your JamRoom config. With that selected, JamRoom creates a .htaccess file in your songs directory to prevent people from digging through your songs at will. If you wanted to, you could remove the .htaccess file then you can make a direct call to the song. But I wouldn't suggest doing that.
Once you get problem one licked, you don't have to worry about problem two.
Thanks for the info, rg, I'll play around with it for a bit. You seem to be the resident Wimpy expert, I trust if I have any questions I can discuss them with you.
SunLizzad, have you figured out a way to use Wimpy yet? Did that solution work? I remember trying to figure out how to integrate it much like Soundclick had theirs (wimpy) setup and I never figured it out... It'd be nice to see someone using Jamroom with Wimpy.
I'm still running into the some of same problems that I did before. I got the permissions thing straightened around by changing over the "protect song directory" in the Quota to no (which I'm not comfortable with).
The only problem is that the playlist will only run if the xml file is pointing directly to the .mp3 in the song directory.
<filename>http%3A%2F%2Fwww.yoursite.com%2Fstream.php%3Fmode%3Dsong_hifi%26band_id%3D%7BBAND_ID%7D%26song_id%3D%7BSONG_ID%7D%26ext%3D.mp3%5C%22</filename>
<title>Song name appears normal</title>
Pointing it to "play.php?" or "stream.php?" in the .tpl
<filename>http://www.yoursite.com/jamroom/stream.php?mode=song_hifi&band=1&song_id=1&ext=.mp3</filename>
<title>Correct song names</title>
with titles being loaded but not the songs.
If rgnelson has made Wimpy work and would like to share it with us that would be great. Otherwise, I'm putting this on the wayyy back burner for the time being and using the xspf and Jeroen players.
So, boys and girls we now know how to reskin the XSPF player, how to set up the playlist to work with the Jeroen MP3Player and set up the playlist to work with the Wimpy mp3 player.