Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Need help automating therenamer when movie files are present

If you have a question or need help, this is the place to be.
Post Reply
xdmitri
Posts: 2
Joined: Wed Feb 18, 2015 1:05 pm

Need help automating therenamer when movie files are present

Post by xdmitri »

Hi,

Short question: Can someone help me with a python script so that when the directorywatched.updated becomes a .mkv or similar file, therenamer would start working, and if there isn't .mkv there yet it halts.

Long question: Even though there are many many posts about automating this process, mine happens to be different. Instead of using torrents, I download all tv shows from ftps, unfortunately manually. When this download is complete I have AutoUnpacker unrar the files in the directory and delete the rars. At this point I manually start therenamer that puts all the finished shows into the proper folder for xbmc to update. Since I don't know python, I have been stuck at getting therenamer to start properly when .mkv is ready to go for renaming. If anyone by chance automated downloading shows thru ftp, please do share, but thats less important.
xdmitri
Posts: 2
Joined: Wed Feb 18, 2015 1:05 pm

Re: Need help automating therenamer when movie files are pre

Post by xdmitri »

Hey, thanks for your reply.

I have stumbled upon this page before, it is very good guide indeed. If I follow this path, it would run therenamer everytime the directory will update, which is after each rar file is downloaded, thats quite a lot of unnecessary fetch commands to take up the processor. It will of course eventually after each rar file is downloaded and finally unpacked stumble upon the .mkv file and rename it but I don't think its the right way to do this. Is there another option to filter video files?
Post Reply