TV-Rename / tvrename

Organise your TV & Movie videos with ease
http://www.tvrename.com
Other
298 stars 36 forks source link

TVRename will only run once #960

Closed ggervais5 closed 1 year ago

ggervais5 commented 1 year ago

I have installed Version 4.96 on Windows 10 Pro N, version 22H2, build 19045.2965. For the past several versions (4.93 was the prior installed version), I have noticed that TVRename.exe sits in a running state and scheduled runs of TVRename in the command line interface, do not scan my folders anymore. I thought the /hide switch meant TVRename would stay running until scans completed. TVRename remains active until I stop the process or reboot. It does not close on its own. The command line I am using (and have for many moons) is:

TVRename /scan /doall /ignoremissing /unattended /hide

If I stop the TVRename.exe process, I can get the command above to run, though again, the process does not close on its own and no files are found to process in the scan folder. I looked at the wait chain, and it shows a message that 'one or more threads of TVRename are waiting to finish network I/O'. MY network drive containing my scan folders stays mapped all the time, so I don't this is related to network drive instability. However, the thread never completes.

Attempts to run TVRename gui also do not work when the TVRename.exe process is already running, as I suspect TVRename is a single-instance application: clicking on the icon reattaches to the same instance that is waiting on the thread that is not being closed. I have to end the TVRename process before I can run and see the application gui. From the gui, I can scan my folders manually and perform moving/renaming, etc.

Please fix - this has been happening for a while now.

SirSparkles commented 1 year ago

Try /quit as well as /hide

ggervais5 commented 1 year ago

That worked, thanks. Previously, I had /quit without /hide and it used to work until a month or two ago. I tried /hide without /quit and that didn’t work either. Thanks for suggesting both parameters – the TVRename process ends as it should.

Greg

From: SirSparkles @.> Sent: Friday, May 26, 2023 4:04 AM To: TV-Rename/tvrename @.> Cc: ggervais5 @.>; Author @.> Subject: Re: [TV-Rename/tvrename] TVRename will only run once (Issue #960)

Try /quit as well as /hide

— Reply to this email directly, view it on GitHub https://github.com/TV-Rename/tvrename/issues/960#issuecomment-1564060440 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALMRPHIG2OWYIGPM3LYIPRTXIBWW7ANCNFSM6AAAAAAYPMEXBI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ALMRPHKMJLDES5ODT3HSZ63XIBWW7A5CNFSM6AAAAAAYPMEXBKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS5HGVRQ.gif Message ID: @. @.> >