monitor: Support NFO file changes

Detect when a .nfo file changes, and rescan metadata for the associated
video file.
This commit is contained in:
Justin Maggard
2017-08-22 15:30:10 -07:00
parent c8665bcf40
commit 9e534c56fd
10 changed files with 87 additions and 59 deletions

View File

@ -249,6 +249,8 @@ strip_ext(char *name)
{
char *period;
if (!name)
return NULL;
period = strrchr(name, '.');
if (period)
*period = '\0';