FAQ  •  Register  •  Login

MetaData Rescanning

<<

mike.clayton999

Streaming enthusiast

Posts: 43

Joined: Tue Feb 08, 2011 1:30 pm

Post Tue Oct 25, 2011 6:35 am

MetaData Rescanning

Hi Petr

First, thanks for 0.6.0.1 the new features are excellent.

Now the log file log "WARN" for meta data lookups which fail, I have been able to identify (with ease) the 134 films that I had which the Online lookup failed on. Most of the Online lookup failures were just timeouts from the website so can Serviio be configured to...

a) Rescan automatically any move which dont have Metadata associated with it.
b) Have a method to just scan meta data for films without any.

You have a Rescan video metadata button but the problem with this is it rescans everything and any film that already has metadata but then gets a timeout while rescanning will loose it's metadata. This means that I fix the ones I detected earlier but loose metadata for ones I already had metadata for. If this could be changed so it only overwrites the metadata on a successful lookup...

Serviio is a fantastic product and the best I have used. Looking forward to 0.6.1

Mike
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 25, 2011 8:15 am

Re: MetaData Rescanning

mike.clayton999 wrote:You have a Rescan video metadata button but the problem with this is it rescans everything and any film that already has metadata but then gets a timeout while rescanning will loose it's metadata. This means that I fix the ones I detected earlier but loose metadata for ones I already had metadata for. If this could be changed so it only overwrites the metadata on a successful lookup...

And what if it gets metadata, but they are wrong? Then you'd be stuck with this for ever ;-)
<<

mike.clayton999

Streaming enthusiast

Posts: 43

Joined: Tue Feb 08, 2011 1:30 pm

Post Tue Oct 25, 2011 6:08 pm

Re: MetaData Rescanning

Hi Petr.

That is a very valid point, you need a means to be able to refresh all films so you don't get stuck with incorrect data. What I was thinking was when you are doing a full rescan of all films, if you already have metadata for a film and you get an "error" (oppose to not found) when it is downloading the metadata don't delete the data you already have. If the metadata selected on the original scan was incorrect you would still be able to replace the metadata by correcting the name of the film and doing a rescan, on successful metadata download replace what is in the database. If you get an error while downloading the Metadata don't overwrite what is already there.

For now I have just written a small vbs which parses the serviio.log file looking for "WARN [LibraryManager] Cannot read metadata" then it moves the file out the folder for an hour and then moves it back giving Serviio time to remove it from the database and then re-add it.

Mike
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Tue Oct 25, 2011 7:36 pm

Re: MetaData Rescanning

mike.clayton999 wrote:For now I have just written a small vbs which parses the serviio.log file looking for "WARN [LibraryManager] Cannot read metadata" then it moves the file out the folder for an hour and then moves it back giving Serviio time to remove it from the database and then re-add it.

Mike


The script is a great IDEA. Can you post it under third party apps?
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 25, 2011 10:38 pm

Re: MetaData Rescanning

mike.clayton999 wrote:Hi Petr.

That is a very valid point, you need a means to be able to refresh all films so you don't get stuck with incorrect data. What I was thinking was when you are doing a full rescan of all films, if you already have metadata for a film and you get an "error" (oppose to not found) when it is downloading the metadata don't delete the data you already have. If the metadata selected on the original scan was incorrect you would still be able to replace the metadata by correcting the name of the film and doing a rescan, on successful metadata download replace what is in the database. If you get an error while downloading the Metadata don't overwrite what is already there.

For now I have just written a small vbs which parses the serviio.log file looking for "WARN [LibraryManager] Cannot read metadata" then it moves the file out the folder for an hour and then moves it back giving Serviio time to remove it from the database and then re-add it.

Mike

Mike,
I get your point. Serviio is using priority based metadata extraction, so you might have (and in future will have) multiple metadata extractors defined. So the online check might fail, but then there is a local XMBC file that includes the required data. So I can't just decide based on one of the extractors failing.

The script is a good idea, way to go!

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 11 guests

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