Force files check and ffmpeg

Issue #101 wontfix
Marc created an issue

I think the forced file check should only redo thumbnails using ffmpeg if the file really changed. A hash of the file could be stored to check for that.

Comments (4)

  1. Petr Nejedly repo owner

    FFmpeg is only run when the last modified date of a file has changed. So it should not be invoked on Force check if the file has already been added to the library.

  2. Marc reporter

    What about renamed/moved files? I think the hash method would reduce the overhead of things to do if a file was only renamed/moved.

    Thanks!

  3. Former user Account Deleted

    FFmpeg is only run when the last modified date of a file has changed.

    I'm watching with process explorer and with version 0.5 I'm seeing FFmpeg being run on every file in my library every time a force refresh is done, and every time the period between refresh expires.

    The FFmpeg on some of my dvr-ms files are taking > 40 seconds on a 2.8GH machine. "C:\Program Files\Serviio\bin\..\lib\ffmpeg.exe" -i "Y:\Recorded TV\60 Minutes_WCBSDT_01_08_2010_18_59_02.dvr-ms" -an -ss 120 -vframes 1 -f image2 pipe: So I had to uncheck "keep library automatically updated" because it would never finish in 99 minutes

  4. Log in to comment