[PATCH] more fine-grained iDevice support in media-player-info

Tom Gundersen teg at jklm.no
Sun Jun 12 08:14:05 PDT 2011


Hi guys,

I'm working on adding support for media-player-info to KDE (Solid in
particular).

The aim is at first simply to use media-player-info to detect the
supported protocols, the human readable name of the device and the
icon to show.

This mostly works, but I noticed that the support for iPhones/iPads
could be nicer (now they are all called "iPods with video").

The attached patches gives each iPhone/iPad its correct name, and also
sets the iPod icon (maybe a better choice can be made, but it seemed
better to me than the generic icon). With these patches applied
(together with my patches against kdelibs) I get the behavior in the
attached screenshot, as wanted.

Do you think these patches could be applied to media-player-info?

Cheers,

Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ipod-add-human-readable-name.patch
Type: text/x-patch
Size: 576 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20110612/d93565e9/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-video-ipod-fix-name-add-icon.patch
Type: text/x-patch
Size: 1139 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20110612/d93565e9/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-iphone-ipad-split-from-ipod.patch
Type: text/x-patch
Size: 4539 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20110612/d93565e9/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solid-iphone-3g.png
Type: image/png
Size: 39597 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20110612/d93565e9/attachment-0001.png>


More information about the devkit-devel mailing list