plugin.video.jacktook icon indicating copy to clipboard operation
plugin.video.jacktook copied to clipboard

Possibility to search for season packs / integrals

Open PrevotYann opened this issue 1 year ago • 9 comments

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_

PrevotYann avatar Jan 14 '25 20:01 PrevotYann

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.

Sam-Max avatar Jan 14 '25 20:01 Sam-Max

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).

PrevotYann avatar Jan 15 '25 08:01 PrevotYann

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 !

PrevotYann avatar Jan 17 '25 18:01 PrevotYann

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

Coffelius avatar Jan 17 '25 20:01 Coffelius

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 ?

PrevotYann avatar Jan 17 '25 22:01 PrevotYann

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

Coffelius avatar Jan 17 '25 22:01 Coffelius

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

PrevotYann avatar Jan 17 '25 22:01 PrevotYann

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

PrevotYann avatar Feb 02 '25 21:02 PrevotYann

Any progress in this regard? I'd like to implement it in Prowlarr.

avogabo avatar Mar 17 '25 22:03 avogabo

I have submitted a pull request to fix this for Jackett but it does not fix it for Prowlarr which appears to have the same problem.

https://github.com/Sam-Max/plugin.video.jacktook/pull/125

This is a really great Kodi plugin but I can't get results on many indexers without support for season packs which makes it basically unusable for TV. Hopefully if they reject my patch someone more skilled than me will apply an alternative solution.

cleanhands avatar Jul 05 '25 20:07 cleanhands