Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Batch add?

Help
ghostcorps
2007-07-18
2013-04-17
  • ghostcorps
    ghostcorps
    2007-07-18

    Is there anyway to add a whole directory of .torrent files?

    eg #add ~/torrents/*

    I have over 100 to queue up and well I don't fancy typing them all in.

    I was thinking of creating an rss feed on them and crawling it, but I have no experience with them would it work or is there an easier option?

    Regards

     
    • Hey! I like your idea. Wildcard will be very useful for me too. You may see this feature very soon.

       
      • ghostcorps
        ghostcorps
        2007-07-18

        Awsome!

        While I am here now, I just added them manually (I'm kinda impatient sometimes) but now if I use daemon mode and  run #btqueue.py list

        I get the mess below, yet if I run it with scheduler 'list' works fine. It is worth noting that I am getting traffic either way.

        %btqueue.py list
        Traceback (most recent call last):
          File "/usr/local/bin/btqueue.py", line 99, in ?
            res = app.onecmd(line)
          File "/usr/local/lib/python2.4/site-packages/BitQueue/manager.py", line 1351, in onecmd
            ret = cmd.Cmd.onecmd(self,l)
          File "/usr/local/lib/python2.4/cmd.py", line 219, in onecmd
            return func(arg)
          File "/usr/local/lib/python2.4/site-packages/BitQueue/manager.py", line 1495, in do_list
            res = self.manager.do_list(line)
          File "/usr/local/lib/python2.4/site-packages/BitQueue/xmlrpc.py", line 143, in __call__
            dict = self.__send(self.__name,(self.__id,)+args)
          File "/usr/local/lib/python2.4/site-packages/BitQueue/xmlrpc.py", line 184, in __request
            verbose=self.__verbose
          File "/usr/local/lib/python2.4/xmlrpclib.py", line 1147, in request
            return self._parse_response(h.getfile(), sock)
          File "/usr/local/lib/python2.4/xmlrpclib.py", line 1284, in _parse_response
            p.close()
          File "/usr/local/lib/python2.4/xmlrpclib.py", line 530, in close
            self._parser.Parse("", 1) # end of data
        xml.parsers.expat.ExpatError: unclosed token: line 6626, column 0