W dniu 24.01.2015 o 14:52, Jens Georg pisze: > On Sa, 2015-01-24 at 14:47 +0100, Julian Sikorski wrote: >>> >>> >> Thank you for this pointer. Now I at least know what the device is >> supposed to do. It is true that within particular folders, the files are >> sorted by date in an ascending order, which makes sense I guess. >> However, the folders themselves do not appear to be sorted by creation >> time. I tried using >> $ ls -t >> to see whether the order would be the same, but it is not. Where is >> rygel taking the dates from? > > Mh. mtime should be the time in question. Can you use gupnp-av-cp and > check an item's or folder's DIDL-Lite date and compare with the time you > get with ls -t? > > I checked a jpeg picture. The dc:date shown by gupnp-av-cp seems to be the same as the one reported by stat's Modify timestamp. For folders, however, there seems to be do dc:date at all:
<?xml version="1.0" encoding="UTF-8"?> <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:dlna="urn:schemas-dlna-org:metadata-1-0/"> <container parentID="67af538d1876dfa876e02ce9b2651874" id="77310bf2445256b5202efca3662aa77a" childCount="1" searchable="1" restricted="0" dlna:dlnaManaged="0000000f"> <dc:title>2015</dc:title> <upnp:class>object.container</upnp:class> <upnp:containerUpdateID>39123</upnp:containerUpdateID> <upnp:objectUpdateID>39123</upnp:objectUpdateID> <upnp:totalDeletedChildCount>0</upnp:totalDeletedChildCount> <upnp:searchClass includeDerived="1">object.item.imageItem</upnp:searchClass> <upnp:searchClass includeDerived="1">object.item.imageItem.photo</upnp:searchClass> <upnp:searchClass includeDerived="1">object.item.videoItem</upnp:searchClass> <upnp:searchClass includeDerived="1">object.item.audioItem</upnp:searchClass> <upnp:searchClass includeDerived="1">object.item.audioItem.musicTrack</upnp:searchClass> <upnp:searchClass includeDerived="1">object.item.playlistItem</upnp:searchClass> <upnp:searchClass includeDerived="1">object.container</upnp:searchClass> <upnp:createClass includeDerived="0">object.item.imageItem</upnp:createClass> <upnp:createClass includeDerived="0">object.item.imageItem.photo</upnp:createClass> <upnp:createClass includeDerived="0">object.item.videoItem</upnp:createClass> <upnp:createClass includeDerived="0">object.item.audioItem</upnp:createClass> <upnp:createClass includeDerived="0">object.item.audioItem.musicTrack</upnp:createClass> <upnp:createClass includeDerived="0">object.item.playlistItem</upnp:createClass> <upnp:createClass includeDerived="0">object.container</upnp:createClass> <res protocolInfo="http-get:*:text/xml:DLNA.ORG_PN=DIDL_S;DLNA.ORG_FLAGS=00f00000000000000000000000000000">http://127.0.0.1:52404/MediaExport/i/NzczMTBiZjI0NDUyNTZiNTIwMmVmY2EzNjYyYWE3N2E%3D/pl/DIDL_S.xml</res> <res protocolInfo="http-get:*:audio/x-mpegurl:*">http://127.0.0.1:52404/MediaExport/i/NzczMTBiZjI0NDUyNTZiNTIwMmVmY2EzNjYyYWE3N2E%3D/pl/M3U.m3u</res> </container> </DIDL-Lite> _______________________________________________ rygel-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/rygel-list
