INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Problem accessing DLNA-server Gerbera on linux although found by MC [Solved]  (Read 1165 times)

sven78

  • Member
  • *
  • Posts: 2

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
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874

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.
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392

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(*)
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

sven78

  • Member
  • *
  • Posts: 2

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.
Logged
Pages: [1]   Go Up