#2321: tracker_status improvements (inc translate status in client not core)
-------------------+--------------------------------------------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 1.4.0
Component: core | Version: other (please specify)
Keywords: |
-------------------+--------------------------------------------------------
tracker_status is currently the only translated value in torrentmanager.py
which causes issues with filtering for keywords such as "Error", although
a workaround for this issues has been applied already: [http://git.deluge-
torrent.org/deluge/commit/deluge/core/filtermanager.py?id=9a1ae06033b
9a1ae06033b]
For reference the current format in torrent.py set_tracker_status is:
{{{
"tracker_host: tracker_status: tracker_message"
}}}
It might be more useful to pack this as a dict and let the clients sort
out translation and display.
Further to this the
[http://www.rasterbar.com/products/libtorrent/manual.html#alerts
tracker_error_alert] has a few more details that just the message:
>The `times_in_row` member says how many times in a row this tracker has
failed. `status_code` is the code returned from the HTTP server.
Finally only one tracker's status can be stored but adding a new
`trackers_status` key more detail could be held and would be useful for
implementing #1015
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2321>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.