[library] Rename 'library_process_media' to 'library_add_media'

This commit is contained in:
chme
2017-02-12 16:03:01 +01:00
committed by ejurgensen
parent dadba23efc
commit bdd08f516f
5 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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