MyVideos database and no internet connection - use local grabber/nfo script? (1 Viewer)

CathodeRay

Portal Member
August 2, 2012
41
5
50
United Kingdom United Kingdom
MP 1.2.2, recently upgraded to 1.2.3

I have a set of folders, by genre, each containing video files (mostly .mpg/.mp4/.ts) and try as I might, I cannot get MP to scan the folder and add the files to the video database to allow anything but the Shares View. The database tables remain empty (checked with a sqlite browser) apart from VideoThumbList, Duration, Files, Movie, Path and Resume. Nothing shows up in the video database editor in MP Config (just one blank entry, 'New').

I have a somewhat strong suspicion this is because I do not have an internet connection on the PC MP is on. Once, I did get a set of IMDB connection attempts, but of course they failed. Most times MP has the update button just grey out briefly, and then go back to normal. I tried all the different scan options.

I tried creating a local grabber script, very crude, just using the file name (which is the video/movie name, with or without year details, eg Gone with the Wind.mpg ); I also tried another home made grabber to use on local xml (nfo) files such as are generated by MP TV recorder. Both failed, probably because my csscript files were seriously broken. It may be the xml (nfo) files (or jpgs present in the folder, eg from MP TV recordings), when present, were natively being used by MP to fill the VideoThumbList table. But none of the other tables got filled, and all views apart from 'Shares View' remain empty.

So my question is: is there a local grabber script available that can use local xml (nfo) files to get video files into MP's video database? I'm not after anything fancy, just basic entries, and the ability to view by Year/Genre etc and a Watched status view I created (all such views show up empty when selected). If not, is there a way to load/update the video database with the need for an internet connection turned off, so it doesn't try (and fail) to connect to the internet?

I attach a config log file (the only log file that changed) generated while I opened MP config, reset (deleted) the video database, and tried a few rescans. Looks like cornerstone.dll isn't going down too well, and that may have something to do with trying out Moving Pictures (now disabled, because too complicated for my needs, and didn't solve the problem) but the failure of MyVideo to load the videos happened before and after trying Moving Pictures, and another thread suggests this cornerstone thing may be a red herring.

Many thanks.
 

Attachments

CathodeRay

Portal Member
August 2, 2012
41
5
50
United Kingdom United Kingdom
Yes, sort of, though it is more of a workaround than a direct solution, but it does have a silver lining.

I found a rather good freeware video database called Personal Video Database (http://www.videodb.info/forum_en/) which crucially has the ability to import from text files and export to MP. You need to modify (or copy and then modify) PVD's text import plugin, which is basically a scraper that goes through text files (such as MP's xml (nfo) files) collecting everything between 'X' and 'Z' and putting it into a PVD field. You then export the records to MP's MyVideos database and Bingo! the data shows up.

The silver lining is that if you run PVD as a portable app off a USB stick, you can then run it on another PC that does have an internet connection, and scrape IMDB or wherever and collect loads more data (and images) - if the fancy takes you. PVD also has a very good forum with lots of useful help and advice.

Hope that helps!
 

AdiLee

New Member
October 3, 2012
2
0
Anguilla Anguilla
Awesome, thanks so much for this. Trying it out now but i see the poster arent so good from amazon. But will check how the export to mp goes. Thanks again!!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
Lehmden [Videos] More filename possibility for MyVideos local fanart. Improvement Suggestions 26
F How to reset tv recordings database General 5
A Synchronizing client databases MediaPortal 1 Talk 10
R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
globaldonkey Music Database Error Listen Music 1
R [solved] Files moved to new location - Easy way to update database? My TVSeries 7
R Files moved to different location - Easy way to update database? Moving Pictures 2
H [solved] Video database genres, sort titles and collection thumbnails Newcomers Forum 12
G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
D PC rebuild & MP2 upgrade - how to preserve database and settings? General 1
H MP1.21F video database scan, can it be scheduled to automatically run in background General Support 5
D Large xml database in My Movies Management. I remain unclear on use My Films as bridge to MP2.2 General 9
ajs Sync databases by Media Sync Service MediaPortal 1 Talk 26
J Database schema General 0
W [solved] MP 1.20 Video IMDB no showing plot General Support 129
hounddog How to get My Films working in MP 1.20 My Films 5
C How well can MediaPortal handle 10,000+ recordings? MediaPortal 1 Talk 3
H Database migration Archive 85
D Single Seat Install - can another single seat use the same databases? Installation, configuration support 1
P [Resolved] Missing column in database My TVSeries 7
M Need advice on writing plugin that modifies EPG database TV-Server 2
A Database Update General 2
Lehmden Maintain Table "Recording" in TVE database Archive 11
ajs Trakt crashed Mediaportal if no Internet in home lan Trakt 2
T Web/ Internet Radio Radio 24
Similar threads

























Top Bottom