]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
DVR: fix file moved - save the internal database, fixes #4020
authorJaroslav Kysela <perex@perex.cz>
Wed, 12 Oct 2016 14:37:55 +0000 (16:37 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 12 Oct 2016 14:37:55 +0000 (16:37 +0200)
src/dvr/dvr_db.c

index fb3804a21ec6472bd8175dd4c8c866a227d42572..fc73e383396307d1b0f9bede1d4db1d4ebd5499d 100644 (file)
@@ -3678,6 +3678,7 @@ dvr_entry_file_moved(const char *src, const char *dst)
           htsmsg_set_str(m, "filename", dst);
           dvr_vfs_refresh_entry(de);
           r = 0;
+          chg++;
         }
       }
     if (chg)