Re: Updated UMS sees only folder but no video files
Posted: Wed Sep 03, 2025 12:58 am
Thanks for that, mik_s! Had a bit of time there this morning; I discovered that with the Docker container version, the regular web-GUI way of enabling trace logs doesn't work (when the server restarts, it stays in debug log mode), so I had to use the config file to enable trace logs. I set that up, wiped the DB and started fresh again.
From the extra logs, I can see that the 15 I was seeing was part of a request coming from the Xbox 360 itself; when choosing "Universal Media Server" in the Xbox's System Video Player, the following appears in UMS's logs:
To which UMS replies with a list of basic device details, icons, and a list of three available services (ContentDirectory, ConnectionManager, and MediaReceiverRegistrar). The Xbox then replies with the following:
So it looks like it's requesting to browse the direct children of ContainerID 15... which apparently UMS doesn't know anything about:
So ultimately it sends that UPnPError 701 back to the Xbox, and the Xbox just shows "No videos found."
I don't know enough about DLNA to know what the <ContainerID>15</ContainerID> request from the Xbox relates to, or where it might be getting "15" from - where do you think I should go from here? Is this still something appropriate for the forum here, or should I post a bug report over in Github?
Cheers!
From the extra logs, I can see that the 15 I was seeing was part of a request coming from the Xbox 360 itself; when choosing "Universal Media Server" in the Xbox's System Video Player, the following appears in UMS's logs:
Code: Select all
DEBUG 2025-09-02 13:20:04.367 [jupnp-sync-protocol 809-1] Received a request from 10.0.1.28:
============================= UPNP HTTP SERVER REQUEST BEGIN ================================
GET /dev/1c7415f1-74d0-4833-a9f8-63a24a169fe9/desc HTTP/1.1
HEADER:
User-Agent: Xbox/2.0.17559.0 UPnP/1.0 Xbox/2.0.17559.0
Connection: keep-alive
Host: 10.0.1.20:5001
============================= UPNP HTTP SERVER REQUEST END ==================================
TRACE 2025-09-02 13:20:04.368 [jupnp-sync-protocol 809-1] Matched media renderer "Xbox 360" based on address 10.0.1.28
DEBUG 2025-09-02 13:20:04.368 [jupnp-sync-protocol 809-1] Recognized media renderer "Xbox 360"
Code: Select all
DEBUG 2025-09-02 13:20:06.827 [jupnp-sync-protocol 815-1] Received a request from 10.0.1.28:
============================= UPNP HTTP SERVER REQUEST BEGIN ================================
POST /dev/1c7415f1-74d0-4833-a9f8-63a24a169fe9/svc/upnp-org/ContentDirectory/action HTTP/1.1
HEADER:
User-Agent: Xbox/2.0.17559.0 UPnP/1.0 Xbox/2.0.17559.0
Connection: keep-alive
Host: 10.0.1.20:5001
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
Content-Type: text/xml; charset="utf-8"
Content-Length: 579
CONTENT:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<ContainerID>15</ContainerID>
<BrowseFlag>BrowseDirectChildren</BrowseFlag>
<Filter>REDACTED because the forum spam filter thought this contained email addresses; filtering based on title, resolution, duration, bitrate, genre, actor and codec</Filter>
<StartingIndex>0</StartingIndex>
<RequestedCount>1000</RequestedCount>
<SortCriteria>+upnp:class,+dc:title</SortCriteria>
</u:Browse>
</s:Body>
</s:Envelope>
============================= UPNP HTTP SERVER REQUEST END ==================================
Code: Select all
TRACE 2025-09-02 13:20:06.828 [jupnp-sync-protocol 815-1] Matched media renderer "Xbox 360" based on address 10.0.1.28
DEBUG 2025-09-02 13:20:06.828 [jupnp-sync-protocol 815-1] Recognized media renderer "Xbox 360"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "TV Shows" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "Movies" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "3D Movies" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "Unsorted" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "Recently Added" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "Recently Played" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "In Progress" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "Most Played" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "All Videos" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "By Date" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "4K Videos" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "HD Videos" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "SD Videos" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "DVD Images" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "Video" with class "LocalizedStoreContainer"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "All Audio Tracks" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.829 [jupnp-sync-protocol 815-1] Adding new child "All Audio Playlists" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "By Artist" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "By Album" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "By Genre" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "By Artist/Album" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "By Genre/Artist/Album" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "By Date" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "By Letter/Artist/Album" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "Audio" with class "LocalizedStoreContainer"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "All Photos" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "By Date" with class "MediaLibraryFolder"
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "Photo" with class "LocalizedStoreContainer"
DEBUG 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Discovering the root folder for Xbox 360
TRACE 2025-09-02 13:20:06.830 [jupnp-sync-protocol 815-1] Adding new child "Media Library" with class "MediaLibrary"
TRACE 2025-09-02 13:20:06.839 [jupnp-sync-protocol 815-1] Adding new child "media" with class "RealFolder"
TRACE 2025-09-02 13:20:06.840 [jupnp-sync-protocol 815-1] try recreating resource with id '15'
TRACE 2025-09-02 13:20:06.840 [jupnp-sync-protocol 815-1] resource with id '15' was not found in database
TRACE 2025-09-02 13:20:06.840 [jupnp-sync-protocol 815-1] try recreating resource with id '15'
TRACE 2025-09-02 13:20:06.840 [jupnp-sync-protocol 815-1] resource with id '15' was not found in database
DEBUG 2025-09-02 13:20:06.840 [jupnp-sync-protocol 815-1] Bad id 15 found in path
TRACE 2025-09-02 13:20:06.841 [jupnp-sync-protocol 815-1] try recreating resource with id '15'
TRACE 2025-09-02 13:20:06.841 [jupnp-sync-protocol 815-1] resource with id '15' was not found in database
DEBUG 2025-09-02 13:20:06.841 [jupnp-sync-protocol 815-1] Trying to browse direct children on a null object for objectID '15' !
TRACE 2025-09-02 13:20:06.842 [jupnp-sync-protocol 815-1] Preparing HTTP response message: (OutgoingActionResponseMessage) 500 Internal Server Error
TRACE 2025-09-02 13:20:06.842 [jupnp-sync-protocol 815-1] Sending HTTP response status: 500
DEBUG 2025-09-02 13:20:06.846 [jupnp-sync-protocol 815-1] Response sent to 10.0.1.28:
============================= UPNP HTTP SERVER RESPONSE BEGIN ===============================
HTTP/1.1 500
HEADER:
Server: Linux-amd64-5.10.60-qnap, UPnP/1.0 DLNADOC/1.50, UMS/15.0.0
Date: Tue, 02 Sep 2025 12:20:06 GMT
Ext:
Content-type: text/xml;charset="utf-8"
Content-Length: 472
CONTENT:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>701</errorCode>
<errorDescription>The specified ObjectID is invalid</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
============================= UPNP HTTP SERVER RESPONSE END =================================
I don't know enough about DLNA to know what the <ContainerID>15</ContainerID> request from the Xbox relates to, or where it might be getting "15" from - where do you think I should go from here? Is this still something appropriate for the forum here, or should I post a bug report over in Github?
Cheers!