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

Filtering Amarok's "collection sharing" and other daap questions

Tags: None
(comma "," separated)
lordie
Registered Member
Posts
2
Karma
0
Hi.  These questions refer to Amarok 1.4.8, as 1.4.9-1 is not yet in the *buntu repositories.

I have a lot of "Various Artist" albums in a Various Artist directory.  Amarok's collection manager lets me lump these all into a "Various Artists" sub-group at the top of the collection, but when I go to share my music, the clients who get my music share get a dump of my collection at the artist level, meaning their view of my collection is cluttered with hundreds of artists who appear on just one album.

If I filter the collection on my end using the Collection Filter and -directory"Various Artist" then *my* view of the collection is updated, but if I stop daap and re-share the collection, it's still the full collection being shared.

Is there a way to limit what is shared via the Share My Music button?

I tried moving to firefly media server to serve up my music with custom smart playlists that exclude the various artists folders (I fibbed above, there are several folders, not just the one), but Amarok ignores(?) the custom playlists served up via firefly and displays one flat view showing all the artists.

Are there plans to make Amarok understand the playlists served up by daap servers like firefly?
lordie
Registered Member
Posts
2
Karma
0
Replying to myself here, apologies if this is poor taste.  I found the ruby script that generates the daap 'playlist' from the collection (/usr/bin/amarok.daapserver.rb) which includes this bit of code:

Code: Select all
          indexes = [  { :dbresult=> query( 'select * from album' ),  :indexed => albums },
          { :dbresult=> query( 'select * from artist' ), :indexed => artists },
          { :dbresult=> query( 'select * from genre' )  , :indexed => genre },
          { :dbresult=> query( 'select * from year' )  , :indexed => year },
          { :dbresult=> query( 'select id, lastmountpoint from devices' ), :indexed => device_paths } ]


Looks like I'm not going to get a hook into whatever is in the Collection Filter field, so I may just wind up modifying the sql query to meet my needs.

Still wondering about amarok's support for remote daap playlists, though.  Is this being considered as a feature?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]