Re: [Deskbar] Muine song/album search



Raphael Slinckx wrote:

> First of all, let me make a comment: wouldn't it be better to have a
> static match being returned hat just allow to play the typed text ?
> 
> For example, i type 'Led Zeppelin', scroll down to Play songs from 'Led
> Zeppelin', and muine (or any other player) would just make a playlist
> with these search terms. The more you add, the more specific the
> resulting playlist will be.
> 
> That avoids cluttering the search list with lots of song titles or
> albums, and also solves to album/song distinction problem, and IMHO is
> easier to use in a hurry.
> 
> The downside is that it probably needs some love from muine/player side
> to support such a feature, either through a remote interface, or through
> shell commands.

At the moment, the Muine dbus functions only allow for showing the Add
Album or Add Song window (with no search terms inside).  That could be
fixed to allow for searching based on a search term, but Muine
development is pretty dead at the moment, and has been for a while.
I'll see how easy this would be to add.

> I will not merge the handler as-is in CVS yet, we must first settle for
> the policy of such handlers, to provide an unified interface for every
> player out there. Maybe a single-do-it-all handler, or separate handlers
> with various checks to see which player is present. I think one handler
> would be better in this case, cause it's not rare to see more than one
> player installed, and makes detection harder (there is no 'music player'
> preferences in gnome)

That's fine.  With the code as ugly as it was, I'm just glad you looked
at it at all. ;-)  I was trying to think of a way to tell which music
player was preferred, but just can't figure out how.  Is there a way to
see which program is supposed to handle a certain mimetype (like mp3 or
ogg) from within Python?

> In any case you may want to consider posting it as another handler
> tutorial in the http://live.gnome.org/DeskbarApplet page (search
> 'Extending' for the exact url).

I'm really not sure this is tutorial worthy, but if I get the code
spiffed up a little more, I'll consider it.

> I'll periodically copy these to the real deskbar website as developper
> doc and tutorial.

Thanks for the feedback!

-eric




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]