Command Line to reload database
Well actually, what I'm doing is using 2 computers to setup my collection. Computer A is my HTPC and computer B is my downloading/converting/prepping computer.
Computer B does all of my nfo/artwork grabbing and then moves the files over the lan to computer A. Basically, I set it up this way because the wife likes to enjoy watching movies, not enjoy watching me play with kodi. So, computer B takes my downloaded/converted folder full of movies and processes them via filebot, ember and tinymediamanager from command line.

I've tested numerous "problematic" movie titles to scrape nfo/artwork using all 3 programs and so far the program that gives me the least wrong movie scrapes is filebot (actually tinymediamanager, but because it defaults to nothing when multiple titles are found that makes it the worst in my scenario).

1. Rename movie and folder to "Movie Title (Movie Year)"
2. Download .nfo file and .srt subtitle
(I hate the way filebot saves .nfo, very unfriendly towards editing, although it has all the pertinent information)

1. Scrape new nfo
2. Scrape ALL artwork
(Scraping the nfo saves it in a more standard, editable way and gives me extra info that filebot doesn't retrieve.)

1. Scrape HD versions of clearart and clearlogo if available.

Filebot then moves the processed movies into a "complete" folder and copies the log file into this "complete" folder for me.

So, back to the "problematic" scraping of movies.....if I were to scrape these "problematic" movies with ember, it will give me the wrong movie. If I scrape with tiny, it will give me the wrong movie or it will default to nothing, as it needs user input to choose the correct movie(usually with remakes). When I scrape with filebot, I would say a good 95% of the movies are correct. So if filebot scrapes the correct nfo, then ember and tiny can use that nfo to grab the correct movie and download all appropriate artwork. This has worked everytime with the exception of 1 movie so far, thus the reason for copying the log file of filebot so I can double check that it did scrape the correct movie. With that 1 movie, I can manually run tiny and ember media managers to get the correct info.

(2014-09-09, 20:20)Cocotus Wrote: Glad that you figured a way out - so you needed a way to delete the current movie database? May I ask why? Is it because there were outdated entrys in there?

Now that I have all the info and associated artwork I can move these files to computer A (HTPC with Kodi). After I move those files off of computer B, they still stay in my database files for ember and tiny. When I go to scrape new movies by command line it downloads all new medias' files, but ALSO downloads what was already in my database, even though I moved the movies off of the computer. I needed a way to use command line to reload database or just delete the database at the end of scraping everything so I don't end up redownloading artwork, nfo etc etc etc. I realise that I'm using 3 programs to basically do the same thing, but because of my OCD, everything has to be "perfect" and uniform.

Here is my AutoMC.cmd file:

filebot -script fn:amc --output "C:/Users/Aylanora/Desktop/WIP" --log-file amc.log --action move -non-strict "C:/Users/Aylanora/Videos" --def subtitles=en --def artwork=y --def clean=y --def unsorted=y
filebot -script fn:replace --def "" "" "C:/Users/Aylanora/Desktop/WIP/Movies"
cd "C:\Users\Aylanora\AppData\Roaming\tinyMediaManager\"
tinyMediaManagerCMD.exe -update -ScrapeNew
cd "C:\Program Files (x86)\Ember Media Manager BETA"
"ember media manager.exe" -fullauto -all -nowindow
del /S /Q "C:\Users\Aylanora\AppData\Roaming\tinyMediaManager\tmm.odb"
del /S /Q "C:\Program Files (x86)\Ember Media Manager BETA\Settings\MyVideos2.emm"
MOVE "C:\Users\Aylanora\AppData\Roaming\FileBot\logs\amc.log" "C:\Users\Aylanora\Desktop\WIP\Movies\log.log"

Messages In This Thread
RE: Command Line to reload database - by Fail$tyle420 - 2014-09-10, 21:36

Logout Mark Read Team Forum Stats Members Help
Command Line to reload database0
This forum uses Lukasz Tkacz MyBB addons.