fedarovich / qbittorrent-cli

Command line interface for QBittorrent
MIT License
303 stars 16 forks source link

Question about extended information #15

Open Jorman opened 5 years ago

Jorman commented 5 years ago

Hi, can I ask you if there's any way to extract all the tracker list from all torrents with sticky information in one shot? I tried with torrent list --verbose but don't work like expected. I'm writing a script to inject tracker inside the torrent but I don't want to inject tracker inside private torrent. So, before starting I create a json list with torrent list --format json till here is fine, I can do some jq to extract all the info I need, but in this list I don't have any extra info about trackers list, I have basic information. Usually I grep/sed the magnet to see if contain some strings (a list of private trakers) and if not private I inject trackers.

Do you think can be possible have more information on torrent list? Ca be enough have Private, yes or no.

What do you think?

basecaseFM commented 5 years ago

I will have to get back to you on this. I found a way but my laptop got stolen with the script. I found using the webui with curl and curl -x --data for post commands works very well

On Wed, Sep 4, 2019, 12:47 PM Jorman notifications@github.com wrote:

Hi, can I ask you if there's any way to extract all the tracker list from all torrents with sticky information in one shot? I tried with torrent list --verbose but don't work like expected. I'm writing a script to inject tracker inside the torrent but I don't want to inject tracker inside private torrent. So, before starting I create a json list with torrent list --format json till here is fine, I can do some jq to extract all the info I need, but in this list I don't have any extra info about trackers list, I have basic information. Usually I grep/sed the magnet to see if contain some strings (a list of private trakers) and if not private I inject trackers.

Do you think can be possible have more information on torrent list? Ca be enough have Private, yes or no.

What do you think?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fedarovich/qbittorrent-cli/issues/15?email_source=notifications&email_token=ACPKYIEAQBBK3YC7WWHA5RLQIAGE5A5CNFSM4ITV2AP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJLBRSA, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPKYIDDF6RIZZEIAHMXVULQIAGE5ANCNFSM4ITV2APQ .

Jorman commented 5 years ago

Ouch, such a bad news!!! I'm sorry for your laptop! I'm adapting my previous script, that was made for transmission, I use transmission-remote, but with qbittorrent the only way I found is this beautifull qbt, is quite slow, but who care if I need one minute to putt all indexer inside a non private traker! The script is not 100% done but is tricky to understand if the torrent is private, right now

basecaseFM commented 5 years ago

Yea. I also came from transmission-remote. I mean I never left I just got board and wanted to port my reseeder script to qbittorrent and deluge. Transmission is definitely faster when I comes to daemon transactions.

On Wed, Sep 4, 2019, 2:30 PM Jorman notifications@github.com wrote:

Ouch, such a bad news!!! I'm sorry for your laptop! I'm adapting my previous script, that was made for transmission, I use transmission-remote, but with qbittorrent the only way I found is this beautifull qbt, is quite slow, but who care if I need one minute to putt all indexer inside a non private traker! The script is not 100% done but is tricky to understand if the torrent is private, right now

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fedarovich/qbittorrent-cli/issues/15?email_source=notifications&email_token=ACPKYIAZ2QFWZJYCFAW3A43QIASIJA5CNFSM4ITV2AP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD55BQYY#issuecomment-528095331, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPKYIF6KTN6LTSVEGPR6KTQIASIJANCNFSM4ITV2APQ .

Jorman commented 5 years ago

@basecaseFM you can find my script here https://github.com/Jorman/Scripts/blob/master/AddqBittorrentTrackers.sh Basically I use it with radarr/sonarr on grab, so actually if find that the torrent is private (manual check the list inside the script, this list have to be edited by hand, skip the injection) Then you can use it to inject torrent inside all the torrents or specific one

basecaseFM commented 5 years ago

Interesting. I am unfamiliar with radarr/sonarr or grab.

On Thu, Sep 5, 2019, 9:59 AM Jorman notifications@github.com wrote:

@basecaseFM https://github.com/basecaseFM you can find my script here https://github.com/Jorman/Scripts/blob/master/AddqBittorrentTrackers.sh Basically I use it with radarr/sonarr on grab, so actually if find that the torrent is private (manual check the list inside the script, this list have to be edited by hand, skip the injection) Then you can use it to inject torrent inside all the torrents or specific one

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fedarovich/qbittorrent-cli/issues/15?email_source=notifications&email_token=ACPKYIBWFN64VPOWXFJTXADQIE3HNA5CNFSM4ITV2AP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5727MQ#issuecomment-528461746, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPKYIDVYMGHSMFWLFVIFX3QIE3HNANCNFSM4ITV2APQ .

Jorman commented 4 years ago

@fedarovich What do you think? Can be possible and convenient have a status (private or not) information inside the torrent list command?

eigerzoom commented 3 years ago

qbittorent already does this by default on the 'bittorrent' tab in options...you can add a list of trackers...it will NOT add your list of public trackers to a private torrent. However having a command to determine if a torrent is public or private is literally the most crucial bit of information for making changes to any torrent in my opinion...and it is needed. Most people do not treat public and private torrents the same, so it would be nice to determine changes based on this bit.

swannie-eire commented 3 years ago

+1 for me.

I also came from transmission-remote and would love if this feature was implemented.