A little more work on gettign FullDBBuild to update the genres list before
tryign to build everything. Still need to add the changes to the function
that adds movies to the db.
Fopr now I need ot commit to pull new master.
Merge branch 'master' into tagwork
Wokrign on the FUllDBBuild()
hasd a join error, cannto have data ]]> at line 11k-ish
will try again soon!
COuple of changes,a dded a button to just try join lines, so I don't have
to download the API XML over and over again
Pushing the buttons for Full Db Build etc.
WOrking on join lines function so it doesnt read the entire file and run
out of memory.
Need to get the regex to match the three lines so we can safely ignor them
(xml, and root nodes).
I think I have it with the help of a .net regex parser.
Working on join lines still.
Seems to be working, will loop thorugh 2-3 times and try to join lines.
However after it is done the xml read fails on 3D Safari: Ep 4
"Synopsis dos not match open tag of short_synopsis"
Looked at this before joining and it looks like the lines are goofed up
before joining. More investigatin is neccescary.
PLaying with the join lines.
Found the issues with the way i was joining lines together, trying a new
approach now.
Fixed the XML join function, seems to be workign now. Actually the entire
FullDbBuild() works now.
Just need a way to check for duplicates so we can avoid adding them or
so we can remove them later.
Workign on a hash idea to see if we can do it quickly and efficiently;
Workign on the FullDBBUild();
Got most of it working, checks for duplicates in th emovie table before
adding. Need to check for duplicate OMDB entries before adding, otherwise
the FullDbBuild code has been pretty well glued together.
Workign on the OMDB duplicate check. Need to start with a fresh database
as the omdb entries in the db right now are aorund 600k.
the initial list is only 200k, so using a similar method to the movie
duplictae checkl It shoudl take 4-5 seconds to check for duplicates.
Preliminary FullDbBuild / Update method is ocmplete.
Works now to download files, updates genres, adds new movies and omdbs.
Hope I didn't bork it too bad for other users / machines.