Giter Club home page Giter Club logo

Comments (14)

labrys avatar labrys commented on May 20, 2024 1

@OmgImAlexis as far as i'm aware it refreshes the entire library.

from medusa.

labrys avatar labrys commented on May 20, 2024

I think either the timeout should be configurable, or better yet only call it once at the end of postprocessing if results were found.

from medusa.

fernandog avatar fernandog commented on May 20, 2024

@OmgImAlexis its calls plex to refresh ONLY that show. To avoid scan full library

from medusa.

OmgImAlexis avatar OmgImAlexis commented on May 20, 2024

@fernandog it may but Plex seems to rescan every single show. You sure it's not a quick scan of the show's library? Every single file that was processed when I was running it I had the whole "TV Show" library rescan.

Even if it's just the one show that's still not the best idea since you could be processing a lot of files for the same show like when I added Pokemon and it processed 400+ files at once, there's no need to rescan the show 400+ times when once after they've all been added would be fine.

from medusa.

labrys avatar labrys commented on May 20, 2024

@p0psicles another candidate for the Throttle class ... limit calls to refresh plex to, for example, once an hour

from medusa.

OmgImAlexis avatar OmgImAlexis commented on May 20, 2024

Once an hour doesn't really help at all since Plex itself can have an option to do it once an hour. Doing it per show would be a lot better.

from medusa.

ripper1967 avatar ripper1967 commented on May 20, 2024

from medusa.

OmgImAlexis avatar OmgImAlexis commented on May 20, 2024

@ripper1967 I know that and that's why I'd like to have something that just updates a single show. There's no point in Plex rescanning 10k+ episodes just to see that a single show with for example 2 episodes has a new one.

from medusa.

ripper1967 avatar ripper1967 commented on May 20, 2024

from medusa.

OmgImAlexis avatar OmgImAlexis commented on May 20, 2024

That auto scan just watches the file system and then updates. That doesn't work if you're using a network drive, if you're using docker and some OSs don't allow it either.

from medusa.

Thraxis avatar Thraxis commented on May 20, 2024

Unfortunately Plex doesn't have any method to say "update that show" You can either tell it "Look for any new items and add those" or "Refresh the Metadata for every item in library 'X'"

My system runs a complete library update check of the TV section of my Plex library in 1 minute 20 seconds. Which contains 286 different shows, spanning 733 seasons with 10749 episodes.

An update check on the Anime section of my Plex library takes about 40 seconds. That is for 215 shows, spanning 317 seasons and 5025 episodes.

To scan both libraries would take about 2 minutes, I'd say a buffered call to plex where it would send one request every 5 minutes, consuming any duplicate requests between calls would be about the best you could do.

from medusa.

labrys avatar labrys commented on May 20, 2024

@OmgImAlexis Plex doesnt allow update of just a single series, only a single library. And as for the update once per hour in plex, that will trigger every hour regardless of changes. Using the example I mentioned it would only trigger a refresh once per hour if you had new shows during that time. If you go 3 hours without a new episode added, it wouldnt trigger a scan. It would be great if Plex supported scanning for just a single series/path.

from medusa.

OmgImAlexis avatar OmgImAlexis commented on May 20, 2024

@Thraxis there is a update only this show but it needs to be done from the cli. Maybe we could look into adding a simple plex channel that just exposes the refresh function that we can then call?
On my setup a refresh to my show library with over 13k episodes takes well over 5 minutes and when multiple refreshes are done it can actually end up taking over half an hour for new episodes to appear as it seems to queue the refreshes one after each other or something like that.

@labrys that would help a little but still the single show would be ideal.

Maybe we can see if Plex would be willing to add another API endpoint for single show refreshes? I've had them respond quite nicely to other requests for bugs and such.

from medusa.

labrys avatar labrys commented on May 20, 2024

Added to master feature request list - discussion for feature will continue here even though issue is closed.

from medusa.

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.