FAQ  •  Register  •  Login

Editing the media library DB

<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Sat Jan 14, 2012 4:57 pm

Editing the media library DB

What would be the best way to edit the derby DB? I'm not too familiar with Derby, so I'm looking here to see if anyone has any suggestions. The main reason I want to do this is because I have a few movies that Serviio has got wrong or just can't find and I would like to add/correct them manually.

Thanks.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Jan 14, 2012 5:05 pm

Re: Editing the media library DB

The easiest way to do what you want is to correct the file/folder naming for the movies.

If you have check for updates turned on, any changes you make will most likely get overridden if you start playing around in the DB.

What are the file/folder names for the ones that aren't working?
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Sat Jan 14, 2012 5:12 pm

Re: Editing the media library DB

CraigD wrote:What would be the best way to edit the derby DB? I'm not too familiar with Derby, so I'm looking here to see if anyone has any suggestions. The main reason I want to do this is because I have a few movies that Serviio has got wrong or just can't find and I would like to add/correct them manually.

Thanks.


There is a windows script that should help with your problem, if you are using windows.

http://forum.serviio.org/viewtopic.php?f=17&t=3865
  Code:
This VBs Script (Windows Only) will parse the Serviio.log file looking for films which failed online Metadata lookup with an error... Ie time out/Connection error while querying the online database and will Move them to another folder so they can be reimported to force Metadata Rescan.

Any film found with MetaData lookup errors will be moved from it's current location to <Film Drive>\Temp\Serviio\<subfolders> (Keeping your folder structure). With the films moved to a new folder Serviio will remove the films from the database (about an hour). Once the films have been removed from the database manually copy the films back to their original location to get Serviio to rescan Metadata for just these films.

When run the script will ask for the root path to your films.. IE x:\myfilms it uses this in conjunction with Serviio.log to identify series folders so it can keep the folder structure. Each film with a lookup error will be moved to <Film Drive>\temp\Serviio\<Sub Folders>

This script is designed to enable you to rescan just films which got metadata Errors, so you don't have to rescan all the files and maybe get lookup errors on other films.


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
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Sat Jan 14, 2012 5:18 pm

Re: Editing the media library DB

moltra wrote:
CraigD wrote:What would be the best way to edit the derby DB? I'm not too familiar with Derby, so I'm looking here to see if anyone has any suggestions. The main reason I want to do this is because I have a few movies that Serviio has got wrong or just can't find and I would like to add/correct them manually.

Thanks.


There is a windows script that should help with your problem, if you are using windows.

http://forum.serviio.org/viewtopic.php?f=17&t=3865
  Code:
This VBs Script (Windows Only) will parse the Serviio.log file looking for films which failed online Metadata lookup with an error... Ie time out/Connection error while querying the online database and will Move them to another folder so they can be reimported to force Metadata Rescan.

Any film found with MetaData lookup errors will be moved from it's current location to <Film Drive>\Temp\Serviio\<subfolders> (Keeping your folder structure). With the films moved to a new folder Serviio will remove the films from the database (about an hour). Once the films have been removed from the database manually copy the films back to their original location to get Serviio to rescan Metadata for just these films.

When run the script will ask for the root path to your films.. IE x:\myfilms it uses this in conjunction with Serviio.log to identify series folders so it can keep the folder structure. Each film with a lookup error will be moved to <Film Drive>\temp\Serviio\<Sub Folders>

This script is designed to enable you to rescan just films which got metadata Errors, so you don't have to rescan all the files and maybe get lookup errors on other films.




why bother just click recheck video metadata from console.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
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
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Sat Jan 14, 2012 6:41 pm

Re: Editing the media library DB

2 examples of in correctly or missed files:

Leon (1994).m2ts gets pick up as Lion King

Hangover Part II, The.m2ts doesn't find a match
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Jan 14, 2012 7:11 pm

Re: Editing the media library DB

CraigD wrote:2 examples of in correctly or missed files:

Leon (1994).m2ts gets pick up as Lion King

Hangover Part II, The.m2ts doesn't find a match


What are the folders that they are in called?
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Sat Jan 14, 2012 7:17 pm

Re: Editing the media library DB

Leon is under movies/K-O/

Hangover 2 is under movies/F-J/
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Jan 14, 2012 7:49 pm

Re: Editing the media library DB

Can you try putting them into named subfolders with the same name as shown on themoviedb to see if that fixes it.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

WildRushSykes

User avatar

DLNA master

Posts: 290

Joined: Sat Aug 27, 2011 4:38 pm

Location: Eastbourne (UK)

Post Sat Jan 14, 2012 7:52 pm

Re: Editing the media library DB

Leon: The Professional (1994)

The Hangover Part II (2011)

Those are the correct file names :)
Serviio 1.4.1 - Windows 8.1 Pro x64 with Media Center - HP Pavillion G series - PS3 and 4 - 3TB Drive wih 500+ Bluray MKV Movies

Beta Tester and All Plugins Pack Creator

Image
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Sun Jan 15, 2012 7:41 am

Re: Editing the media library DB

come on guys think simple run the files through a file renamer to get correct title and save all the issues.

http://wiki.serviio.org/doku.php?id=therenamer

http://wiki.serviio.org/doku.php?id=filebot
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
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
<<

Fincher

Serviio newbie

Posts: 4

Joined: Thu Sep 20, 2012 7:22 pm

Post Fri Sep 21, 2012 8:36 pm

Re: Editing the media library DB

A file renamer is great if the only issue is that there is just trouble finding the name of a standard movie. Sometimes you have to think more complicated though because there are plenty of times that a file renamer won't help. A couple of my examples.

I have Schindler's List as 2 files because it came on 2 DVDs. It is the same movie, so a file renamer would want them to be called the same thing and Serviio will pull the same metadata for both files. It would be nice if I could make a local edit so I know which is Part 1 and which is Part 2.

I have several movies that are made by me/friends (action sports/etc.) It would be nice to actually populate the metadata for these instead of just looking at the file name. And for this type of file I don't think it makes sense to try to update the central database since it isn't a distributed movie.

Those are just a couple of examples where an ability to edit the local metadata would be very handy and a renamer wouldn't really be able to help much.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 87 guests

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