profile playlist - how to add music to it

soaringeagle
@soaringeagle
10 years ago
3,304 posts
i want to add a profile playlist, give it anautoplay option (i wish there was an autoshuffle option too)
but once i add it to the template, how are the members suposed to add music to it
is there away to give it a name like profile_plasylist-{$username}
or something so they can specify they want the songs to play on the autoplay playlist on thier profiles


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 02/21/15 03:03:22PM
michael
@michael
10 years ago
7,805 posts
Playlists are something the user creates that ends up on their profile. So if they would browse around your site and if they like a song, they would add it to one of their playlists. That would make your song appear in their playlist.

There is no functionality to allow them to add to your playlist.

They can make several different playlists:
* reggae
* punk
* psytrance

Then browse around your site. You might have a song they like and have tagged it 'trance' but they can put that into the playlist they have named psytrance anyhow. Its just lists users create for themselves.

If you want a list of stuff from your profile on the front page of your profile, playlist might not be quite the right thing.
soaringeagle
@soaringeagle
10 years ago
3,304 posts
wellthats kind of what we want is a playlist thatauto plays when you visit the profile
so if a playlist_name=$profile_name
type thing could be added to the playlist smarty call that would solve it

i remember we (was it you/ ) discussed using the smarty code to include a playlist in the profile instead of using the playlist [embed playlist] in the text editor area
but then the thought came to mind how would that playlist get a name that they can add it to..and be specific to that user/profile

if it cant be done now file it as a future request



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
Setting it to the profile name might be a bit too restricted in the long term, just to weigh in here a better option might be what I have done with musician profiles, I allow them to feature an album on their profile.

I achieved this by adding a checkbox to the form designer and then checking to see if they have checked this. The only potential problem with this approach is ensuring they don't add multiple playlists otherwise profiles will look weird.
soaringeagle
@soaringeagle
10 years ago
3,304 posts
ahh that sounds great and can it autoplay

what was the exact way you accomplished this and if it canautoplay is there any way at all to auto shuffle too


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
I never looked into auto play as I hate that on websites, nothing worse than listening to something on one tab, visiting a page on another and then having two things playing.

I added a checkbox to the Album create and Edit forms. audio_featured, then in profiles check for this, I still have some tidying up to do but you should get the general idea.

              {if $media.audio_featured = "on"}
				{jrCore_media_player module="jrAudio" field="audio_file" search1="_profile_id = `$_profile_id`" search2="audio_featured = on" limit="21" type="jrAudio_blue_monday"}
                {else}
                    {*Show something else*}
                {/if}

Since this is an Album and not a playlist I'd guess it can be autoplayed by using a smarty tag, and auto shuffle I am not sure about but a random ordering might achieve that.

But what is supported with playlists I am not sure.
updated by @garymoncrieff: 01/20/15 10:24:49PM
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
Just a note autoplay works by adding this autoplay="true" but auto shuffle is not supported by the player, the developer has never implemented that functionality, according to a quick search on the Google Group support page.
soaringeagle
@soaringeagle
10 years ago
3,304 posts
im going to keep this in mind but hoping for a playlist solution
And people(but limited to 100 songs) ideally id want an unlimited autoplay (optional) playlist
1 they can add to from other ppls music so they dont have to upload the same songs to thier albums


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
But you have misunderstood you can edit the playlist forms using the form designer and then do a similar call for the playlist in the template I'd imagine. You don't have to feature an album, it's just what I am doing.

You'll need to investigate what is possible when calling a playlist in code.
soaringeagle
@soaringeagle
10 years ago
3,304 posts
im going to think on this its an option tho having a way to parse in a playlist name
even if it was in the profile mod form
include playlist checkbox
autoplay playylist checkbox
profile playlist name
text feild
that then auto creates the playlist somehow and u just select it to add music to it..
thats sort of the functionality im after


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
Instead of JrAudio you can try JrPlaylist, see the mediaplayer docs for more information
soaringeagle
@soaringeagle
10 years ago
3,304 posts
that makes sense im going to look into that when i get the other far more urgent issues straightened out
thnx
sure is easier to feature it then to tryto parse in a name haha

2 heads are better then 1


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
10 years ago
7,805 posts
The playlist module stores lists of things. You can store a list of things from other peoples profiles. The limitation of it is that only you can add to your playlist.

Other people can't add to your playlist.
soaringeagle
@soaringeagle
10 years ago
3,304 posts
right thats exactly what i want i just got to mark 1 as "shown on profile" and autoplay enabled
and think ill stick it in the sidebar


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags