Giter VIP home page Giter VIP logo

Comments (7)

ilike2burnthing avatar ilike2burnthing commented on July 3, 2024

I had previously tagged you in #15030 to see if you wanted us to add an indexer to Jackett. Do you, or is it just for personal use?

It looks like you've taken the categorymappings block from thepiratebay.yml, but it doesn't appear there are any categories returned in your JSON. If categories cannot be added (even as simple as TV and Movies), then just replace the categorymappings block with:

  categories:
    Other: Other

and add the following to the fields block:

    category:
      text: Other

from jackett.

garfield69 avatar garfield69 commented on July 3, 2024

Or, for a little more variety you could use:

caps:
  categorymappings:
    - { id: Movie, cat: Movies, desc: "Movies" }
    - { id: TV, cat: TV, desc: "TV" }

and

  fields:
    category_is_tv_show:
      selector: title
      filters:
        - name: regexp
          args: "\\b(S\\d+(?:E\\d+)?)\\b"
    category:
      text: "{{ if .Result.category_is_tv_show }}TV{{ else }}Movie{{ end }}"

from jackett.

ilike2burnthing avatar ilike2burnthing commented on July 3, 2024

I had thought of that, but I was being lazy :P

Added Temporada in there to catch season packs as well. Although, I can't actually find any titles (as in title) using it, but it doesn't hurt.

from jackett.

garfield69 avatar garfield69 commented on July 3, 2024

the title field is English (with S01E01) and the original_title is in Portuguese (with 1ยช Temporada)

from jackett.

ilike2burnthing avatar ilike2burnthing commented on July 3, 2024

Yea, removed it, couldn't find any release names with it except some films where it was part of the title.

from jackett.

jackettbot avatar jackettbot commented on July 3, 2024

Hi @felipemarinho97,

No response has been received for 7 days. To prevent issue tracker clutter, this issue will now be closed. To re-open the issue, please provide the information requested and the issue will automatically re-open.

from jackett.

felipemarinho97 avatar felipemarinho97 commented on July 3, 2024

I've used the @garfield69 code and now the problem is solved! Thank you everyone!

from jackett.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.