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

Possibility to search for season packs / integrals #84

Open
PrevotYann opened this issue Jan 14, 2025 · 8 comments
Open

Possibility to search for season packs / integrals #84

PrevotYann opened this issue Jan 14, 2025 · 8 comments
Labels
enhancement New feature or request

Comments

@PrevotYann
Copy link

Hey there,

Not really a bug but more of a question here ! 😄

Is this planned to have the fuctionnality like in Gaia to search also for season packs and integrals for shows ?

Then jacktook/jacktorr would select the right file to play (with SxxExx format, or absolute numbering depending (mostly anime for this case))

This would make the addon (and/or jacktorr) so nice and complete !

If not, i think i'll fork/create a branch to work on this feature if you don't plan to !

Thank's in advance for your consideration !
You can reach me on Discord at : rasen_

@Sam-Max
Copy link
Owner

Sam-Max commented Jan 14, 2025

Hi, Prevot, thanks for your suggestions. Which indexer are you using to search for content?. With Torrentio for example you can find season pack for shows, and you can select individual episodes using Jacktorr.

@PrevotYann
Copy link
Author

Hey !

I only use Jackett indexers as it is the only one that can scrape ygg (the only reliable French provider) alongside my flaresolverr (in a specific version for ygg).

@Coffelius Coffelius added the enhancement New feature or request label Jan 15, 2025
@PrevotYann
Copy link
Author

I'd be happy to help (or do) this enhancement ! If you have any tips about which file to look deeper or anything.

If needed, i can show examples of Torrent names, then it's contents. Here is one of the not so great example :

  • Name : [SR-71] NARUTO INTEGRALE VOSTFR BLURAY [1080p][X265][10BITS] --> Here the word integrale is here, it could be "complete" instead and in some cases just the name of the show (which makes it not that great, i understand haha)
  • Contents : [SR-71] Naruto integrale VOSTFR [1080p][X265][10BITS]/Saison 1/Naruto - 02 VOSTFR [1080p][X265][10BITS][SR-71].mkv --> This is one of the worst case, where we have Saison xx (instead of Sxx or Season xx) as subfolder names, then absolute numbering in the file names without Sxx

But for plenty of other example there is Season XX then Show.SxxExx.MoreThings.mkv

Let me know if there's anything I can work on, and if there's on the jackett.py file or any other ones 😄

Thank's for the good work already done on the addon and JackTorr !

@Coffelius
Copy link
Collaborator

Hey @PrevotYann, I think you could start checking the following lines: https://github.com/Sam-Max/plugin.video.jacktook/blob/main/lib/utils/utils.py#L637

@PrevotYann
Copy link
Author

Thank's for the patterns location !

Also, i changed the url variable here to take the query only with &q=query : https://github.com/Sam-Max/plugin.video.jacktook/blob/main/lib/clients/jackett.py#L16, but it returned me nothing, i guess it still had the season and episode within the query then ?

@Coffelius
Copy link
Collaborator

Hint: https://github.com/Jackett/Jackett "Search modes and parameters"

@PrevotYann
Copy link
Author

Thank's for the babysit haha !
I'll work on this tomorrow !

@PrevotYann
Copy link
Author

Hey again !
I started to do plenty of modifications (some heavy on logics) on a fork that will be used for ygg provider only for now, then i'll try to migrate changes in a PR here for everyone else !

I was just wondering, is there a possibility to auto select and play a file from the file selector window regarding a pattern i'd look for (like for exemple : S01E01 or E01 or - 01 if i'm looking for s01e01 from the series ?
I mean i plan to implement it, but can't really find a lot about this window and where should i add parameters after i got the results ?

Sorry if it's not that clear, kinda hard to explain to me sadly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants