Page 1 of 1
Seeing only Titles and Not File Names
Posted: Fri Oct 04, 2024 7:41 am
by aftermarket
Older version of UMS on my previous server would show full file names on Kodi client.
I have prettify off when using UMS-14.5.0-x86_64.tgz but titles are still showing up and not file names.
Grepping over a full trace log the only place I see the title is in a DLNA xml.
A snip of the debug line is below:
Code: Select all
debug.log:8049: <Result><DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:
metadata-1-0/upnp/" xmlns:sec="http://www.sec.co.kr/" xmlns:pv="http://www.pv.com/pvns/"><item id="101" parentID="100" restricted="1"><dc:title>
Is there a way to disable or configure this feature from the UMS.conf?
How can I find older versions of UMS to test on this new debian 12 install?
Re: Seeing only Titles and Not File Names
Posted: Fri Oct 04, 2024 12:38 pm
by mik_s
That snippet of the log didn't show anything, just a header with no data.
This behaviour will be down to Kodi not UMS as UMS supplies all the metadata along with the filename, but it is up to the renderer what to do with this.
See if there are options in Kodi to show the actual filename and not use the metadata for titles.
I think there is "extract information from video" in the video library settings
Re: Seeing only Titles and Not File Names
Posted: Sat Oct 05, 2024 5:34 am
by aftermarket
I made no changes to kodi or libreelec beyond installing UMS 14.5.0 on a different media server.
I found ums-9.0.0-b1 on github, started with default settings and it's working as expected again on Kodi showing only filenames.
Something has changed between UMS versions 9 and 14.
Based on the snippet from the v14 trace log DIDL-Lite is a python library used to create the xml output that contains the metadata for all the files in the UMS library that is being shared with the renderer.
The snippet was snipped to not show any data but to show the line that was containing the title from the library parser in hopes someone could identify how to disable that line from being presented to renderers.
My assumption is this line was not being sent in the older versions by default or was not being sent at all.
EDIT: I also have verified in Kodi that all the settings are correct to not use the library title and use filename. I even cleared the library in kodi but it would be rebuilt with the title as the display name. Only after rolling back UMS to v9 did everything resolve with regards to filenames on the renderer list.
Re: Seeing only Titles and Not File Names
Posted: Sat Oct 05, 2024 8:20 am
by mik_s
I know little about the communication protocols but I think DIDL is the standard used to send the data over DLNA like the file list and thunbnails, just this has improved over the versions to include more data for renderers that can use it. It is up to the renderer what to do with this information.
Older versions of UMS did not send metadata to renderers, just the bare minimum for it to work, so the only option was to use the filename.
There have been significant changes between v9 and v14 like reworking the networking code and the web interface.
I don't know much about Kodi, I have been trying to get it to work well on an OrangePI 3B but it does not have a good OS for this.
It is very unlikely Libreelec will ever support this SBC.
As Kodi is very customisable there must be options on how to display files.
I remember seeing options for not showing data extracted form metadata somewhere.
Try experimenting with the settings in Kodi, you may have to enable the expert options to find the one that changes this.
Check your plugins too as they may be doing something different.