Use added attribute for infuse users

This commit is contained in:
Ben Sarmiento
2024-01-23 00:28:54 +01:00
parent e117b5e75a
commit 1640ef4c7e
2 changed files with 2 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ enable_repair: true
# this is useful for ensuring Plex adds your new content immediately # this is useful for ensuring Plex adds your new content immediately
# uncomment the next line for triggering a partial scan # uncomment the next line for triggering a partial scan
# on_library_update: sh plex_update.sh "$@" # on_library_update: sh plex_update.sh "$@"
# on_library_update: '& C:\zurg\plex_udpdate.ps1 $args'
on_library_update: | on_library_update: |
for arg in "$@" for arg in "$@"
do do

View File

@@ -87,7 +87,7 @@ func ServeFilesListForInfuse(directory, torrentName string, torMgr *torrent.Torr
if dirCfg.OnlyShowFilesWithSizeGte > 0 && file.Bytes < dirCfg.OnlyShowFilesWithSizeGte { if dirCfg.OnlyShowFilesWithSizeGte > 0 && file.Bytes < dirCfg.OnlyShowFilesWithSizeGte {
continue continue
} }
buf.WriteString(dav.File(filename, file.Bytes, file.Ended)) buf.WriteString(dav.File(filename, file.Bytes, tor.Added))
} }
buf.WriteString("</d:multistatus>") buf.WriteString("</d:multistatus>")
return buf.Bytes(), nil return buf.Bytes(), nil