Kodi 19.3 Showing episode titles instead of File Names
Kodi 19.3 Showing episode titles instead of File Names
Currently running Kodi 19.3 on my ShieldTV,
I am starting to use Kodi again after not using it for years. My Files are appearing via their episode titles instead of the file names that they are saved as on my NAS. This is causing them to be totally out of order.
I went into the Kodi settings and turned off the "Replace file names with library titles" option, I've tried cleaning the library and restarting many times to no help.
Was informed on the Kodi forums that as UMS is added as a UPnP device the issue is on the UMS side
Current Setup:
Kodi 19.3 on Shield TV
Files saved on Sonolgy NAS
Universal Media Server on PC added as UPnP device in Kodi (confirmed "prettify filenames" turned off)
I am starting to use Kodi again after not using it for years. My Files are appearing via their episode titles instead of the file names that they are saved as on my NAS. This is causing them to be totally out of order.
I went into the Kodi settings and turned off the "Replace file names with library titles" option, I've tried cleaning the library and restarting many times to no help.
Was informed on the Kodi forums that as UMS is added as a UPnP device the issue is on the UMS side
Current Setup:
Kodi 19.3 on Shield TV
Files saved on Sonolgy NAS
Universal Media Server on PC added as UPnP device in Kodi (confirmed "prettify filenames" turned off)
Re: Kodi 19.3 Showing episode titles instead of File Names
If prettify filenames is turned off then there should be no change to the filenames.
UMS will sort the files before sending the list to the renderer and there are various options to do that in the settings and there is also an option to Ignore articles "a" and "the" while sorting. You can also just set it to no sorting.
To see exactly what is happening and what is being sent to Kodi I will need to see logs, follow the link in my sig.
UMS will sort the files before sending the list to the renderer and there are various options to do that in the settings and there is also an option to Ignore articles "a" and "the" while sorting. You can also just set it to no sorting.
To see exactly what is happening and what is being sent to Kodi I will need to see logs, follow the link in my sig.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: Kodi 19.3 Showing episode titles instead of File Names
Here is the trace log.mik_s wrote: ↑Fri Jan 13, 2023 5:21 am If prettify filenames is turned off then there should be no change to the filenames.
UMS will sort the files before sending the list to the renderer and there are various options to do that in the settings and there is also an option to Ignore articles "a" and "the" while sorting. You can also just set it to no sorting.
To see exactly what is happening and what is being sent to Kodi I will need to see logs, follow the link in my sig.
The line in the Log that shows the video starting has the full file name including the episode title but Kodi displays all files with only the title names
- Attachments
-
- ums_dbg_2023-01-13-17-19.zip
- (862.95 KiB) Downloaded 656 times
Re: Kodi 19.3 Showing episode titles instead of File Names
I'm not an expert at this but from what I see the filenames are being sent unaltered but also UMS is supplying metadata in UPnP like
the episodeSeason, episodeNumber, seriesTitle, programTitle along with other metadata and Kodi is using this data to display the file list.
There must be a way in Kodi to ignore these fields and just display the filenames.
I have not used Kodi but would assume it has great support for using the metadata to sort things correctly. See if there is a sort by season/episode option somewhere instead of sorting by episode name.
the episodeSeason, episodeNumber, seriesTitle, programTitle along with other metadata and Kodi is using this data to display the file list.
There must be a way in Kodi to ignore these fields and just display the filenames.
I have not used Kodi but would assume it has great support for using the metadata to sort things correctly. See if there is a sort by season/episode option somewhere instead of sorting by episode name.
Code: Select all
TRACE 2023-01-13 17:17:24.273 [jupnp-netty-worker-15] net.pms.network.mediaserver.nettyserver.RequestV2 The unescaped <Result> sent to Kodi (192.168.50.4) [Kodi] is:
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pv="http://www.pv.com/pvns/" xmlns:sec="http://www.sec.co.kr/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">
<item id="213" parentID="212" restricted="1">
<dc:title>Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE {English subtitles}</dc:title>
<dc:date>2022-09-06T21:32:03</dc:date>
<upnp:episodeSeason>6</upnp:episodeSeason>
<upnp:episodeNumber>1</upnp:episodeNumber>
<upnp:seriesTitle>Rick and Morty</upnp:seriesTitle>
<upnp:programTitle>Solaricks</upnp:programTitle>
<upnp:playbackCount>5</upnp:playbackCount>
<upnp:lastPlaybackTime>2022-12-06 17:57:41.056</upnp:lastPlaybackTime>
<upnp:lastPlaybackPosition>0:00:04.000</upnp:lastPlaybackPosition>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" bitrate="531800" colorDepth="8" duration="0:22:19.350" framerate="24p" protocolInfo="http-get:*:video/x-matroska:DLNA.ORG_PN=AVC_MKV_MP_HD;DLNA.ORG_OP=01" resolution="1920x1080" size="712267318">http://192.168.50.2:5001/get/213/Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_RES_320_180;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="320x180" size="12537">http://192.168.50.2:5001/get/213/thumbnail0000JPEG_RES320x180_Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv.jpg</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="320x180" size="12537">http://192.168.50.2:5001/get/213/thumbnail0000JPEG_SM_Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv.jpg</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="160x90">http://192.168.50.2:5001/get/213/thumbnail0000JPEG_TN_Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv.jpg</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/png:DLNA.ORG_PN=PNG_LRG;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="320x180">http://192.168.50.2:5001/get/213/thumbnail0000PNG_LRG_Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv.png</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/png:DLNA.ORG_PN=PNG_TN;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="160x90">http://192.168.50.2:5001/get/213/thumbnail0000PNG_TN_Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv.png</res>
<upnp:albumArtURI xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" dlna:profileID="JPEG_SM">http://192.168.50.2:5001/get/213/thumbnail0000JPEG_SM_Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv.jpg</upnp:albumArtURI>
<upnp:albumArtURI xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" dlna:profileID="JPEG_TN">http://192.168.50.2:5001/get/213/thumbnail0000JPEG_TN_Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv.jpg</upnp:albumArtURI>
<upnp:albumArtURI xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" dlna:profileID="PNG_LRG">http://192.168.50.2:5001/get/213/thumbnail0000PNG_LRG_Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv.png</upnp:albumArtURI>
<upnp:albumArtURI xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" dlna:profileID="PNG_TN">http://192.168.50.2:5001/get/213/thumbnail0000PNG_TN_Rick.and.Morty.S06E01.1080p.WEBRip.x264-BAE.mkv.png</upnp:albumArtURI>
<upnp:class>object.item.videoItem.movie</upnp:class>
</item>
...
...
<item id="224" parentID="212" restricted="1">
<dc:title>Rick.and.Morty.S06E10.1080p.x265-ELiTE</dc:title>
<dc:date>2022-12-11T23:15:57</dc:date>
<upnp:rating>0</upnp:rating>
<upnp:episodeSeason>6</upnp:episodeSeason>
<upnp:episodeNumber>10</upnp:episodeNumber>
<upnp:seriesTitle>Rick and Morty</upnp:seriesTitle>
<upnp:playbackCount>2</upnp:playbackCount>
<upnp:lastPlaybackTime>2022-12-12 00:10:04.471</upnp:lastPlaybackTime>
<upnp:lastPlaybackPosition>0:00:05.000</upnp:lastPlaybackPosition>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" bitrate="209144" colorDepth="8" duration="0:22:00.616" nrAudioChannels="6" protocolInfo="http-get:*:video/x-matroska:DLNA.ORG_OP=01" resolution="1920x1080" sampleFrequency="48000" size="276199388">http://192.168.50.2:5001/get/224/Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_RES_320_180;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="320x180" size="2116">http://192.168.50.2:5001/get/224/thumbnail0000JPEG_RES320x180_Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv.jpg</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="320x180" size="2116">http://192.168.50.2:5001/get/224/thumbnail0000JPEG_SM_Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv.jpg</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="160x90">http://192.168.50.2:5001/get/224/thumbnail0000JPEG_TN_Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv.jpg</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/png:DLNA.ORG_PN=PNG_LRG;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="320x180">http://192.168.50.2:5001/get/224/thumbnail0000PNG_LRG_Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv.png</res>
<res xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" protocolInfo="http-get:*:image/png:DLNA.ORG_PN=PNG_TN;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00900000000000000000000000000000" resolution="160x90">http://192.168.50.2:5001/get/224/thumbnail0000PNG_TN_Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv.png</res>
<upnp:albumArtURI xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" dlna:profileID="JPEG_SM">http://192.168.50.2:5001/get/224/thumbnail0000JPEG_SM_Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv.jpg</upnp:albumArtURI>
<upnp:albumArtURI xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" dlna:profileID="JPEG_TN">http://192.168.50.2:5001/get/224/thumbnail0000JPEG_TN_Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv.jpg</upnp:albumArtURI>
<upnp:albumArtURI xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" dlna:profileID="PNG_LRG">http://192.168.50.2:5001/get/224/thumbnail0000PNG_LRG_Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv.png</upnp:albumArtURI>
<upnp:albumArtURI xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" dlna:profileID="PNG_TN">http://192.168.50.2:5001/get/224/thumbnail0000PNG_TN_Rick.and.Morty.S06E10.1080p.x265-ELiTE.mkv.png</upnp:albumArtURI>
<upnp:class>object.item.videoItem.movie</upnp:class>
</item>
</DIDL-Lite>
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: Kodi 19.3 Showing episode titles instead of File Names
Well .... shit!!!!
I've confirmed the "Replace file names with library titles" option is turned off in Kodi.
Kodi forums say it's on the UMS side
UMS forums say the logs show it's on the Kodi side

I've confirmed the "Replace file names with library titles" option is turned off in Kodi.
Kodi forums say it's on the UMS side
UMS forums say the logs show it's on the Kodi side

Re: Kodi 19.3 Showing episode titles instead of File Names
Yeah I would say it is on Kodi's side. UMS is giving all the correct information but Kodi is choosing to use the episode name to display and sort.
I had a quick look on the Kodi website and it's wiki but did not dig too deep. I did see that there is a Sideblade Menu and it has a "sort by" option
I would assume this would sort by episode number too.
I don't know if Kodi creates logs but would be interesting to see what it is doing if you can post some to compare.
There is the option to turn of UPnp but I don't know what effect this will have on how UMS works. That setting is in General settings > Services > UPnP/DLNA service
I had a quick look on the Kodi website and it's wiki but did not dig too deep. I did see that there is a Sideblade Menu and it has a "sort by" option
Code: Select all
Sort by
Select how the list of Movies/TV Shows/Episodes are sorted: e.g. Title, PlayCount etc
I don't know if Kodi creates logs but would be interesting to see what it is doing if you can post some to compare.
There is the option to turn of UPnp but I don't know what effect this will have on how UMS works. That setting is in General settings > Services > UPnP/DLNA service
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.