Incron with completed folder

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
NErnst
Posts: 1
Joined: Mon Mar 28, 2016 8:11 pm

Incron with completed folder

Post by NErnst »

Hi,

somehow I can't find any specifics concerning my use scenario without making it overly complicated, but maybe it is?

What I want to achieve is that after a torrent has finished downloading I'd like to try to import it with beets (a music tagging software).

My first idea was to call beets with the completion script, however since transmission is running in a docker container, this sort of gets complicated. Now I thought of simply watching the completed folder via incron and start the import process whenever a file/folder is moved into the directory. This approach does work if I am moving something into the folder, but Transmission itself does not appear to trigger it. What am I doing wrong? Is Transmission still accessing it even if it's not seeding? Doesn't Transmission move the file even though it looks like it? Do I need to think about permissions other than chmod 777 and +x?

If you have a suggestion, I'd also try to implement a simple bash script if that makes it easier. I'm thankful for any input.
Post Reply