completed Playlist to play all audio and soundcloud

johnchansa
@johnchansa
9 years ago
195 posts
Is there a quick way of creating a playlist to play all audio and soundcloud?Currently,I select each playlist track manually.Can the seamless function work?
updated by @johnchansa: 04/12/15 12:13:30PM
michael
@michael
9 years ago
7,746 posts
You can use search functions in the {jrCore_media_player.... function. Its talked about a bit in this forum thread:

"Create Radio Station"
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/25233/create-radio-station

Quote: If you want to pick the songs, use a playlist. If you don't care, use this:
{jrCore_media_player type="jrAudio_player_dark" module="jrAudio" field="audio_file" order_by="_created random" limit="50"}

That will search for any random 50 audio files and put them in the player. It will change each time the cache has expired. Its not continuous because it stops at 50, you could have more. You could order differently, perhaps newest.

The search system is the same as jrCore_list
johnchansa
@johnchansa
9 years ago
195 posts
Hey,
Thanks for the info.It appears I have to create separate players for audio and soundcloud. Anyways I'll start from there.
Cheers!
johnchansa
@johnchansa
9 years ago
195 posts
I remember in JR4,a dialog box listing all audio tracks for radio would come up.All you had to do was put a check against the desired track,check random and away you go.Such a feature would be great for playlists with the option to select all.....just a thought......
michael
@michael
9 years ago
7,746 posts
Yeah, soundcloud have their own player. I've yet to see a player that can play both. If you do see one, let us know.
johnchansa
@johnchansa
9 years ago
195 posts
The jamroom playlist player does play both.My playlists currently have both soundcloud and audio tracks. It's just that you have to select the tracks one by one.I wish you could have a select all button somewhere.....
updated by @johnchansa: 02/28/15 03:17:46PM
michael
@michael
9 years ago
7,746 posts
One way to do it could be to add another form field to the audio files via the Form Designer that only the admin can see, make it a text field and the admin enters something there.>>

then use the Batch Edit module to go through and update all the audio files with which radio station they are at.

If you called the field audio_station and set them as numbers 1, 2, 3 etc, then use that in player search



{jrCore_media_player type="jrAudio_player_dark" module="jrAudio" field="audio_file" order_by="_created random" limit="50" search1="audio_station = 1"}

That would play all the songs in station 1, do the same for the others.

"Batch Item Editor"
https://www.jamroom.net/the-jamroom-network/networkmarket/236/batch-item-editor

Tags