Code Monkey home page Code Monkey logo

Comments (5)

vkazheng avatar vkazheng commented on May 23, 2024

changing self.set_meta(meta[0], year="y", name="l" to self.set_meta(meta[0], year="y", title="l" solves it

from stremio-gdrive.

zDuts avatar zDuts commented on May 23, 2024

changing self.set_meta(meta[0], year="y", name="l" to self.set_meta(meta[0], year="y", title="l" solves it

Thanks it works for some but not all.
E.g. The Last of Us works, but not Severance.
Severance get read as "Central Awards" in name.
Any idea?

from stremio-gdrive.

vkazheng avatar vkazheng commented on May 23, 2024

changing self.set_meta(meta[0], year="y", name="l" to self.set_meta(meta[0], year="y", title="l" solves it

Thanks it works for some but not all. E.g. The Last of Us works, but not Severance. Severance get read as "Central Awards" in name. Any idea?

Yes, this is what i noticed too, i am not sure for now, need to google more as i dont code

from stremio-gdrive.

vkazheng avatar vkazheng commented on May 23, 2024

and fetching everything everywhere all at once returning "awards central" as well
and it is somehow fetching from cache instead of the IMDB

Reading /tmp/tt6710474.json! Fetched metadata for tt6710474 from CACHE: Titles (1) -> ['awards central'] Year: Saving /tmp/drivenames.json! Got 0/0 unique results from gdrive after deduping in 0.282s. Processing results... Fetched access_token, will expire at 2023-02-08 11:02:04.818648 Fetched 0/0 valid stream(s) in 0.282s for tt6710474 -> ["name contains 'awards' and name contains 'central' and name contains ''"]

from stremio-gdrive.

zDuts avatar zDuts commented on May 23, 2024

and fetching everything everywhere all at once returning "awards central" as well and it is somehow fetching from cache instead of the IMDB

Reading /tmp/tt6710474.json! Fetched metadata for tt6710474 from CACHE: Titles (1) -> ['awards central'] Year: Saving /tmp/drivenames.json! Got 0/0 unique results from gdrive after deduping in 0.282s. Processing results... Fetched access_token, will expire at 2023-02-08 11:02:04.818648 Fetched 0/0 valid stream(s) in 0.282s for tt6710474 -> ["name contains 'awards' and name contains 'central' and name contains ''"]

Fixed it, comment out line 20 and line 21 (just add a # in front).
That way you don't use the suggestion thing from imdb.
It uses CINEMETA instead to search for the title.
I feel like it's faster too.

After the oscars it's probably fine to put it back in.
The issue is that now you get awards central first when searching for the imdb reference tt-number.
You can see it as well on imdb's website if you search for "Severance" or "Everything Everywhere All At Once" the first thing in the dropdown will be "Awards Central" and second will be the actual series or movie.
It's probably better to just put the whole imdb_sg thing a the end so you can still use it as a fallback but i don't know how to code either 🗡️
e.g. https://v2.sg.media-imdb.com/suggests/t/tt6710474.json

    #    self.fetch_dest = "IMDB_SG_API"
     #   if not self.get_meta_from_imdb_sg():

from stremio-gdrive.

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.