FAQ  •  Register  •  Login

don't immediately delete missing items from the library

<<

jlv

Serviio newbie

Posts: 12

Joined: Sat Oct 09, 2010 5:59 pm

Post Sat Nov 12, 2011 1:34 am

don't immediately delete missing items from the library

The bulk of my media is sitting on my NAS. After a recent power outage, it didn't come back on as fast as my media server. Serviio found that none of the UNC paths worked, so it discarded all of the library meta data for those shares. After I got the NAS back up, it was like starting over with Serviio, as it had to reindex nearly the whole library.

I've got two feature suggestions:

  • if the top level shared folder doesn't exist, don't delete the meta data indexed under it.
    Instead, just mark it invisible (e.g., don't show it to DLNA clients).
    If the folder comes back into existence, then just make the content visible again.
    Only delete the meta data when the shared folder is removed from the library.

  • when indexing media for the first time, separate the discovery/indexing from the classification/thumbnail generation.
    That is, walk the shared folder and initially insert all the files found into the database.
    Separately (and afterwards) revisit all the newly inserted files and thumbnail/classify them.
    This would allow a large library to be indexed fairly quickly.

    Depending upon how this is done, library could possibly be viewed by a DLNA client before all the indexing was done, albeit without thumbnails. It might be that the filetype might need to be initially guessed based upon the file extension.

Thanks for Serviio! (I sent you a donation, too)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Nov 12, 2011 7:27 pm

Re: don't immediately delete missing items from the library


Return to Feature requests

Who is online

Users browsing this forum: No registered users and 20 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.