Retry adding to library - NATIVE scanner

Issue #859 resolved
DenyAll created an issue

When using the NATIVE scanner there is a chance that ffmpeg fails to identify the file as a valid media file, and the file is not added to the library.

This occurs if the file creation event, and the ffmpeg scan, occurs prior to the file being fully copied/downloaded into the folder - in this case insufficient information may have been downloaded in the file for ffmpeg to determine that it is a valid media file.

In this case the file is never added to the library.

Propose that the scheme to add files to the library be modified to re-try the ffmpeg detection, and therefore retry adding the file to the library. See http://forum.serviio.org/viewtopic.php?f=8&p=99218#p99214 for one suggested scheme, but there may be better approaches.

Will try and capture additional information in a log file to assist.

Comments (4)

  1. Log in to comment