Ticket #1856 (closed defect: invalid)

Opened 6 months ago

Last modified 6 months ago

XMLRPC updates not taking effect until restart of rtorrent

Reported by: rtorrent-bug@downagain.com Owned by: rakshasa
Priority: normal Milestone:
Component: rtorrent Version:
Severity: major Keywords:
Cc:

Description

When I update a torrent's directory via XMLRPC, it doesn't change until after client restart.

Example outputs:

root@media:~# xmlrpc localhost d.set_directory B2811AE998D3D375C512B489336812BD916DCB9C /tmp
Result:

Integer: 0
root@media:~# xmlrpc localhost d.multicall "started" "d.get_base_path=" "d.get_hash="
Result:

Array of 1 items:
  Index  0 Array of 2 items:
             Index  0 String: '/shared/television/Heroes/Heroes.S04E01E02.720p.HDTV.X264-DIMENSION'
  
root@media:~# /etc/init.d/rtorrent restart
Restarting rtorrent: rtorrent.
root@media:~# xmlrpc localhost d.multicall "started" "d.get_base_path=" "d.get_hash="
Result:

Array of 1 items:
  Index  0 Array of 2 items:
             Index  0 String: '/tmp/Heroes.S04E01E02.720p.HDTV.X264-DIMENSION'
             Index  1 String: 'B2811AE998D3D375C512B489336812BD916DCB9C'

My understanding is that changes via XMLRPC should take effect immediately. Restarting after each torrent download isn't ideal.

Could it please be resolved, or a pointer to how I can resolve it myself be provided?

Many thanks, Jonathan.

Attachments

Change History

Changed 6 months ago by anonymous

I am using rtorrent 0.8.5 and libtorrent 0.12.2.

Changed 6 months ago by rakshasa

  • status changed from new to closed
  • resolution set to invalid

You are supposed to close and reopen the torrent after changing the directory.

Add/Change #1856 (XMLRPC updates not taking effect until restart of rtorrent)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.