working on new MP Upnp Renderer process plugin | Page 7

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

  1. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Great! :D



    I actually can't remember what was wrong and I can't reproduce it now.
    I will test your new version though!
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    The new feature seems to work fine :) I found another thing that is not quite right.

    When at the Now Playing screen and playing music, after pressing stop, you go back to the previous screen.
    When at the Now Playing screen and playing UPNP music, after pressing stop, you stay in the Now Playing screen.

    I found another thing:
    When playing local music and I start BubbleUPNP with MP as render, BubbleUPNP shows the song progress for the local song. Shouldn't it be showing nothing?
    And also, when still having BubbleUPNP active, and you go to play another local track, the song info in MP is being changed to the song you have opened in BubbleUPNP. To clarify: I'm NOT playing music with BubbleUPNP at this time.

    And somehow I'm also able to start the UPNP music then.. So somehow MP/your plugin thinks that these local mosic was UPNP music.
     
    Last edited: June 12, 2012
  4. bighick

    bighick Portal Pro

    Joined:
    July 6, 2009
    Messages:
    72
    Likes Received:
    4
    Ratings:
    +5 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    Is there any way to use this with an iPhone?
     
  5. pock
    • Premium Supporter

    pock MP Donator

    Joined:
    December 7, 2008
    Messages:
    63
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    Hi, Upnp Renderer is for me only available with deactivatet firewall!? Wich Ports must be opened?

    Greetz pock
     
  6. 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,

    I allowed the process mediaportal to access all ports. I was ask in win7, as I used 1. time the plugin by win firewall.
    With upnp, I think, you don't really know, which ports you will access for mediaservers and so on.
    I think, that is one point, why upnp is not really save. But I'm no expert in this.

    Have you tried with other upnp renderers like wmp ore media monkey?

    bye.
     
  7. Varun Reddy

    Varun Reddy New Member

    Joined:
    June 19, 2012
    Messages:
    2
    Likes Received:
    0
    Gender:
    Male
    Location:
    Hyderabad, Andhra Pradesh
    Ratings:
    +0 / 0
    Home Country:
    India India
    Hi I have installed the plugin on MP 1.2.3 but I dont see MP as a upnp renderer on my network.

    Initially I ddnt see it as a UPNP server either and I had to play around with settings on Windows till that worked.

    Is there something that I am missing or are there any details that I can send you so that you can see what the problem might be?

    Thanks

    Varun
     
  8. Varun Reddy

    Varun Reddy New Member

    Joined:
    June 19, 2012
    Messages:
    2
    Likes Received:
    0
    Gender:
    Male
    Location:
    Hyderabad, Andhra Pradesh
    Ratings:
    +0 / 0
    Home Country:
    India India
  9. Wiesel

    Wiesel Portal Member

    Joined:
    April 23, 2008
    Messages:
    34
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Austria Austria
    You're developing a UPNP plugin and don't know the basic ports that it uses? Very strange ;) But don't get me wrong, I'm happy that this plugin exists, thank you very much!

    I've had the same problem like some of you guys as it seems, MediaPortal.exe is given full network access by the Windows firewall but the renderer still can't be found on the network. The solution is to add an incoming firewall rule that allows port 1900 UDP (it's needed for UPNP device discovery on the network).
     
  10. Kaoh

    Kaoh Portal Pro

    Joined:
    September 11, 2006
    Messages:
    244
    Likes Received:
    14
    Ratings:
    +15 / 0
    Home Country:
    Netherlands Netherlands
    Hi, I wanted to try this rederer plugin. They idea is great. Finally some good control from a mobile device.
    I am using a Windows Phone Nokia Lumnia with Play to to send the commands.
    I tested with windows media player and it works fine. It can send music and pictures without any trouble.
    This plugin does start music but I am unabe to make it show a picture.
    Also the music ocntrol are only working partially. I have to stop the music using media portal first for it to start a new song.

    The picture thing is the greatest problem I think, here are some entries from the log file:
    2012-06-30 09:44:42.374939 [Debug][(10)]: [MP Upnp Renderer:] Reading XML TrackMetaData : <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="4049870675" parentID="ROOT" restricted="1"><upnp:class>object.item.imageItem.photo</upnp:class><dc:title>m11-01-Zittend spelen met Barba pappa-05.jpg</dc:title><res size="218077" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_OP=01;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="1600x1071" >http://192.168.2.106:5120/MediaSharing/media.jpeg?ID=4049870675</res><res size="218077" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="1600x1071" >http://192.168.2.106:5120/MediaSharing/media.jpeg?ID=4049870675,ProfileID=1</res></item></DIDL-Lite>
    2012-06-30 09:44:42.379939 [Info.][(10)]: [MP Upnp Renderer:] Metadata read successful : Title: m11-01-Zittend spelen met Barba pappa-05.jpg, Interpret: -, Album: -, AlbumInterpret: -, Genre: -, Date: -, bitrate: 0, Rating 0
    2012-06-30 09:44:42.903969 [Debug][(10)]: [MP Upnp Renderer:] AVTransport_GetMediaInfo : Mediaduration = 00:00:00
    2012-06-30 09:44:42.905969 [Debug][(10)]: [MP Upnp Renderer:] AVTransport_GetMediaInfo : CurrentURIMetaData = <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="4049870675" parentID="ROOT" restricted="1"><upnp:class>object.item.imageItem.photo</upnp:class><dc:title>m11-01-Zittend spelen met Barba pappa-05.jpg</dc:title><res size="218077" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_OP=01;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="1600x1071" >http://192.168.2.106:5120/MediaSharing/media.jpeg?ID=4049870675</res><res size="218077" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="1600x1071" >http://192.168.2.106:5120/MediaSharing/media.jpeg?ID=4049870675,ProfileID=1</res></item></DIDL-Lite>
    2012-06-30 09:44:42.922970 [Debug][(10)]: [MP Upnp Renderer:] AVTransport_GetTransportInfo : CurrentTransportState STOPPED / CurrentTransportStatus OK
    2012-06-30 09:44:42.938971 [Debug][(10)]: [MP Upnp Renderer:] AVTransport_Play, InstanceID: 0, Speed: _1
    2012-06-30 09:44:42.944971 [Debug][MPMain(1)]: [MP Upnp Renderer:] Start playing track: http://192.168.2.106:5120/MediaSharing/media.jpeg?ID=4049870675, trackType: Recording
    2012-06-30 09:44:42.948971 [Debug][MPMain(1)]: [MP Upnp Renderer:] StateChanged by ?: send player status changes: TRANSITIONING
    2012-06-30 09:44:42.950971 [Info.][MPMain(1)]: [MP Upnp Renderer:] StateChanged : TRANSITIONING, track: m11-01-Zittend spelen met Barba pappa-05.jpg
    2012-06-30 09:44:43.021976 [Debug][MPMain(1)]: [MP Upnp Renderer:] start DownloadAndCache: http://192.168.2.106:5120/MediaSharing/media.jpeg
    2012-06-30 09:44:43.049977 [Debug][MPMain(1)]: [MP Upnp Renderer:] DownloadAndCache: Download file 'http://192.168.2.106:5120/MediaSharing/media.jpeg' to 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Pictures\m11-01-Zittend spelen met Barba pappa-05.jpgL.jpg'
    2012-06-30 09:44:43.120981 [Info.][MPMain(1)]: [MP Upnp Renderer:] DownloadAndCache: The remote server returned an error: (400) Bad Request.
    2012-06-30 09:44:43.123981 [Debug][MPMain(1)]: [MP Upnp Renderer:] StateChanged by ?: send player status changes: STOPPED
    2012-06-30 09:44:43.125981 [Info.][MPMain(1)]: [MP Upnp Renderer:] StateChanged : STOPPED, track: m11-01-Zittend spelen met Barba pappa-05.jpg
    The specified download location does not contain the image either. So the file really just never gets downloaded.
     
  11. 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,

    I found the problem. It is because of the "?" in the image url. I have cut the URL at ?, because some controllers send the ?scale url of the small image.
    Now I solved the problem, by only cutting the url at ?, if there is ?scale included.

    I will release new version next days...

    bye.
     
    Last edited: July 5, 2012
    • Like Like x 2
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!