Use added attribute for infuse users
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user