How do I get the script to work in Transmission (Filebot)
-
- Posts: 14
- Joined: Wed Feb 26, 2014 7:14 am
Re: How do I get the script to work in Transmission (Filebot
Okey, now i've done everything you said. even put it in the directory you said.
but i don't understand how i test it in terminal.
i did "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_title=$TR_TORRENT_NAME" manually in the textedit.app with to other text that i copy/paste
anyway thanks for you good help,it is appreciated.
but i don't understand how i test it in terminal.
i did "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_title=$TR_TORRENT_NAME" manually in the textedit.app with to other text that i copy/paste
anyway thanks for you good help,it is appreciated.
Last edited by rajjejosefsson on Sun Mar 02, 2014 10:25 pm, edited 2 times in total.
-
- Posts: 14
- Joined: Wed Feb 26, 2014 7:14 am
Re: How do I get the script to work in Transmission (Filebot
okey here is the point, the script has worked for me from the first beginning before i wrote here on this forum, and its supposed to rename my movies/tvshows in separate folders and get me artwork for them. but some guy told me on filesbot forum that its not good if the script says Parameter: ut_dir = / and that can change the names of other files on the entire system.
so thats why i need to see it in the terminal.app by my self that its works as it should.
so thats why i need to see it in the terminal.app by my self that its works as it should.
-
- Posts: 14
- Joined: Wed Feb 26, 2014 7:14 am
Re: How do I get the script to work in Transmission (Filebot
I did this now... i put this in the script before the script instead of the #!/bin/bash
#!/bin/bash -x
#
# DEBUG
LOG=/tmp/$$.log
exec > $LOG 2>&1
One Question
I wonder how i can rename the poster.jpg that the script create thats gets in the same folder as the movie, and now i want it to have same name as the movie. (or all files thats are in the same folder as the movie)
if not, i want to create a separate script. but how?
#!/bin/bash -x
#
# DEBUG
LOG=/tmp/$$.log
exec > $LOG 2>&1
One Question
I wonder how i can rename the poster.jpg that the script create thats gets in the same folder as the movie, and now i want it to have same name as the movie. (or all files thats are in the same folder as the movie)
if not, i want to create a separate script. but how?
Last edited by rajjejosefsson on Sun Mar 02, 2014 10:25 pm, edited 1 time in total.
-
- Posts: 14
- Joined: Wed Feb 26, 2014 7:14 am
Re: How do I get the script to work in Transmission (Filebot
seems to not get any help there, where should i get the help about this u think? 

-
- Posts: 14
- Joined: Wed Feb 26, 2014 7:14 am
Re: How do I get the script to work in Transmission (Filebot
But that one renames the sub in the example, any idea what i would use to get the artwork to get renamed? And if it could be used in same script . Thanks again
-
- Posts: 4
- Joined: Thu Mar 13, 2014 9:00 am
Re: How do I get the script to work in Transmission (Filebot
Hi
Can anyone help with this strange problem?
I cannot get Transmission (or is it Filebot?!) to talk to one another.
I have posted a thread on the Filebot forum and after much head scratching they suggested posting here to.
Rather than typing it out all again, would it be ok for you to read their thread and then reply here?
Here it is...
http://www.filebot.net/forums/viewtopic ... 8498#p8490
Many thanks
Paully
Can anyone help with this strange problem?
I cannot get Transmission (or is it Filebot?!) to talk to one another.
I have posted a thread on the Filebot forum and after much head scratching they suggested posting here to.
Rather than typing it out all again, would it be ok for you to read their thread and then reply here?
Here it is...
http://www.filebot.net/forums/viewtopic ... 8498#p8490
Many thanks
Paully
-
- Posts: 4
- Joined: Thu Mar 13, 2014 9:00 am
Re: How do I get the script to work in Transmission (Filebot
/home/paully/Bin/amc_paully.groovy is the Filebot script which is used by Filebot to do the really clever stuff of unpacking, searching and moving files.x190 wrote:What is "/home/paully/Bin/amc_paully.groovy"? In your manual test, you appear to use "/home/paully/Bin/transmission_filebot.sh".
I am currently having problems getting Transmission to run a BASH script which in turn calls Filebot... and that's all.
e.g.
Transmission ---> /home/paully/Bin/transmission_filebot.sh ---> Filebot + groovy script ---> unrar ---> tvdb lookup ---> rename + move
So, basically, if I guess this working I have a perfect combination of...
Trakt + Flexget + Transmission + Filebot (where I don't have to do anything!)
In theory, it should all work.
Full details are in my Filebot Forum post... but I am running out of ideas!
http://www.filebot.net/forums/viewtopic ... 8520#p8490
Thanks in advance for any help.
Regards
Paully

-
- Posts: 4
- Joined: Thu Mar 13, 2014 9:00 am
Re: How do I get the script to work in Transmission (Filebot
Aaaaah, I think I may have found something in the debug logs...!
Ofcourse, the script is being run by the transmission-daemon user and group...!
So, if I change the group ownership of my ~/.filebot folder to the same group as Transmission, and make it writeable then the error should go and the Filebot script should run...
...fingers crossed tonight.

Paully
Code: Select all
/home/paully/.filebot/logs/amc_paully.log (Permission denied)
So, if I change the group ownership of my ~/.filebot folder to the same group as Transmission, and make it writeable then the error should go and the Filebot script should run...
Code: Select all
chgrp -R debian-transmission ~/.filebot
chmod -R g+w ~/.filebot

Paully
-
- Posts: 4
- Joined: Thu Mar 13, 2014 9:00 am
Re: How do I get the script to work in Transmission (Filebot
OK, fixed it completely and it's so annoyingly simple.
Change the user transmission-daemon runs as, then fix folder ownership.
Transmission then downloads all torrents as my username and so Filebot uses those variables and copies files into folders already owned by me.

Paully
Change the user transmission-daemon runs as, then fix folder ownership.
Code: Select all
$ sudo /etc/init.d/transmission-daemon stop
$ sudo nano /etc/init.d/transmission-daemon
USER=paully
$ sudo chown paully /etc/transmission-daemon/*
$ sudo chown -R paully /var/lib/transmission-daemon/
$ sudo /etc/init.d/transmission-daemon start

Paully
Re: How do I get the script to work in Transmission (Filebot
Hi,
I tried to set up filebot with transmission on Mac OS X 10.10 and can't make it work.
I created a script as suggested on the filebot forums http://www.filebot.net/forums/viewtopic.php?f=4&t=520 :
The script works perfectly when called from Terminal, but doesn't run when called from Transmission.
It tried to add log monitoring to the script to make sure it is called by Transmission, and that works perfectly. The script is called, but the filebot action is not performed and the argument are correctly passed
I also tried with a fixed input folder
Again, works fine when called from Terminal, no action when called from Transmission.
Any other idea why filebot is not cooperative when called from Transmission script ??
Thanks
I tried to set up filebot with transmission on Mac OS X 10.10 and can't make it work.
I created a script as suggested on the filebot forums http://www.filebot.net/forums/viewtopic.php?f=4&t=520 :
Code: Select all
#!/bin/bash
filebot -script fn:amc --output "/Volumes/Media" --log-file amc.log --action copy -non-strict "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
The script works perfectly when called from Terminal, but doesn't run when called from Transmission.
It tried to add log monitoring to the script to make sure it is called by Transmission, and that works perfectly. The script is called, but the filebot action is not performed and the argument are correctly passed
I also tried with a fixed input folder
Code: Select all
#!/bin/bash
filebot -script fn:amc --output "/Volumes/Media" --log-file amc.log --action copy -non-strict "/Users/Myself/Downloads"
Again, works fine when called from Terminal, no action when called from Transmission.
Any other idea why filebot is not cooperative when called from Transmission script ??
Thanks
Re: How do I get the script to work in Transmission (Filebot
Did you ever get the script to run?donok wrote:Hi,
I tried to set up filebot with transmission on Mac OS X 10.10 and can't make it work.
I created a script as suggested on the filebot forums http://www.filebot.net/forums/viewtopic.php?f=4&t=520 :Code: Select all
#!/bin/bash filebot -script fn:amc --output "/Volumes/Media" --log-file amc.log --action copy -non-strict "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
The script works perfectly when called from Terminal, but doesn't run when called from Transmission.
It tried to add log monitoring to the script to make sure it is called by Transmission, and that works perfectly. The script is called, but the filebot action is not performed and the argument are correctly passed
I also tried with a fixed input folder
Code: Select all
#!/bin/bash filebot -script fn:amc --output "/Volumes/Media" --log-file amc.log --action copy -non-strict "/Users/Myself/Downloads"
Again, works fine when called from Terminal, no action when called from Transmission.
Any other idea why filebot is not cooperative when called from Transmission script ??
Thanks