INTERACT FORUM

Networks and Remotes => Media Network => Topic started by: sven78 on November 09, 2020, 02:44:13 am

Title: Problem accessing DLNA-server Gerbera on linux although found by MC [Solved]
Post by: sven78 on November 09, 2020, 02:44:13 am
Hi,

I am using the Media Center 27 to investigate the functionality and finally buy it if it works fine for me.

My DLNA server is an instance of Gerbera (https://gerbera.io) run on a linux server. It is found by MC but MC tells me it has 0 files when I load the library although other clients can connect and play the files.

I also have minidlna server running on that server which connects and works fine with MC.

Does anyone have an idea what I am doing wrong? Do you need any further information?

I found in my DLNA spec that the service is missing a slash in the beginning where my other servers do have one (the tag <SCPDURL>). Is MC maybe building the URI by concatenating the individual parts without checking if a slash is present?


Code: [Select]
<service>
<serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>
<SCPDURL>cds.xml</SCPDURL>
<controlURL>/upnp/control/cds</controlURL>
<eventSubURL>/upnp/event/cds</eventSubURL>
</service>


Best
Sven
Title: Re: Problem accessing DLNA-server Gerbera on linux machine although found by MC
Post by: bob on November 09, 2020, 12:44:31 pm
Hi,

I am using the Media Center 27 to investigate the functionality and finally buy it if it works fine for me.

My DLNA server is an instance of Gerbera (https://gerbera.io) run on a linux server. It is found by MC but MC tells me it has 0 files when I load the library although other clients can connect and play the files.

I also have minidlna server running on that server which connects and works fine with MC.

Does anyone have an idea what I am doing wrong? Do you need any further information?

I found in my DLNA spec that the service is missing a slash in the beginning where my other servers do have one (the tag <SCPDURL>). Is MC maybe building the URI by concatenating the individual parts without checking if a slash is present?


Code: [Select]
<service>
<serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>
<SCPDURL>cds.xml</SCPDURL>
<controlURL>/upnp/control/cds</controlURL>
<eventSubURL>/upnp/event/cds</eventSubURL>
</service>


Best
Sven
I don't think that's the issue or it wouldn't show up in MC's tree.
It seems to be built on MediaTomb and I don't think that supports search which MC requires from DLNA servers.
Title: Re: Problem accessing DLNA-server Gerbera on linux machine although found by MC
Post by: AndrewFG on November 10, 2020, 03:31:57 pm
To add to bob’s comment: the UPNP Media Server Content Directory Service comprises two functions — namely CDS:Browse, and CDS:Search. MC requires and uses CDS:Search(*) to download the complete library. We suppose that your server doesn’t support CDS:Search(*)
Title: Re: Problem accessing DLNA-server Gerbera on linux machine although found by MC
Post by: sven78 on November 11, 2020, 01:43:11 am
I updated the Gerbera server software by downloading the latest resources and now it seems to work. Problem was not on MC side as you suggest. Thanks for your help.