magimagi 0 Posted March 15, 2021 Share Posted March 15, 2021 Cannot sort items by date. Confirmed with the following multiple DLNA clients. 1. PlayerXtream on iPhone The order does not change. It remain in name order. 2. kodi on windows Same as above. It remain in the previous order. 3. Pigasus on Oculus Quest 2 It became in a random order. 4. SKYBOX on Oculus Go Same as above. It seems that the "date added" has not been sent to the DLNA client. Link to comment Share on other sites More sharing options...
Luke 37099 Posted March 15, 2021 Share Posted March 15, 2021 HI, are you able to sort on other criteria? Link to comment Share on other sites More sharing options...
magimagi 0 Posted March 15, 2021 Author Share Posted March 15, 2021 Yes. I can sort by name and size. I haven't set any other metadata. Link to comment Share on other sites More sharing options...
Luke 37099 Posted March 15, 2021 Share Posted March 15, 2021 OK I'm going to have to look at how to put this in dlna didl information because i don't think there is a standard field for that. Kodi supports their own proprietary field which is xbmc:dateadded So we could write that out, but that's not going to help with the other three apps you're mentioning. Link to comment Share on other sites More sharing options...
magimagi 0 Posted March 16, 2021 Author Share Posted March 16, 2021 When Serviio and Kodi were run as DLNA servers, Pigasus, SKYBOX and Kodi can sort by date, so I analyzed the communication contents using a network protocol analyzer (Wireshark). As a result, it was found that Serviio and Kodi sent "dc: date" as added date, but Emby did not. Perhaps I think "dc: date" is commonly used as a property to mean added date. Please improve Emby to set the added date to "dc: date" and send it to the client. Below is an excerpt from Wireshark's packet capture. Quote Serviio <item id="V_F^FOL*R14$MI220203" parentID="V_F^FOL*R14" restricted="1"> <dc:title>BOOYAHVR-001_TB_360.mkv</dc:title> <upnp:class>object.item.videoItem</upnp:class> <upnp:albumArtURI dlna:profileID="JPEG_TN">http://192.168.1.100:8895/resource/386447/COVER_IMAGE</upnp:albumArtURI> <upnp:icon>http://192.168.1.100:8895/resource/386447/COVER_IMAGE</upnp:icon> <dc:date>2020-11-20</dc:date> <upnp:rating>Unknown</upnp:rating> <res bitrate="734250" duration="0:11:52.000" protocolInfo="http-get:*:video/x-matroska:DLNA.ORG_PN=AVC_MKV_HP_HD_AAC_MULT5;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000" resolution="2160x2160" size="522879217">http://192.168.1.100:8895/resource/220203/MEDIA_ITEM/AVC_MKV_HP_HD_AAC_MULT5-0/ORIGINAL</res> <res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00D00000000000000000000000000000" resolution="160x160">http://192.168.1.100:8895/resource/386447/COVER_IMAGE</res> </item> Kodi <item id="P:\Videos\VR\BOOYAHVR-001_TB_360.mkv" parentID="P:\Videos\VR\" restricted="1"> <dc:title>BOOYAHVR-001_TB_360</dc:title> <dc:creator>Unknown</dc:creator> <dc:date>2020-11-20</dc:date> <dc:publisher>Unknown</dc:publisher> <upnp:genre>Unknown</upnp:genre> <upnp:episodeSeason>0</upnp:episodeSeason> <res size="522879217" protocolInfo="http-get:*:video/x-matroska:DLNA.ORG_OP=01;DLNA.ORG_CI=0">http://192.168.1.100:1592/%25/8f0e65793d8db9f8e70bb0cdfc4959e1/BOOYAHVR-001_TB_360.mkv</res> <res size="522879217" protocolInfo="http-get:*:video/x-matroska:DLNA.ORG_OP=01;DLNA.ORG_CI=0">http://192.168.56.1:1592/%25/8f0e65793d8db9f8e70bb0cdfc4959e1/BOOYAHVR-001_TB_360.mkv</res> <xbmc:rating>0.0</xbmc:rating> <xbmc:userrating>0</xbmc:userrating> <upnp:class>object.item.videoItem</upnp:class> </item> Emby <item restricted="1" id="2430" parentID="2429"> <dc:title>BOOYAHVR-001_TB_360</dc:title> <upnp:class>object.item.videoItem.musicVideoClip</upnp:class> <res duration="00:11:52.0440000" size="522879217" nrAudioChannels="2" resolution="2160x2160" sampleFrequency="48000" bitrate="6066684" protocolInfo="http-get:*:video/x-matroska:DLNA.ORG_PN=MATROSKA;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000">http://192.168.1.100:8096/videos/2430/stream.mkv?DeviceId=eec8bab67a3cd4c702fa90155680f81e&MediaSourceId=700dbf79243c1a0a96b3be590a80e814&Static=true&PlaySessionId=32bf1e83729883dd6c58a2bd44815ee5</res> <upnp:albumArtURI dlna:profileID="JPEG_SM">http://192.168.1.100:8096/Items/2430/Images/Primary/0/646099ad7b102fc25dc3a3e7abf0c6ad/jpg/480/480/0/0</upnp:albumArtURI> <upnp:icon>http://192.168.1.100:8096/Items/2430/Images/Primary/0/646099ad7b102fc25dc3a3e7abf0c6ad/jpg/48/48/0/0</upnp:icon> </item> Link to comment Share on other sites More sharing options...
Luke 37099 Posted March 16, 2021 Share Posted March 16, 2021 Ok we actually already are, but we're using the premiere date value, not the date you added it into your library. What we can do to further improve this is, when that value is empty, we can check the release year value and create a date from that. Link to comment Share on other sites More sharing options...
magimagi 0 Posted March 16, 2021 Author Share Posted March 16, 2021 "premiere date" means "release date", right? If so, it's usually not set release date (and release year) for videos that aren't registered in the metadata downloader. So please improve to set the added date to "dc: date", if "release date" is empty. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now