solved Community Radio-jrPlaylist

johnchansa
@johnchansa
10 years ago
195 posts
I asked this question before but I can't seem to figure it out.How do I create a playlist to play all audio and soundcloud on my site.It can be done manually by adding 300 songs to a playlist but I feel there is a simpler way of achieving this.

Paul gave me some code for a radio on his motagator website.It plays audio files only.
{jrCore_media_player type="jrAudio_player_dark" module="jrAudio" field="audio_file" order_by="audio_title random" limit=100 autoplay=true}

The sage skin has this code for a radio player but I need help on how I can modify to capture all audio and soundcloud tracks.

radio_player
{jrCore_include template="meta.tpl"}
           {jrPlaylist_util mode="embed_playlist" playlist_id=$_post.playlist_id template="radio_playlist.tpl"}  

Radio playlist
{jrCore_media_player type="jrPlaylist_blue_monday" module="jrPlaylist" item=$item}

updated by @johnchansa: 06/25/14 05:13:34PM
brian
@brian
10 years ago
10,148 posts
None of the core listing is going to pull from BOTH audio and soundcloud, as it's not setup to do that. I think you could use the Seemless module however - just copy the radio_playlist.tpl and update the jrCore_list inside to use a seemless call instead.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
johnchansa
@johnchansa
10 years ago
195 posts
Thanks....I'll give that a try.
Maybe a new feature that allows a user to add multiple selections to a playlist can be included to the JrPlaylist module.Something like "check all and update"
If you have 1000 audios and 1000 soundcloud tracks,it could take you a long time to manually add each media to a playlist.
brian
@brian
10 years ago
10,148 posts
johnchansa:
Thanks....I'll give that a try.
Maybe a new feature that allows a user to add multiple selections to a playlist can be included to the JrPlaylist module.Something like "check all and update"
If you have 1000 audios and 1000 soundcloud tracks,it could take you a long time to manually add each media to a playlist.

You don't want to create a playlist out of that many entries - the module is not designed to be a "site wide include all entries" playlist- it's designed for hand picked entries into a personal playlist.

You can simply use the jrMediaPlayer call to get all audio entries on your site into a large playlist if you want - the problem you are running into is because you want to combine modules (audio and soundcloud) - that's what Seemless does.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 05/21/14 01:39:51PM
johnchansa
@johnchansa
10 years ago
195 posts
I just ended up using the original code.It will do for now.
Thanks

Tags