music player database

Martin Pitt martin.pitt at
Wed Jun 17 10:08:10 PDT 2009

Hello all,

I updated the script to produce unbroken udev rules now. I tested it
with my Android G1 phone, it correctly gets an ID_MEDIA_PLAYER tag

I updated the files on

Kay Sievers [2009-06-17  2:12 +0200]:
> I guess:
>   SUBSYSTEMS=="usb", GOTO="media_player_start"
>   GOTO="media_player_end"
>   LABEL="media_player_start"
> can just be:
>   SUBSYSTEMS!="usb", GOTO="media_player_end"

This doesn't work for me, since this would mean "any subdevice is not
an usb device", which is pretty much equal to "True". I left it as it
is for now, future improvements can always be made, of course.

> The .ini file names look pretty weird. :)

Indeed, I'll try to find some heuristic for making them nicer, so that
the product names are taken into account as well. But I think with
fully autogenerated output you can only get so far.

Christophe Fergeau [2009-06-17  9:25 +0200]:
> 2009/6/17 Kay Sievers <kay.sievers at>:
> >
> > Do we define that there can be a list of .ini files? Or is one enough.
> A list might be nice for the case you mentionned earlier (phones
> handling mtp, UMS, ...). One ini file per protocol might make things
> simpler.

I think I leave that as future extension to the primary maintainers.
My feeling is that the RB/Banshee/Amarok folks would be best suited to
develop mediaplayerid, since they know best which properties they need
and which file format they can digest. As said, of course I'm happy to
continue to maintain the actual DB, as new devices come in and are
reported in Ubuntu, etc.

> I'd rename [Media] to [Audio] in the .ini file, and maybe we
> should pick a distinct extension for these files? ( .mpi for media
> player id ?)

Can do.

Aside from that, I'll try and beautify the generated .ini files.

Christophe, you said that you already talked to the RB/Banshee guys?
Any input from them?


Martin Pitt                        |
Ubuntu Developer (  | Debian Developer  (
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : 

More information about the devkit-devel mailing list