working on new MP Upnp Renderer process plugin (1 Viewer)

hierl_w

Portal Member
February 15, 2010
30
34
Home Country
Germany Germany
Hello Guys,

in the first thread you find the new version with some buxfixes:

05.03.2012, V2.0.4.0 :
- some changes for picture viewing (but not really working)
- much work for optimize playing mp4-videostreams (but only works with full caching)

12.03.2012, V2.0.6.0 :
- optimized workflow showing track info for music

6.4.2012, V2.0.8->V2.1.1:
- source code prepared for release, changed to internal version 2.1.1


The source code you will find here.

bye,
hierl_w
 

Attachments

  • MP-Upnp-Renderer-V2.1.1.zip
    4.2 MB

Wo0zy

Retired Team Member
  • Premium Supporter
  • April 30, 2008
    394
    134
    Home Country
    United Kingdom United Kingdom
    Great work hierl_w!

    Only tested with wmp12 as a server and BubbleUPNP on android as a controller so far but your renderer has worked perfectly for music and videos!

    I don't get a lot of time for testing things ATM :( but had a spare half an hour yesterday and setting up the above was a breeze!

    Would like to test the experimental photo support next if time permits.

    Thanks for sharing your work!

    Cheers,

    Mick
     

    Pascal

    Portal Pro
    February 1, 2007
    99
    7
    IJsselmuiden
    Home Country
    Netherlands Netherlands
    Great Plugin!

    Video and music works perfectly with BubbleUPnP. I also tried the experimental picture option, but that does not work for me. I receive the following in the logfile:

    [Debug][(44)]: [MP Upnp Renderer:] AVTransport_SetAVTransportURI, currentURI: http://192.168.1.104:57645/external/images/media/24
    [Debug][(44)]: [MP Upnp Renderer:] AVTransport_SetAVTransportURI, CurrentURIMetaData (raw): <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="/external/images/media/1506676782/30" parentID="/external/images/media/1506676782" restricted="1"><upnp:class>object.item.imageItem</upnp:class><dc:title>IMG_20120330_063454</dc:title><dc:creator>Unknown Artist</dc:creator><upnp:artist>Unknown Artist</upnp:artist><upnp:albumArtURI>http://192.168.1.104:57645/thumbgen...454.jpg</upnp:albumArtURI><upnp:album>Unknown Album</upnp:album><res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=01;DLNA.ORG_CI=0">http://192.168.1.104:57645/external/images/media/30</res></item></DIDL-Lite>
    [Debug][(44)]: [MP Upnp Renderer:] Reading XML TrackMetaData : <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="/external/images/media/1506676782/30" parentID="/external/images/media/1506676782" restricted="1"><upnp:class>object.item.imageItem</upnp:class><dc:title>IMG_20120330_063454</dc:title><dc:creator>Unknown Artist</dc:creator><upnp:artist>Unknown Artist</upnp:artist><upnp:albumArtURI>http://192.168.1.104:57645/thumbgen...454.jpg</upnp:albumArtURI><upnp:album>Unknown Album</upnp:album><res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=01;DLNA.ORG_CI=0">http://192.168.1.104:57645/external/images/media/30</res></item></DIDL-Lite>
    [Info.][(44)]: [MP Upnp Renderer:] Metadata read successful : Title: IMG_20120330_063454, Interpret: Unknown Artist, Album: Unknown Album, AlbumInterpret: -, Genre: -, Date: -, bitrate: 0, Rating 0
    [Debug][(44)]: [MP Upnp Renderer:] AVTransport_Play, InstanceID: 0, Speed: _1
    [Debug][MPMain(1)]: [MP Upnp Renderer:] Start playing track: http://192.168.1.104:57645/external/images/media/30, trackType: Unknown
    [Info.][MPMain(1)]: [MP Upnp Renderer:] Unable to play MP Upnp Renderer
    If I open the url in a web page I can see the picture just fine, so BubbleUpnp is doing something.
    Thanks for this great plugin, this is what I was looking for, for a long time. Just show the pictures / movies created with my android phone directly to the MP-TV! When picture is working it will be perfect!
    Pascal
     

    hierl_w

    Portal Member
    February 15, 2010
    30
    34
    Home Country
    Germany Germany
    Hello Guys,

    about the photo support:
    it is the most difficult part, because video and music is easy to play with g_player from process plugin.
    Showing the picture with the exifDialog not realy work. Perhaps I have to build a WindowPlugin as PicureViewer.

    Any other ideas? I have not much time at the moment and already did much try & error,
    so perhaps anybody can help:
    "Showing a pictureUrl from process plugin"...

    bye.
     

    Wo0zy

    Retired Team Member
  • Premium Supporter
  • April 30, 2008
    394
    134
    Home Country
    United Kingdom United Kingdom
    Hello Guys,

    about the photo support:
    it is the most difficult part, because video and music is easy to play with g_player from process plugin.
    Showing the picture with the exifDialog not realy work. Perhaps I have to build a WindowPlugin as PicureViewer.

    Any other ideas? I have not much time at the moment and already did much try & error,
    so perhaps anybody can help:
    "Showing a pictureUrl from process plugin"...

    bye.

    Hi hierl_w,

    A similar question has been asked before (see https://forum.team-mediaportal.com/threads/how-to-display-image-from-process-plugin.97009/).

    It was in relation to Airplay but I think the objectives are the same.

    Don't know if it will help you but Damien's (Itfearme) answer sounds like what you may be looking for. OFC this is above my pay grade and don't fully understand his answer and therefore I could be completely off the mark :).

    Just thought I'd mention it in case it helps at all.

    Cheers,

    Mick.
     

    slarti

    MP Donator
  • Premium Supporter
  • March 26, 2009
    73
    5
    Home Country
    Finland Finland
    This seems great and exactly what I've been looking for.

    However I get some weird issues when I stop playback remotely. Sometimes MP refuses to play TV-streams until I restart. Sometimes StreamedMP's basichome.xml can't be found etc...

    Keep up the great work, though!
     

    Wo0zy

    Retired Team Member
  • Premium Supporter
  • April 30, 2008
    394
    134
    Home Country
    United Kingdom United Kingdom
    This seems great and exactly what I've been looking for.

    However I get some weird issues when I stop playback remotely. Sometimes MP refuses to play TV-streams until I restart. Sometimes StreamedMP's basichome.xml can't be found etc...

    Keep up the great work, though!

    Hi slarti,

    What are you using as the server and controller?

    My controller seems to only offer pause not stop and I haven't seen these problems yet.

    Also, I'm using Black Glass Nova HD but it would be odd to think your problems are skin related :).

    Cheers,

    Mick.
     

    Users who are viewing this thread

    Top Bottom