[Libtorrent-devel] Scheduled command failed: watch_directory_6:
Junk at end of input.
Kia Niskavaara
kia.niskavaara at gmail.com
Tue Aug 26 12:51:55 UTC 2008
I've tried
schedule =
watch_directory_6,5,5,"load_start=/home/guest/watch/*.torrent,d.set_custom1=\"/home/share/Prison
Break/\""
and
schedule =
watch_directory_6,5,5,"load_start=/home/guest/watch/*.torrent,d.set_custom1='/home/share/Prison Break/'"
and
schedule =
watch_directory_6,5,5,load_start=/home/guest/watch/*.torrent,d.set_custom1="/home/share/Prison Break/"
But I get the same error every time.
Kia
Josef Drexler wrote:
> 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.
>
More information about the Libtorrent-devel
mailing list