mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 20:53:19 -05:00
Some filesystems have mtime=0 (Seafile), so add check for stamp before
letting the scanner exit with just a db ping
This commit is contained in:
parent
519a673503
commit
aa8344d14d
@ -477,7 +477,7 @@ filescanner_process_media(char *path, time_t mtime, off_t size, int type, struct
|
||||
|
||||
db_file_stamp_bypath(path, &stamp, &id);
|
||||
|
||||
if (stamp >= mtime)
|
||||
if (stamp && (stamp >= mtime))
|
||||
{
|
||||
db_file_ping(id);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user