sharinganthief / tvrename

Automatically exported from code.google.com/p/tvrename
Other
0 stars 0 forks source link

Command line automatic export of missing #122

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have the automatic export of missing episodes configured in TVRename's 
settings
2. Run TVRename from the command line with /scan or /doall

What is the expected output? What do you see instead?
Since I have the automatic export configured in the settings, I would expect 
the export file to be generated when I run TVRename from the command line. 
Currently the export only occurs if I run TVRename in GUI mode and click the 
"Scan" button on the "Scan" tab.

What version of the product are you using? On what operating system?
v2.2.4 on Windows Home Server 2011

Please provide any additional information below.
I took a peek at the source (BTW TYVM for making the source publically 
available). I noticed that in UI.cs the "ExportMissingXML()" function was being 
called from the "bnActionCheck_Click()" function. I moved the call to be inside 
the "ScanAll()" function instead. So now whenever TVRename does a scan (whether 
from the GUI or the command line), it is generating the missing episode export 
as I would expect.

I know this isn't a super big deal, but it allows me to script some activities 
around the missing episode export, which is helpful to my automated workflow :)

Original issue reported on code.google.com by dcm...@gmail.com on 16 Mar 2013 at 5:38