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

default: actor taking a long time to load every run even with schedule: monthy(1) is set #2036

Open
nairbd opened this issue May 10, 2024 · 8 comments
Assignees
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet

Comments

@nairbd
Copy link

nairbd commented May 10, 2024

Version Number

2.0.1 and 2.0.1-nightly5

What branch are you on?

master

Describe the Bug

I understand depth is an expensive operation, so to combat this I tried to schedule it for once a month. What I'm finding is that every run it's taking 20 mins just to go through all of the actors, even with the schedule set. I've tried on 2.0.1 and 2.0.1-nightly5

Relevant Collection/Overlay/Playlist Definition

`    - default: actor
      template_variables:
        collection_section: '001'
        use_separator: false
        style: signature
        name_format: 🎂 <<key_name>>'s Birthday
        translation_key: birthday
        sort_by: audience_rating.desc
        title_format: <<key_name>>'s Birthday
        data:
          depth: 20
          limit: 100
        tmdb_birthday:
          this_month: true
        schedule: monthly(1)
`

Logs

https://gist.github.com/nairbd/92056ec8cafa3512eecbffd69e2aeb7a

@nairbd nairbd added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels May 10, 2024
@YozoraXCII
Copy link
Contributor

Your log file is incomplete and doesn't show this, can you upload a full log file @nairbd

@nairbd
Copy link
Author

nairbd commented May 13, 2024

Your log file is incomplete and doesn't show this, can you upload a full log file @nairbd

I updated the gist. Full log file is too big to upload so I have through the top actors section.

@meisnate12
Copy link
Member

the gist doesnt have the actors default load section it stops during cesar

we need the section titled Loading Collection File Default: actor

and the section actually building one of the collections in that file

@nairbd
Copy link
Author

nairbd commented May 16, 2024

@meisnate12 That section is in the gist, but is cutoff in the preview. You need to view the raw to see it, but it's the last section of the log. I specifically cut it after that section completed when I posted it/

@meisnate12
Copy link
Member

@nairbd this does have where the collection are loaded but i still need the section where the actual collection is created

@nairbd
Copy link
Author

nairbd commented May 17, 2024

@meisnate12
Copy link
Member

try doing this it may do the same thing but i cant remember

    - default: actor
      schedule: monthly(1)
      template_variables:
        collection_section: '001'
        use_separator: false
        style: signature
        name_format: 🎂 <<key_name>>'s Birthday
        translation_key: birthday
        sort_by: audience_rating.desc
        title_format: <<key_name>>'s Birthday
        data:
          depth: 20
          limit: 100
        tmdb_birthday:
          this_month: true

@nairbd
Copy link
Author

nairbd commented May 18, 2024

I can confirm moving schedule outside of template_variables made it skip this section because it wasn't the 1st. I think we can close this.
Here's the run after making the change:
https://www.dropbox.com/scl/fi/5si42x7irjzlxgry3b8ol/meta.log.11?rlkey=iggmdrpvdmwt9nrddtdusgd8p&dl=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet
Projects
None yet
Development

No branches or pull requests

3 participants