Can no longer find dlna server after upgrade from 15.10 to 16.04

Bug #1536208 reported by Jamie Strandboge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grilo-plugins (Ubuntu)
Invalid
High
Unassigned
Xenial
Invalid
High
Unassigned
gssdp (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned
rhythmbox (Ubuntu)
Invalid
High
Unassigned
Xenial
Invalid
High
Unassigned

Bug Description

From irc:
08:28 < jdstrand> Laney: question for you-- just otoh, can you think of a reason why dlna wouldn't work on xenial in rhythmbox any more when it has the same upstream version as wily (and the Ubuntu delta didn't have any relevant changes), grilo is the same as wily and grilo-plugins only has one irrelevant change over wily?
08:29 < jdstrand> (it the dleyna code in grilo that handles this afaik)
08:30 < jdstrand> Laney: the dlna server just doesn't show up any more (but daap still does)
08:33 < jdstrand> I have both forked-daapd and minidlna exporting <music>
08:33 < jdstrand> and rhythmbox used to see both on wily. on xenial, it only sees daap

This may be a bug in grilo or grilo-plugins since, AIUI, it is the dleyna code in grilo-plugins that handles this. It appears that grilo relies on dleyna-server and dleyna-server isn't able to find the server any more. I tried on a separate wily install and it wasn't able to find it.

Coming up with a reproducer was more difficult than I thought it would be.

1. minidlna server setup
$ sudo apt-get install minidlna

Adjust /etc/minidlna.conf to have:
media_dir=A,/path/to/some/music/files

I believe everything else can be left as defaults.

2. rhythmbox setup
$ sudo apt-get install grilo-plugins-0.2-extra rhythmbox-plugins dleyna-server

stop and start rhythmbox

go into Tools/Plugins and check Grilo media browser

This was all I needed to do initially for it to start working. Now it now longer works. Android devices and 'kodi' from Ubuntu can find and use it fine. Using d-feet and going to 'com.intel.dleyna-server' and into com.intel.dLeynaServer.Manager and looking at 'GetServers' returns nothing. Looking at Rescan() triggers traffic (as seen with tcpcump) with the server (ie, there are responses). Looking at an strace of /usr/lib/dleyna-server/dleyna-server-service shows it got a response from the minidlna server. I guess the problem is in dleyna-server. There is a new upstream version (0.5), but it is newer than what is in Debian.

Apparently minidlna is installed in Netgear devices and other places and is quite popular.

summary: - Can no longer fine dlna server after upgrade from 15.10 to 16.04
+ Can no longer find dlna server after upgrade from 15.10 to 16.04
description: updated
Changed in rhythmbox (Ubuntu):
assignee: nobody → Iain Lane (laney)
description: updated
description: updated
Changed in grilo-plugins (Ubuntu):
assignee: nobody → Iain Lane (laney)
Changed in dleyna-server (Ubuntu):
assignee: nobody → Iain Lane (laney)
tags: added: rls-x-incoming
Will Cooke (willcooke)
tags: removed: rls-x-incoming
Revision history for this message
Sebastien Bacher (seb128) wrote :

I looked a bit at the issue today, some data points

- it works in a guest session

- it doesn't work with a existing/new user(?)

- it's not an issue with rhythmbox, rhythmbox doesn't list the share either, nor does the grilo-test-ui utility (need to rebuild grilo to try this one)

- the dleyna 0.5 update doesn't fix it

I'm unsure why it works in a guest session, maybe some features get turned off due to the restricted permissions and the remaining ones are working...

Revision history for this message
Sebastien Bacher (seb128) wrote :

gupnp-av-cp has the same issue (and works as well in a guest session) ... unsure what's going on there

affects: dleyna-server (Ubuntu Xenial) → gssdp (Ubuntu Xenial)
Changed in gssdp (Ubuntu Xenial):
assignee: Iain Lane (laney) → nobody
importance: Undecided → High
status: New → Fix Committed
Changed in grilo-plugins (Ubuntu Xenial):
assignee: Iain Lane (laney) → nobody
Changed in rhythmbox (Ubuntu Xenial):
assignee: Iain Lane (laney) → nobody
Changed in grilo-plugins (Ubuntu Xenial):
status: New → Invalid
importance: Undecided → High
Changed in rhythmbox (Ubuntu Xenial):
importance: Undecided → High
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue was with gssdp and the difference in guest was probably just random timing one

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gssdp - 0.14.14-1ubuntu1

---------------
gssdp (0.14.14-1ubuntu1) xenial; urgency=medium

  * Resynchronize on Debian, remaining change
    - multiarchify the library packages
    includes fix for dlna servers (lp: #1536208)

 -- Sebastien Bacher <email address hidden> Tue, 23 Feb 2016 10:53:18 +0100

Changed in gssdp (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I can confirm this is fixed on up to date xenial. Thanks! :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.