scanner: Clean up non-destructive rescan
Fix several issues with the non-destructive rescan functionality. Most of these issues also affected inotify scanning as well. These include annoying debug messages, adding album art for files that we aren't supposed to be scanning anyway, incrementing the UpdateID when no changes were made to the database, and other smaller issues.
This commit is contained in:
2
utils.h
2
utils.h
@ -90,6 +90,8 @@ int is_image(const char * file);
|
||||
int is_playlist(const char * file);
|
||||
int is_caption(const char * file);
|
||||
#define is_nfo(file) ends_with(file, ".nfo")
|
||||
media_types get_media_type(const char *file);
|
||||
media_types valid_media_types(const char *path);
|
||||
|
||||
int is_album_art(const char * name);
|
||||
int resolve_unknown_type(const char * path, media_types dir_type);
|
||||
|
Reference in New Issue
Block a user