#Simple Config needed

1 messages · Page 1 of 1 (latest)

cunning nexus
#

Hi there,

I would like to have 3 things:

  1. Clean up the Posters ( i made a mess with PMM)

  2. Use a simple Config ( #old-configs) like shown here (this does nothing for me)

  TV Shows:
    - pmm: status
      template_variables:    
        horizontal_align: center
        vertical_align: top
        vertical_offset: 0
        horizontal_offset: 0
        back_height: 85
        back_width: 1100
        font: config/fonts/Avenir_95_Black.ttf
        font_size: 60
        back_color_airing: "#016920"
        back_color_returning: "#81007F"
        back_color_canceled: "#ed1f1f"
        back_color_ended: "#000847" 
  1. a sime config needed for Anime as well
midnight coralBOT
#

Welcome @cunning nexus!

Someone from <@&938443185347244033> will assist when they're available.

Including the meta.log from the beginning is a huge help, type !logs for more information.

#

You can press the "Close Post" button above or type /close at any time to close this post.

hard cipher
#

Can you provide some details along with a log of what "does nothing for me" specifically means?

cunning nexus
hard cipher
#

Right, but

1) Clean up the Posters ( i made a mess with PMM)

What do you mean by "clean up"? reset them all to something? Apply some overlays? Something else? What does "made a mess" mean?

2) Use a simple Config ( ⁠config-showcase) like shown here (this does nothing for me)

  TV Shows:
    - pmm: status
      template_variables:    
        horizontal_align: center
        vertical_align: top
        vertical_offset: 0
        horizontal_offset: 0
        back_height: 85
        back_width: 1100
        font: config/fonts/Avenir_95_Black.ttf
        font_size: 60
        back_color_airing: "#016920"
        back_color_returning: "#81007F"
        back_color_canceled: "#ed1f1f"
        back_color_ended: "#000847" 

What does "simple config" mean? Do you want only this one overlay on only this one library? Something else?
What does "this does nothing for me" mean? Is there an error of some sort? Does it "do nothing for you" in the sense of you don't like it?

3) a sime config needed for Anime as well

Again, what does "simple config" mean to you here?

Chances are if anyone guesses at what you mean they will be wrong, and that's a waste of everyone's time.

#

Do you have the script running? Are other things working?

cunning nexus
#

here is my log
https://pastebin.com/mq5v6fDJ

Secondly i used a overlay and i want to clean it up (reset to default)

and the simple config it litterly what i want just a simple overlay

#

i need to edit my role i see i switched from windows to docker

hard cipher
#

Drag the log in here and a bot will analyze it for some issues.

#

You can remove the existing overlays with remove_overlays: true

#

However, you don't have to remove them to replace them; if you add that one overlay definition you want, the existing overlays will be replaced by that one.

#

The Anime config depends entirely what you want there.

cunning nexus
hard cipher
#

Please just drag the meta.log into this thread.

cunning nexus
midnight coralBOT
#

📝 If you want to review this again, natsu:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

hard cipher
#

What you have there isn't doing anything because you're missing overlay_files::

this:

libraries:
  TV Shows:
    - pmm: status
      template_variables:
        horizontal_align: center
...

needs to be:

libraries:
  TV Shows:
    overlay_files:
    - pmm: status
      template_variables:
        horizontal_align: center
...
#

If you want ratings you'll need to maybe add some operations to set ratings and add the overlay. So what specific ratings do you want?

cunning nexus
#

as for anime can i use myanimelist ?

hard cipher
hard cipher
cunning nexus
#

The status i am using now for tv show's , can i copy that to anime since it gets the status from Sonarr (i assume).

hard cipher
#

If those are anime shows, then probably.

hard cipher
#

Can't offer any specifics on ratings without specific requirements.

hard cipher
#

Maybe something like this:

libraries:
  TV Shows:
   overlay_files:
     - pmm: status
       template_variables:
         horizontal_align: center
         vertical_align: top
         vertical_offset: 0
         horizontal_offset: 0
         back_height: 85
         back_width: 1100
         font: config/fonts/Avenir_95_Black.ttf
         font_size: 60
         back_color_airing: "#016920"
         back_color_returning: "#81007F"
         back_color_canceled: "#ed1f1f"
         back_color_ended: "#000847"
      - pmm: ratings
        template_variables:
          rating1: critic
          rating2: audience
          rating3: user
          rating1_image: rt_tomato
          rating2_image: rt_popcorn
          rating3_image: imdb
    operations:
      mass_critic_rating_update: mdb_tomatoes
      mass_audience_rating_update: mdb_tomatoesaudience
      mass_user_rating_update: imdb
  Anime:
    overlay_files:
      - pmm: status
        template_variables:
          horizontal_align: center
          vertical_align: top
          vertical_offset: 0
          horizontal_offset: 0
          back_height: 85
          back_width: 1100
          font: config/fonts/Avenir_95_Black.ttf
          font_size: 60
          back_color_airing: "#016920"
          back_color_returning: "#81007F"
          back_color_canceled: "#ed1f1f"
          back_color_ended: "#000847"
       - pmm: ratings
         template_variables:
           rating1: critic
           rating1_image: mal
    operations:
      mass_critic_rating_update: mal
cunning nexus
#

Thank you mr. carrot.

As for rating for anime/mal do i need to use client_id / client_secret for it to work?

slim eagleBOT
#

In some circumstances [typically NAS], it can be difficult to run PMM in the interactive mode required for authenticating against MyAnimeList and Trakt.

chazlarson has a scripts that can do this authentication outside of PMM in his repo, but that requires you to be able to run a Python script on your computer or NAS, which may not be possible for whatever reason.

You can also run those scripts online [on any OS] here

cunning nexus
hard cipher
#

Not without a log.

cunning nexus
midnight coralBOT
#

📝 If you want to review this again, natsu:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

#
**Rec 02** - ⚠️ **NO ITEMS FOUND IN PLEX**

⚠️ NO ITEMS FOUND IN PLEX
The criteria defined by a search/filter returned 0 results.
This is often expected - for example, if you try to apply a 1080P overlay to a 4K library then no items will get the overlay since no items have a 1080P resolution.
It is worth noting that search and filters are case-sensitive, so 1080P and 1080p are treated as two separate things.
For more information on this error, [https://www.metamanager.wiki/en/latest/pmm/logs/?h=[error]#error]
1 line(s) with 'No Items found in Plex' errors. Line number(s): 3102

hard cipher
#

This current config is not applying any episode-level overlays, so you have apparently got some issue there where PMM can't tell those things have ovealys and doesn't know to remove them. You might try a run with:

libraries:
  TV Shows:
   remove_overlays: true
   overlay_files:
...

And if that doesn't clear them out some more involved techniques may be needed.

cunning nexus
#

Thank your Mr.Carrot that did fix it.

Sadly anime does not have any rating for me.

midnight coralBOT
#

📝 If you want to review this again, natsu:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

hard cipher
#

the indentation in there is wrong in a bunch of cases

#
libraries:
  TV Shows:
...
      operations:
      mass_critic_rating_update: mdb_tomatoes
      mass_audience_rating_update: mdb_tomatoesaudience
      mass_user_rating_update: imdb
  Anime:
    overlay_files:
    - pmm: status
      template_variables:
...
    - pmm: ratings
      template_variables:
      rating1: critic
      rating1_image: mal
operations:
  mass_critic_rating_update: mal

should be:

libraries:
  TV Shows:
...
      operations:
        mass_critic_rating_update: mdb_tomatoes
        mass_audience_rating_update: mdb_tomatoesaudience
        mass_user_rating_update: imdb
  Anime:
    overlay_files:
    - pmm: status
      template_variables:
...
    - pmm: ratings
      template_variables:
        rating1: critic
        rating1_image: mal
    operations:
      mass_critic_rating_update: mal
cunning nexus
#

Sorry but whats the difference now? i used a yaml validator

hard cipher
#

What you have is valid YAML, but it's not arranged in the way that PMM expects it.

cunning nexus
#

ha

hard cipher
#

These:

libraries:
  TV Shows:
...
      operations:
      mass_critic_rating_update: mdb_tomatoes
      mass_audience_rating_update: mdb_tomatoesaudience
      mass_user_rating_update: imdb

Need to be indented under operations:

libraries:
  TV Shows:
...
      operations:
        mass_critic_rating_update: mdb_tomatoes
        mass_audience_rating_update: mdb_tomatoesaudience
        mass_user_rating_update: imdb
#

These tempalte variables:

  Anime:
    overlay_files:
    - pmm: status
      template_variables:
...
    - pmm: ratings
      template_variables:
      rating1: critic
      rating1_image: mal

need to be indented under template_variables:

  Anime:
    overlay_files:
    - pmm: status
      template_variables:
...
    - pmm: ratings
      template_variables:
        rating1: critic
        rating1_image: mal
cunning nexus
#
  TV Shows:
    overlay_files:
    - pmm: status
      template_variables:
        horizontal_align: center
        vertical_align: top
        vertical_offset: 0
        horizontal_offset: 0
        back_height: 85
        back_width: 1100
        font: config/fonts/Avenir_95_Black.ttf
        font_size: 60
        back_color_airing: '#016920'
        back_color_returning: '#81007F'
        back_color_canceled: '#ed1f1f'
        back_color_ended: '#000847'
    - pmm: ratings
      template_variables:
        rating1: critic
        rating2: audience
        rating3: user
        rating1_image: rt_tomato
        rating2_image: rt_popcorn
        rating3_image: imdb
      operations:
       mass_critic_rating_update: mdb_tomatoes
       mass_audience_rating_update: mdb_tomatoesaudience
       mass_user_rating_update: imdb
  Anime:
    overlay_files:
    - pmm: status
      template_variables:
        horizontal_align: center
        vertical_align: top
        vertical_offset: 0
        horizontal_offset: 0
        back_height: 85
        back_width: 1100
        font: config/fonts/Avenir_95_Black.ttf
        font_size: 60
        back_color_airing: '#016920'
        back_color_returning: '#81007F'
        back_color_canceled: '#ed1f1f'
        back_color_ended: '#000847'
    - pmm: ratings
        template_variables:
        rating1: critic
        rating1_image: mal
      operations:
       mass_critic_rating_update: mal

lke this?

hard cipher
#

this operations attribute:

libraries:
...
  Anime:
...
operations:
  mass_critic_rating_update: mal

needs to be indented under the Anime library at the same levbel as overlay_files:

libraries:
...
  Anime:
...
    operations:
      mass_critic_rating_update: mal
hard cipher
# cunning nexus ``` TV Shows: overlay_files: - pmm: status template_variables: ...
libraries:
  TV Shows:
    overlay_files:
    - pmm: status
      template_variables:
        horizontal_align: center
        vertical_align: top
        vertical_offset: 0
        horizontal_offset: 0
        back_height: 85
        back_width: 1100
        font: config/fonts/Avenir_95_Black.ttf
        font_size: 60
        back_color_airing: '#016920'
        back_color_returning: '#81007F'
        back_color_canceled: '#ed1f1f'
        back_color_ended: '#000847'
    - pmm: ratings
      template_variables:
        rating1: critic
        rating2: audience
        rating3: user
        rating1_image: rt_tomato
        rating2_image: rt_popcorn
        rating3_image: imdb
    operations:
      mass_critic_rating_update: mdb_tomatoes
      mass_audience_rating_update: mdb_tomatoesaudience
      mass_user_rating_update: imdb
  Anime:
    overlay_files:
    - pmm: status
      template_variables:
        horizontal_align: center
        vertical_align: top
        vertical_offset: 0
        horizontal_offset: 0
        back_height: 85
        back_width: 1100
        font: config/fonts/Avenir_95_Black.ttf
        font_size: 60
        back_color_airing: '#016920'
        back_color_returning: '#81007F'
        back_color_canceled: '#ed1f1f'
        back_color_ended: '#000847'
    - pmm: ratings
      template_variables:
        rating1: critic
        rating1_image: mal
    operations:
      mass_critic_rating_update: mal
cunning nexus
#

Thanks Mr Caccot.

For some reason i had to use mblist api now (before it worked fine).

I used the tutorial https://metamanager.wiki/en/latest/config/myanimelist/

API Status says PUBLISHED on myanime list

but still get Failed to connect ?
| 1 | MyAnimeList Error: Failed to Connect |
| 1 | Config Error: Operation mass_critic_rating_update cannot be mal without a successful MyAnimeList Connection |

hard cipher
#

PMM isn't authenticated to MAL; this should be shown earlier in the log.

#

That authentication is a multi-step process.

cunning nexus
#

Got it working had to redo the api 🙂

hard cipher
#

Anything further needed here? @cunning nexus?