Hey everyone,
I'm trying to create a simple xspf playlist via the views "type" option (Audio: XSPF/M3U/PLS Playlist), and it looks like everything is working, except none of the files show up in the xspf player.
I'm using files already uploaded to my website, and my filters are in order to select several files.
Am I right in assuming that the files I have filtered into the view should be showing up on this player? Is this the way to create a playlist of several files on the same player? Because instead of those five files, there are none in the player list.
Furthermore, when I click on the "xspf" link below the player, I get an error that looks like this:
Fatal error: Cannot use object of type stdClass as array in /home/madcasey/public_html/modules/audio/contrib/feeds/audio_feeds_views.inc on line 72
I think I may need to "re-install" the audio module because I may have screwed it up the first time. What's the best way to install the 5.x-2.x-dev audio module and keep my former audio files working (still 5.x, but not dev)?
In any case, I don't know what to do next. The bottom line is that the playlist is not generating properly and I think it has something to do with that Fatal Error. What should I do?
Comments
Comment #1
zirafa commentedDo you have a link to look at? It'll help debug.
Comment #2
madcasey10 commentedYeah, I'm sorry, I meant to do that.
It's here:
http://meltedreelonline.com/playlist2/
It's a views-generated list that should have about 5 songs in it which are already elsewhere on the site. Instead, it has none, and the "m3u, etc" links don't work.
Thanks so much.
Comment #3
hendryman commentedJudging from http://meltedreelonline.com/playlist2/ it looks like you guys fixed the problem... Maybe you can help me with mine? My head is buzzing with confusion about all these bits & pieces about audio playlist creation scattered across drupal.org...
In a nutshell: How and with which modules exactly did you manage to get that mp3 player going? I would -really- appreciate a step-by-step runthrough (and I guess the Drupal community as a whole would, too ... :-) Thanks in advance.
Comment #4
kevinsmith commentedI'll second that. It'd be great to get a quick step-by-step of how you got this to work. This is exactly what I'm looking for, but there doesn't seem to be a clear answer on how to get this anywhere on the drupal site! So frustrating!
Comment #5
anthonym commentedI'm in the same boat. I tried to summarize my progress and questions here (http://drupal.org/node/210772), but haven't received any feedback yet.
Comment #6
zirafa commentedMarking as duplicate. Please use http://drupal.org/node/210772 as the main thread for further issues. Madcasey if you can provide details for what you did to resolve this issue it would be appreciated.
Comment #7
madcasey10 commentedHey,
I've gotten a couple of messages asking how I solved this problem. My answer isn't going to be very satisfactory, but it does end up being the easiest, most reliable way to get a playlist on your site.
Basically, I just downloaded the universal XSPF player (http://musicplayer.sourceforge.net/), configured it, and embedded the code in my site (can be done as a page block, a blog post, or even straight up in the html). As long as you upload your personal playlist (and, obviously, all of your preferred mp3 files) to the same directory as the XSPF player, it will work.
Of course, you have to update/change the songs by hand, which isn't nearly as neat as doing it dynamically from your Drupal admin tools, but if you're just looking to host the same songs for quite a while (like if you're a band) this method works like a charm. Details instructions for configuring and embedding the XSPF on your site (Drupal or otherwise) are here, or just search Google:
http://musicplayer.sourceforge.net/