You are not logged in.

#1 2010-09-18 20:04:49

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

rtorrent config problem on spaces

im trying to setup rtorrent to move files on completion but i have a problem with spaces...
i have this:

schedule = watch_directory_1,10,10,"load_start=~/torrents/series/white_collar/*.torrent,d.set_custom1=~/videos/series\"/White\\ Collar/\""

wich works, but all torrents that are added is "Inactive: Command on torrent creation failed: Junk at end of input.", i guess this i due to the second command:

system.method.set_key =event.download.finished,move_complete,"d.set_directory=$d.get_custom1= ;execute=mv,-u,$d.get_base_path=,$d.get_custom1="

how could i solve this?

Last edited by eldamar (2010-09-18 20:18:37)

Offline

#2 2010-09-18 20:47:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: rtorrent config problem on spaces

How about ~/videos/series/White\ Collar/ ? Are the quotes part of the path?

Offline

#3 2010-09-18 21:00:31

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: rtorrent config problem on spaces

well i don't really know how it works, i tried ~/videos/series/White\ Collar/ first but that didnt work.

Offline

#4 2010-09-18 21:12:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: rtorrent config problem on spaces

Can't you change the path so it doesn't include the space? ;P

What version of rtorrent are you using?

Offline

#5 2010-09-18 21:26:33

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: rtorrent config problem on spaces

How about ~/videos/series/White\\ Collar/

If that one doesn't work, then I second karol's question, can't you use a dir without spaces?

Offline

#6 2010-09-18 21:44:10

eldamar
Member
From: Sweden
Registered: 2008-02-11
Posts: 104

Re: rtorrent config problem on spaces

~/videos/series/White\\ Collar/ works, but same problem with last command, get "Inactive: Command on torrent creation failed: Junk at end of input."

I could probably remove spaces, im just curious if there is anny solution to this.

Offline

#7 2010-09-18 21:45:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: rtorrent config problem on spaces

Offline

Board footer

Powered by FluxBB