[Libtorrent-devel] configuration-file parser

luc.nepweb at pop3.nepweb.net luc.nepweb at pop3.nepweb.net
Fri May 20 18:47:44 UTC 2005


i've made something already (testing it at the moment) which has a maximum
number of seeds and leechs which may run. when there is a free 'slot', a
new download is started. you can also select specific completed torrents to
be seeded, and set a ratio till which non-seed torrents should be uploaded.
you can also choose to delete torrents from the list once they're
completely downloaded. i'm planning to integrate something like one seed
and one leech directory which contain .torrents. then once a second or so
that directory's will be scanned, and the torrents in the directory will
automatically be downloaded to the default download directory.

another thing i'm thinking of is sending SIGUSR1 en SIGUSR2 calls to the
rtorrent program (and possible more) so i can make things that for example
other programs can control the throttle of the rtorrent program. i'm not
really sure yet how to make that future, but i think i will know soon.

other things i've made yet are ratio's and that sort of things (small
extensions) to simplify life.

and yet also a configuration-file parser.

if you'd like to have the patches, i could send them to you...

grtz,
luc

Original Message:
-----------------
From: John Hernandez jph at jph.net
Date: Fri, 20 May 2005 12:05:06 -0600
To: luc at nepweb.net, libtorrent-devel at rakshasa.no
Subject: Re: [Libtorrent-devel] configuration-file parser


One feature I wish for is automatic scanning of the session directory
for new .torrent files, which then could be added and started without
user intervention.  Basically, looking for some way that an external app
could interface with a running instance of rtorrent.  I don't write C
code, otherwise I'd volunteer myself to add it.

Jaris, thanks for making libtorrent.

luc at nepweb.net wrote:
> hi jaris,
> 
> i've made an configuration-file parser which parser a .conf file with the
> following rules:
> 
> - everything after a '#' is capped
> - syntax -> option=setting
> - spaces between things are not permitted yet, can be implemented easy.
> - uses stl.
> 
> do you like to implement it, because i'll then give you the code...
> 
> on my rtorrent, i could'nt find any bugs in the code after half a week
> using rtorrent, and restarting it about a dozen times.
> 
> if you don't want it i'll stop sending this things, and use the patches
> only for myself... (unless you ask me not to do so)
> 
> luc
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 
> _______________________________________________
> Libtorrent-devel mailing list
> Libtorrent-devel at rakshasa.no
> http://rakshasa.no/mailman/listinfo/libtorrent-devel



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




More information about the Libtorrent-devel mailing list