working on new MP Upnp Renderer process plugin | Page 3

Discussion in 'MediaPortal 1 Plugins' started by hierl_w, January 19, 2012.

  1. hierl_w

    hierl_w Portal Member

    Joined:
    February 15, 2010
    Messages:
    30
    Likes Received:
    34
    Gender:
    Male
    Ratings:
    +34 / 0
    Home Country:
    Germany Germany
    Show System Specs
    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
     

    Attached Files:

    • Like Like x 3
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
    Great! Ps: in the download section/repository you wrote koko instead of kroko
     
  4. Wo0zy
    • Premium Supporter

    Wo0zy Retired Team Member

    Joined:
    April 30, 2008
    Messages:
    394
    Likes Received:
    128
    Gender:
    Male
    Ratings:
    +148 / 0
    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
     
  5. hafblade

    hafblade Portal Pro

    Joined:
    January 19, 2011
    Messages:
    675
    Likes Received:
    145
    Location:
    Trier, Germany
    Ratings:
    +146 / 0
    Home Country:
    Germany Germany
    Show System Specs
  6. Pascal

    Pascal Portal Pro

    Joined:
    February 1, 2007
    Messages:
    99
    Likes Received:
    7
    Gender:
    Male
    Location:
    IJsselmuiden
    Ratings:
    +7 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    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
     
  7. hierl_w

    hierl_w Portal Member

    Joined:
    February 15, 2010
    Messages:
    30
    Likes Received:
    34
    Gender:
    Male
    Ratings:
    +34 / 0
    Home Country:
    Germany Germany
    Show System Specs
    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.
     
  8. Wo0zy
    • Premium Supporter

    Wo0zy Retired Team Member

    Joined:
    April 30, 2008
    Messages:
    394
    Likes Received:
    128
    Gender:
    Male
    Ratings:
    +148 / 0
    Home Country:
    United Kingdom United Kingdom
    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.
     
  9. hierl_w

    hierl_w Portal Member

    Joined:
    February 15, 2010
    Messages:
    30
    Likes Received:
    34
    Gender:
    Male
    Ratings:
    +34 / 0
    Home Country:
    Germany Germany
    Show System Specs
    • Like Like x 1
  10. slarti
    • Premium Supporter

    slarti MP Donator

    Joined:
    March 26, 2009
    Messages:
    73
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Finland Finland
    Show System Specs
    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!
     
  11. Wo0zy
    • Premium Supporter

    Wo0zy Retired Team Member

    Joined:
    April 30, 2008
    Messages:
    394
    Likes Received:
    128
    Gender:
    Male
    Ratings:
    +148 / 0
    Home Country:
    United Kingdom United Kingdom
    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.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!