Skip to content

Support trackers edition in rtorrent #838

Open
@trim21

Description

@trim21

Discussed in #837

Originally posted by gallyamb January 6, 2025
rakshasa/rtorrent support editing trackers list: add new trackers, enable/disable existing ones. Would be great, if Flood could provide an UI for this actions

as reference:

    def d_add_tracker(self, info_hash: str, url: str, *, group: int = 0) -> None:
        """add a tracker to download"""
        self.rpc.d.tracker.insert(info_hash, group, url)

    def t_enable_tracker(self, info_hash: str, tracker_index: int) -> None:
        """enable a tracker of download"""
        self.rpc.t.is_enabled.set(f"{info_hash}:t{tracker_index}", 1)

    def t_disable_tracker(self, info_hash: str, tracker_index: int) -> None:
        """disable a tracker of download"""
        self.rpc.t.is_enabled.set(f"{info_hash}:t{tracker_index}", 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions