mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 05:34:58 -05:00
[library] Rename 'library_process_media' to 'library_add_media'
This commit is contained in:
@@ -456,7 +456,7 @@ process_regular_file(char *file, struct stat *sb, int type, int flags, int dir_i
|
||||
}
|
||||
}
|
||||
|
||||
library_process_media(&mfi);
|
||||
library_add_media(&mfi);
|
||||
|
||||
cache_artwork_ping(file, sb->st_mtime, !is_bulkscan);
|
||||
// TODO [artworkcache] If entry in artwork cache exists for no artwork available, delete the entry if media file has embedded artwork
|
||||
|
||||
@@ -267,7 +267,7 @@ scan_playlist(char *file, time_t mtime, int dir_id)
|
||||
|
||||
snprintf(virtual_path, PATH_MAX, "/http:/%s", mfi.title); //TODO can title be null at this point?
|
||||
mfi.virtual_path = strdup(virtual_path);
|
||||
library_process_media(&mfi);
|
||||
library_add_media(&mfi);
|
||||
}
|
||||
/* Regular file, should already be in library */
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user