DLNA Media Controller plugin - Common library for UPnP AV

[quote=“cw-kid, post:499, topic:177228”]However for both versions when playing videos (TV Shows / Movies) in Kodi the DLNA plug-in in Vera does not display which movie is being currently played. It does however on the Help and Advanced tabs eventually show the correct video file that is being currently played.

It seems to work much better when playing a music album from the Kodi music library, as then it displays the album cover and also displays metadata like the currently playing albums name, artist name and track information etc.

Any ideas why the DLNA plug-in is not displaying movie cover images? Should it do this? and why it does not show the metadata of the currently playing movie?

I am using a VeraLite UI5

Thanks[/quote]

Probably because the DLNA server included in Kodi does not not provide the information (or do it in an unexpected way).
I used the plugin with XBMC and if I correctly remembered I only get the file name as title and one random image of the movie as cover.

OK thanks!

When playing music in Kodi the DLNA plug-in instantly pretty much, displays what is playing and shows the album cover.

When playing a movie in Kodi the DLNA plug-in doesn’t seem to display the video title and it does not display any artwork or a random image. It seems very slow at updating and eventually in the help or advanced tab you will see the correct video title / file name that is currently being played. But on the DLNA devices control tab where is says playing… this is often blank with no title showing.

I have just discovered KodiRemote which might now be better for use with Kodi. I wrote a setup guide here.

[quote=“lolodomo, post:501, topic:177228”][quote=“cw-kid, post:499, topic:177228”]However for both versions when playing videos (TV Shows / Movies) in Kodi the DLNA plug-in in Vera does not display which movie is being currently played. It does however on the Help and Advanced tabs eventually show the correct video file that is being currently played.

It seems to work much better when playing a music album from the Kodi music library, as then it displays the album cover and also displays metadata like the currently playing albums name, artist name and track information etc.

Any ideas why the DLNA plug-in is not displaying movie cover images? Should it do this? and why it does not show the metadata of the currently playing movie?

I am using a VeraLite UI5

Thanks[/quote]

Probably because the DLNA server included in Kodi does not not provide the information (or do it in an unexpected way).
I used the plugin with XBMC and if I correctly remembered I only get the file name as title and one random image of the movie as cover.[/quote]

luup.call_action(“urn:dlna-org:serviceId:AVTransport”, “Seek”, {InstanceID=“”, Unit=“” , Target= “00:11:22” }, 246 )

It does not work! Could you give an example?

There is the “Seek” action that should help. But no unique action to start and seek at the same time.[/quote]

Hi @lolodomo - my renderers keep going offline several times a day. in the log i see

LuaUPnP.log:50 04/18/15 10:30:34.908 luup_log:157: DLNA: debug: AVTransport.GetTransportInfo failed: going offline <0x2c197680> LuaUPnP.log:50 04/18/15 10:30:34.909 luup_log:157: DLNA: debug: commsFailure: Device offline? status=connection refused <0x2c197680>

The only way i get them back online is to click “Discover” again and select the renderer from the list and click “Select” (then i notice the port changes). I think it might be a problem with the device, not with the plugin.

As a work-around is there a way to select a rendered by name via luup? I could have a scene on a timer do that whenever the renderer is offline and it would solve my problem. Thanks!

[quote=“mda, post:504, topic:177228”]The only way i get them back online is to click “Discover” again and select the renderer from the list and click “Select” (then i notice the port changes). I think it might be a problem with the device, not with the plugin.

As a work-around is there a way to select a rendered by name via luup? I could have a scene on a timer do that whenever the renderer is offline and it would solve my problem. Thanks![/quote]

Yes, you have the action named “SearchAndSelectDMRDevice” (urn:dlna-org:serviceId:DLNAMediaController1). Use the parameter “Name” and “IP”. IP parameter is optional. Name has to be set to the modelName entry in the description file.

Ok, I’m a noob to this so don’t shoot me down.

Hardware: Vera 3 with UI 7, firmware 1.7.569

Problem: Trying to add Jongo S3 render device via DLNA and uPNP

Plugins: DLNA plugin and Universal PNP plugin

Condition: No upnp devices will discover via discovery or upnp device add (upnp not working)

Workaround: Add device manually by specifying DMR URL

This was fine but the damn URL had a manual port specified after the address (proceeding":" then a random port number so 192.168.81.100:3999) which caused device to go offline.

Temp fix was to telnet in and run command: route add -net 224.0.0.0 netmask 240.0.0.0 dev br-lan

Yay now the discovery works, seems all upnp traffic was being dumped or worse router to wan, only problem was every time I rebooted it had to be done all over again. Not being a Linux guy this was now a learning exercise.

Fix: found the Holy Grail for windows UI guys :slight_smile: Openwrt!!! Factory installed!

Went to:
http://192.168.81.1/cgi-bin/webif/info.sh

Navigate to the System then startup tab, go all the way to the bottom and drop the route add command.

Quick reboot and I now have functioning DLNA and upnp!

Took me hours so sharing in hope this helps someone else, i am not saying this is right or even repeatable but its working as desired now and i can see all devices on the wifi when i click discover.

Last tip, username is root and password is under the device on a label which is the same as default wifi password
, good luck and hope this helps other noobs :slight_smile:

Hi @lolodomo - Would you be able to update this plugin with the Google TTS fix that you did for the Sonos plugin? Thanks!

+1 on the TTS Fix! Please :slight_smile:

Did it break just recently?

I noticed Google have added a Captcha recently and my TTS URLs stopped working with the Squeezebox plug-in as well.

With 1.4 TTS seems to work again… I can get both Google and Microsoft to speak both English and Swedish (which isn’t in the settings, but works using “sv” for language)!

Maybe someone could help with I assume is a easy question?

I have never used the app to play .mp3-files from my NAS before. I would like to play a file as part of a scene in UI7, but I can’t get it to work… :wink:

I use the PlayDMSMedia action for the created DLNA device, under Advanced Editor in the scene creator. Not comfortable with luup so I try to avoid it.

I understand you need to add “x-file-cifs://” before the URL to the network device? I have put a .mp3-file on the Vera itself for checking, so I used “x-file-cifs://VERAIP/test.mp3”.

When I run the scene my DLNA device (KODI on a HTPC) seems to respond (the screensaver is turned off) but no .mp3 is played. TTS works! If I try to play the .mp3 from a browser (using the URL http://VERAIP/chime.mp3) it works.

Should I put something in the ObjectID and Protocol fields?

Hi

My DLNA plug-in is still version 1.3 and I have auto updates enabled. Just looked on the mIOS App store and its not offering an update. How did you get version 1.4?

Thanks

Never mind I see its in the forum

http://forum.micasaverde.com/index.php/topic,33817.0.html

[quote=“n0ir, post:510, topic:177228”]With 1.4 TTS seems to work again… I can get both Google and Microsoft to speak both English and Swedish (which isn’t in the settings, but works using “sv” for language)!

Maybe someone could help with I assume is a easy question?

I have never used the app to play .mp3-files from my NAS before. I would like to play a file as part of a scene in UI7, but I can’t get it to work… :wink:

I use the PlayDMSMedia action for the created DLNA device, under Advanced Editor in the scene creator. Not comfortable with luup so I try to avoid it.

I understand you need to add “x-file-cifs://” before the URL to the network device? I have put a .mp3-file on the Vera itself for checking, so I used “x-file-cifs://VERAIP/test.mp3”.

When I run the scene my DLNA device (KODI on a HTPC) seems to respond (the screensaver is turned off) but no .mp3 is played. TTS works! If I try to play the .mp3 from a browser (using the URL http://VERAIP/chime.mp3) it works.

Should I put something in the ObjectID and Protocol fields?[/quote]

Nobody who could help me with this (using a scene to play a .mp3 stored on the Vera or a NAS)?

I have installed the “DLNA DMC app version 1.4” and am able to pause/play via Kodi (XBMC). The first 5 times it also worked using the Text To Speech, but for some reason it stopped (last action was that I raised the volume, but I dont think it caused the problem)…
Since then, I have uninstalled/installed the “DLNA DMC app” again and rebooted the Vera Edge, but nothing happens when I try to use the Text To Speech function.

Need help here :slight_smile: !

[quote=“paros, post:513, topic:177228”]I have installed the “DLNA DMC app version 1.4” and am able to pause/play via Kodi (XBMC). The first 5 times it also worked using the Text To Speech, but for some reason it stopped (last action was that I raised the volume, but I dont think it caused the problem)…
Since then, I have uninstalled/installed the “DLNA DMC app” again and rebooted the Vera Edge, but nothing happens when I try to use the Text To Speech function.

Need help here :slight_smile: ![/quote]

We have to forget Google TTS. The service is now only partially available.
Rather use Microsoft engine. Works well.

[quote=“n0ir, post:510, topic:177228”]With 1.4 TTS seems to work again… I can get both Google and Microsoft to speak both English and Swedish (which isn’t in the settings, but works using “sv” for language)!

Maybe someone could help with I assume is a easy question?

I have never used the app to play .mp3-files from my NAS before. I would like to play a file as part of a scene in UI7, but I can’t get it to work… :wink:

I use the PlayDMSMedia action for the created DLNA device, under Advanced Editor in the scene creator. Not comfortable with luup so I try to avoid it.

I understand you need to add “x-file-cifs://” before the URL to the network device? I have put a .mp3-file on the Vera itself for checking, so I used “x-file-cifs://VERAIP/test.mp3”.

When I run the scene my DLNA device (KODI on a HTPC) seems to respond (the screensaver is turned off) but no .mp3 is played. TTS works! If I try to play the .mp3 from a browser (using the URL http://VERAIP/chime.mp3) it works.

Should I put something in the ObjectID and Protocol fields?[/quote]

That’s normal ! x-file-cifs is a specific protocol for Sonos !
Use the plugin UI to browse and play you MP3 file from your NAS. Then switch to the help tab and take the values from “DMS description URL”, “Last server media played” and “Selected protocol” to fill the parameters of the PlayDMSMedia action.

[quote=“lolodomo, post:515, topic:177228”][quote=“n0ir, post:510, topic:177228”]With 1.4 TTS seems to work again… I can get both Google and Microsoft to speak both English and Swedish (which isn’t in the settings, but works using “sv” for language)!

Maybe someone could help with I assume is a easy question?

I have never used the app to play .mp3-files from my NAS before. I would like to play a file as part of a scene in UI7, but I can’t get it to work… :wink:

I use the PlayDMSMedia action for the created DLNA device, under Advanced Editor in the scene creator. Not comfortable with luup so I try to avoid it.

I understand you need to add “x-file-cifs://” before the URL to the network device? I have put a .mp3-file on the Vera itself for checking, so I used “x-file-cifs://VERAIP/test.mp3”.

When I run the scene my DLNA device (KODI on a HTPC) seems to respond (the screensaver is turned off) but no .mp3 is played. TTS works! If I try to play the .mp3 from a browser (using the URL http://VERAIP/chime.mp3) it works.

Should I put something in the ObjectID and Protocol fields?[/quote]

That’s normal ! x-file-cifs is a specific protocol for Sonos !
Use the plugin UI to browse and play you MP3 file from your NAS. Then switch to the help tab and take the values from “DMS description URL”, “Last server media played” and “Selected protocol” to fill the parameters of the PlayDMSMedia action.[/quote]

Sorry for the late replay! Thank you @lolodomo! It worked great using the browse option in the created device! Scared my wife half to death when I played a airport chime stored on our NAS through our network speaker… :wink:

Now I just need to learn how to play specific network stored .mp3 using scenes… I’m thinking about using this option to play stored, pre-recorded voice notifications instead of using TTS on the fly.

How would I use this to make announcements to an android device such as an android phone? I’m exploring the idea of using an android device as a chime / status device…

You would need some DLNA Media Player app on the phone …

It’s easier to use Vera Alerts.

I haven’t figured Vera alerts out yet either… :grinning:

Vera Alerts is the way to go. Check out the documentation http://rts-services.com/Vera/Plugin/VeraAlerts/

There is a bit of a learning curve, but once you get it, you’ll be happy.

Sent from my Nexus 5X using Tapatalk