Feature #454

Need to support auto-detect of new video databases

Added by Hammel about 3 years ago. Updated almost 2 years ago.

Status:NewStart date:29 Jun 2015
Priority:UrgentDue date:
Assignee:Hammel% Done:

0%

Category:Database
Target version:PiBox - 0.12.0
Severity:03 - Medium

Description

VideoFE doesn't support handling of hot-plugged USB sticks. To support these I need to have a thread that continues scanning and updates the local db. This includes plugging in a new stick and removing an existing one. It probably makes sense for the thread to use a double-buffered db: create one and then quickly (via mutex lock) replace the current one.

History

#1 Updated by Hammel about 3 years ago

  • Subject changed from Need to support auto-detect of new libraries to Need to support auto-detect of new video databases

#2 Updated by Hammel about 2 years ago

Actually what I need is to use inotify to watch for directory changes. This is much more efficient than the scanning I'm currently doing. I just need a thread to handle the inotify events.

#3 Updated by Hammel almost 2 years ago

  • Target version changed from 0.11.0 to 0.12.0

Also available in: Atom PDF