Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull searchees from qBittorrent API (BT_Backup gone) #365

Open
KyleSanderson opened this issue Feb 2, 2023 · 23 comments
Open

Pull searchees from qBittorrent API (BT_Backup gone) #365

KyleSanderson opened this issue Feb 2, 2023 · 23 comments
Labels
bt client feature New feature or request integration Integration (API) with/for applications

Comments

@KyleSanderson
Copy link

qbittorrent/qBittorrent#16768

@mmgoodnow
Copy link
Collaborator

what is no longer supported?

@KyleSanderson
Copy link
Author

BT_Backup is no longer in-use, and they're using SQLite (torrents.db) with WAL to store session state.

@Slikkster
Copy link

Slikkster commented Feb 4, 2023

Since you are already using the qbittorrent API to inject the torrents, why not also use it for checking for existing torrents instead of using the BT_backup directory? Then it wouldn't matter how qbittorrent stores information on the disk.

@dynizzle

This comment was marked as off-topic.

@mmgoodnow

This comment was marked as off-topic.

@dynizzle

This comment was marked as off-topic.

@Slikkster

This comment was marked as off-topic.

@mmgoodnow

This comment was marked as off-topic.

@mmgoodnow mmgoodnow changed the title no qBittorrent Support. Pull searchees from qBittorrent API (BT_Backup gone) Feb 6, 2023
@mmgoodnow mmgoodnow added feature New feature or request bt client labels Feb 6, 2023
@KyleSanderson
Copy link
Author

They've added a new endpoint, api/v2/torrents/export, that can export the full torrent file from the client. So what could probably be done on the cross-seed side of things, is scan the list, then export the torrent files it doesn't have based on the infohash and store it in the cache.

@KyleSanderson
Copy link
Author

Wrote this dumb thing https://github.com/KyleSanderson/sessionerr as a workaround

@onedr0p
Copy link
Contributor

onedr0p commented Jun 14, 2023

This would be great if cross seed was updated to support qB with sqlite. SQLite with WAL has significantly improved qB startup and loading times for me and has been very stable over the past year of using it. I just went thru trying to set up cross-seed but to be hit by this issue, if y'all need someone to help test I'm here. 👍

@MrMarble
Copy link

MrMarble commented Aug 21, 2023

Is there any update on this? It has been on ready for a while now.
I'm wiling to do some testing if it's needed

@KyleSanderson
Copy link
Author

Is there any update on this? It has been on ready for a while now. I'm wiling to do some testing if it's needed

Does Sessionerr not work for you?

@onedr0p
Copy link
Contributor

onedr0p commented Aug 22, 2023

I must be out of the loop, what is Sessionerr??

@0dragosh
Copy link

Also interested. I was able to find your project Sessionerr @KyleSanderson but it lacks a README and I don't feel like going spelunking to find out what it does.

@MrMarble
Copy link

MrMarble commented Aug 22, 2023

I must be out of the loop, what is Sessionerr??

#365 (comment)
Looking at the code seems like it pulls the torrents using the qbt api and creates a BT_Backup folder to use with cross-seed

Is there any update on this? It has been on ready for a while now. I'm wiling to do some testing if it's needed

Does Sessionerr not work for you?

Tbh I did not try it, I might do, but I'll prefer official support to the new version instead of having something running in the middle

@onedr0p
Copy link
Contributor

onedr0p commented Aug 22, 2023

I'll wait for official support, however if @KyleSanderson properly documents their project I might give it a shot.

@mmgoodnow
Copy link
Collaborator

I've got a branch in progress working on this but haven't had a lot of time lately.

@KyleSanderson
Copy link
Author

I must be out of the loop, what is Sessionerr??

#365 (comment) Looking at the code seems like it pulls the torrents using the qbt api and creates a BT_Backup folder to use with cross-seed

Is there any update on this? It has been on ready for a while now. I'm wiling to do some testing if it's needed

Does Sessionerr not work for you?

Tbh I did not try it, I might do, but I'll prefer official support to the new version instead of having something running in the middle

Well sure. It's kind of meant for adults 😆. If you're comfortable waiting another year you're free to do that, if you wanted a solution 6 months ago, it's been sitting there freely available for usage to get the aforementioned party out of their jam.

@onedr0p
Copy link
Contributor

onedr0p commented Aug 22, 2023

@KyleSanderson I don't understand your attitude... it is very off putting. If you want adults to use your projects would it be that hard to add a README with instructions and share the knowledge that only you possess?

@0dragosh
Copy link

@KyleSanderson thanks for letting us know that you consider an undocumented, unpackaged mess of 3 Go files a project meant for adults, will stay clear of it!

@KyleSanderson
Copy link
Author

@KyleSanderson I don't understand your attitude... it is very off putting. If you want adults to use your projects would it be that hard to add a README with instructions and share the knowledge that only you possess?

So, to clarify for the group of you. You've found a reported issue on the repository, with a linked fix, but it's not documented and there's a refusal to open the single 80sloc file with switches clearly at the top. Instead of asking for help, you've decided to blame the author for not having a public readme, and claim you're a victim. It's a fix exclusively for this problem.

The audacity here is absolutely outrageous, and I'm glad it's being used by some, and not by others. Good luck and have fun.

@onedr0p
Copy link
Contributor

onedr0p commented Aug 22, 2023

@KyleSanderson I asked for a README with how to set it up, sorry if that wasn't clear. I don't think asking here how to configure Sessionerr is the right place for that discussion but it's good that the tool exists in the meantime.

@mmgoodnow can you please re-open this issue. It is clearly a feature request for cross-seed to support, not an undocumented tool created by @KyleSanderson

@cross-seed cross-seed locked and limited conversation to collaborators Aug 22, 2023
@cross-seed cross-seed unlocked this conversation Aug 22, 2023
@cross-seed cross-seed locked as too heated and limited conversation to collaborators Aug 27, 2023
@mmgoodnow mmgoodnow reopened this Aug 27, 2023
@zakkarry zakkarry added the integration Integration (API) with/for applications label Oct 3, 2023
@cross-seed cross-seed unlocked this conversation Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bt client feature New feature or request integration Integration (API) with/for applications
Projects
Status: 🐛 Investigating
Development

No branches or pull requests

8 participants