[Libtorrent-devel] Scheduled command failed: watch_directory_6: Junk at end of input.

Josef Drexler josef at ttdpatch.net
Tue Aug 26 12:25:06 UTC 2008


On Aug 26, 2008, at 10:38 AM, Kia Niskavaara wrote:
> I guess the error message in the subject is because I have spaces  
> in "Prison Break". I also tried writing "Prison\ Break" - but that  
> didn't work. This is the complete command I'm using:
>
> schedule = watch_directory_6,5,5,"load_start=/home/guest/watch/ 
> *.torrent,d.set_custom1=/home/share/Prison Break/"
>
> Is it possible to use space in the custom variables?


Yes, if you put the argument in quotes. But since the command is  
already in quotes, you'll have to escape the inner quotes, like  
so: ...,d.set_custom1=\"/home/share/Prison Break/\""

That should work.

-- 
Josef Drexler
josef at ttdpatch.net





More information about the Libtorrent-devel mailing list