Malexx Wrote:Yes i have this.
Is this batch script otherwise correct?
So if there is
it should start the second call if it found nothing in the first?Code:
perl sorttv.pl --directory-to-sort:D:\Download\Series --directory-to-sort-into:E:\HD Serien
perl sorttv.pl --directory-to-sort:D:\Download\Series --directory-to-sort-into:Z:\
Yes, your batch will run each instance that you put in there. It runs each line one at a time when the first is done it calls the second and so on.
You also may want @echo off at the top of your batch script if you want it to run silent.
You may want to change the handling of database update command to xbmc, I'll add it to my list of things to send a patch for if I get the time. Basically, just sorted a season folder and the pop for each new file is nice, the db update starting and then restarting after each one not so nice, little rough on the old xbox. It should only issue that command once an instance, basically the script needs a flag that on exit if has done any sorting it should then send the update command (if xbmc setting is set, of course).