[mythtv-users] upnp icon

Chris Adams rocket at extremelan.net
Tue Jul 27 08:20:29 UTC 2010

On Tue, Jul 27, 2010 at 6:17 PM, Chris Adams <rocket at extremelan.net> wrote:
> On Tue, Jul 27, 2010 at 6:11 PM, Chris Adams <rocket at extremelan.net> wrote:
>> On Sun, Jul 25, 2010 at 10:46 AM, Marcel Tromp <mtromp.docbook at gmail.com> wrote:
>>> Is there any way to change the mythtv upnp icon as it appears on PS3?
>>> MT
>>> --
>> I've taken a look at the code and the PS3 MIGHT read icons served as
>> part of a device description.
>> Have a look in devicemaster.xml (probably somewhere under /usr/share/mythtv)
>> You'll need to add an iconList tag wherever you see a presentationURL
>> tag (2 places in the file). Replace the icon's values as required.
>> <presentationURL>/</presentationURL>
>> <iconList><icon mimetype="text/jpg" width="32" height="32" depth="24"
>> url="http://server/path/to/icon" /></iconList>
>> <!-- uncomment to override defaults
>> <serialNumber>MYTHTV-UPNP-01</serialNumber> -->
>> You'll have to make sure the icon exists at the URL you specify. I'm
>> not sure the upnp server can serve normal files, so your image might
>> have to be served up from elsewhere..
>> Anyone else know if myth's upnp server can serve normal files?
>> Cheers
>> Chris
> Self-reply: apologies for top-posting - I fixed it.
> The mimetype should have been "image/jpeg".
> Have a look at how MediaTomb constructs its device description if you
> want better example(s)
> http://mediatomb.cc/doxygen/upnp__xml_8cc_source.html
> It starts around line 249.

FYI the relevant code in mythtv is here
and here (ProcessIconList())

More information about the mythtv-users mailing list