This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Manage horrible big Playlists with profiles?

Tags: None
(comma "," separated)
stolzi
Registered Member
Posts
44
Karma
0
Hello,

my girlfriend and i listen a lot of music. But we use to listen to very different music.
So we have one problem: If we have the music of both in amarok its hard to find anything, because its really a lot of stuff and sometimes we know no artist and only want to scroll through the lists. This is then impossible. Alway select the import folder is to much work, also because amarok needs some time to read in so much stuff.
A very very cool thing would be if i can make "profiles". Lets say i have following folder structur:
~/musik/me
~/musik/girlfriend
I can tell amarok to put all under ~/musik into the playlist. But then i can make profiles where i say: the profile "me" only shows the files under ~/musik* stolzi in the playlist and the progile "girlfriend" only shows ~/musik/girlfriend.
I think i`m not the only one who would find this very cool ;-)

Thanks
Stolzi
User avatar
Vito De Tullio
Registered Member
Posts
17
Karma
0
At this moment I think the only viable solution is to use two different users.


By ZeD
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS
If your adding all your music to your playlist anyways, you could add a "Directory" column to the playlist headers.


Amarok Developer
User avatar
Jarsto
Registered Member
Posts
42
Karma
0
OS
If it's just two big playlists you want, and not separate collections, you can use smart playlists to do this. Make one smart playlist with the condition "File Path" "Contains" "~/musik/me" for your music. And another with "File Path" "Contains" "~/musik/girlfriend" for her music. If you want a more thorough split between your two collections splitting everything between two separate users is probably the way to go.


Jarsto

"There are three rules for writing a novel. Unfortunately, no one knows what they are."
W. Somerset Maugham
stolzi
Registered Member
Posts
44
Karma
0
Arg, Jarsto you say it! I was wrong. I meaned i want 2 collections (or better 2 collection views) and not two playlists :-(
You understand? The thing is, that i want to brows through my interprets and so on and dont want to be disturbed by the music of my girlfriend which i am not interested in.
For me following would be perfekt:
I say under ~/music is my collection. And then i can make profiles. For example for profile "me" only ~/music* stolzi is put into the collection.
Then in the collection view i have a choice box where i can select "all" "me", or "girlfriend" and so on....

I hope im right now ;-)
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS
Well my collection browser is too much of a mess to browse for me anyways (only have 7000 songs, but it only takes a few poorly tagged albums to make it a mess). I only use it when I know the name of something. When I don't know the name, I use the file browser, where I have albums organized into genres etc. That would be my suggestion.

Though with 1.4.2, you could abuse the dynamic collection system by putting your music each on its own partition, and then mounting what you want.


Amarok Developer
User avatar
Jarsto
Registered Member
Posts
42
Karma
0
OS
I just thought of a way you might "cheat" (for want of a better word) to get this effect now. If you're willing to sacrifice the actual contents of the "Year" tag on all your files you could set the year on your files to 2000 and your girlfriends to 1999 (actual years up to you). Then set the collection browser to Year on the first level, artist second and album third. For myself I wouldn't want to give up the existing meta-data, though I don't really use the Year tag, but it's the only way I can see to do what you want right now. The only way without constantly rescanning the whole thing.

If you would be willing to tolerate constant rescanning you could probably achieve something like the dynamic collection system Ian described now. Make a special directory for your collection and put two symbolic links in it to the directories with the actual music. Then when you want only one part of the collection remove the other symbolic link (or better: move it out of the collection folder) and rescan. My estimate of this method though is that unless you script it, it won't really be worth the effort (and I for one would be annoyed by the constant rescanning).

One way to script it would be to make three Amarok buttons: Amarok - All; Amarok - Me; Amarok - GF. Amarok - All's command could then be
rm ~/collection/*; ln -s ~/musik* Jarsto ~/collection/me; ln -s ~/musik/girlfriend ~/collection/girlfriend; amarok
For the other two just remove the creation of the link you don't need. And make sure Amarok rescans the collection every time you start it. I obviously haven't tried this, but I think it should work.


Jarsto

"There are three rules for writing a novel. Unfortunately, no one knows what they are."
W. Somerset Maugham
stolzi
Registered Member
Posts
44
Karma
0
Thanks for your tips!
The one with the year is a little dirty solution, but a solution  :p
Other things i allready tried, but it is not very likely for someone to always close and open amarok if he wants to listen to his music.
Aaron Cooper
Registered Member
Posts
104
Karma
0
Setting an ID3 tag that is recognized by the Collection browser is a creative solution!  How about setting the Genre to a person's name, that way you can keep your Year tags and lose the less important (and totally subjective) genre field.  You could also create duplicates of your playlists and add "Genre = X" so that you each get only your favourite songs :)

Best of luck!
User avatar
Nick Tryon
Registered Member
Posts
7
Karma
0
As was mentioned earlier, why not just set up a separate user for your girlfriend?  This would let you not only have separate collection setups but also different toolbar customizations, last.fm settings, etc.  It looks like you're already storing your collection outside of your own home directory, so that part shouldn't be a problem.

If it's too much of a bother to log out or switch users just for Amarok, it is possible to run apps as other users within the current session.  Running amarok from the alt+F2 (run command) dialog, click the "Options >>" button, check the "[x] Run as a different user" option, and type in her username and password.

It is also possible to do this with a launcher icon in the panel by going into the button's configuration under the "Application" tab, clicking the "Advanced Options" button, and filling in her username in the appropriate box.  I believe it should then prompt for her password when amarok is launched this way.
MightyE
Registered Member
Posts
2
Karma
0
Nick Tryon's solution is definitely the best.  Then you'll even be keeping separate statistics, separate preferences, everything.  Basically the functionality you're looking for already exists on an OS level, and it probably doesn't make sense to also replicate it into Amarok.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]