#Trying to replace the streaming overlay

1 messages · Page 1 of 1 (latest)

ivory kraken
#

hi guys !

carmine snowBOT
#

Welcome @ivory kraken!

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

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

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

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

ivory kraken
#

I'm trying to replace the streaming overlay (like netflix, apple tv etc)

#

i would like it to be on the top right of the poster

#

the opposite of the placement of the resolution

#

tried some stuff but I'm getting an error on my config.yml

#

` Animes:
template_variables:
sep_style: green # use the green separators globally for this library
collection_mode: hide # hide the collections within the "library" tab in Plex.
collection_files:

- default: imdb                                 # IMDb Charts (Popular, Trending, etc.)
- default: other_chart                          # Other Charts (Popular, Trending, etc.)
- default: tautulli                             # Tautulli Charts (Popular, Trending, etc.)


remove_overlays: true
overlay_files:
  - default: resolution                                                # 1

  - file: config/overlays/miniseries
  - file: config/overlays/status
  - file: config/overlays/rating  #audience_rating
      
  - default: streaming                                                 # 7
    template_variables:
    horizontal_align: right
    vertical_align: top
      horizontal_offset: 60                                            # the set of ratings is on the right of the poster
      vertical_offset: 60                                               # the set of ratings is on the top of the poster`
#

Trying to replace the streaming overlay

split fulcrum
#

Meta.log should have an indication of what is going on. Please share.

thick valley
#

If this reflects the indentation in the config, it's wrong.

But the important part is specifically what "an error" means.

Please provide the full log showing the issue happening.

potent fiberBOT
#
Providing Log Files

1: Go to your config folder

2: Go into the logs folder

3: Look for meta.log (not meta.1.log etc)

4: Drag it in the Discord thread - the whole thing, DO NOT EDIT IT

5: Still confused? ¯_(ツ)_/¯

Log file too big? USE PASTEBIN or ZIP THE FILE

carmine snowBOT
#

📝 If you want to review this again, minimaxpower:
: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> 📝

#
**Kometa Config.yml YAML Validation** ❌
YAML Validation Results

INVALID YAML detected

INVALID YAML content

mapping values are not allowed here
in "<unicode string>", line 103, column 28:
horizontal_offset: 60 ...
^

split fulcrum
#

Yup... luma is pointing out that this doesn't belong here because of the indentation used. Have you been using vscode as an editor?

potent fiberBOT
#
Recommended Text Editors

We highly recommend to use a decent editor software to manage Kometa's .yml files.

Standard text editors (such as Notepad and TextEdit) often save text in a rich-text format which can result in text formatted in a way that Kometa cannot read. But not only that, they also make it very hard to visually distinguish the formatting, such as indentation.
Kometa requires indents to always be multiples of 2 spaces, and not TAB stops. If you have one space too much, or too few, it is very hard to notice that with a editor like Notepad.
An editor that is more focused on editing code instead of text will automatically detect the .YML fileformat and adjust things to make it easier to work. They can also try to detect possible errors even before you actually run the .yml in Kometa.

This can save a lot of time and headaches.

Preferred:
Visual Studio Code (Windows/Mac/Linux, Opensource & Free) Website
Additionally, install the indent-rainbow by oderwat extension and the YAML by Red Hat extension and leverage our schema.json file by adding this to the top of your config.yml file: # yaml-language-server: $schema=https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/json-schema/config-schema.json

Other options:
Notepad++ (Windows only, Opensource & Free)
Website

Sublime Text (Windows/Mac/Linux, Paid)
Website

For further details and a short list of highly recommended extensions, you can also take a look here.

Here is an example of how Visual Studio Code works with indent-rainbow plugin and using our Kometa schema (Click on image to get a better view):

ivory kraken
#

Yeah i guess this can't work

#

i've been trying plenty of stuff to change its position but i can't figure out what to use

#

i really hate where the initial position is

#

i've been using notepad++

#

kind of stupid now that i think of it i have visual studio 2019 :v

#

any suggestion how to move it ?

ivory portal
ivory kraken
#

i saw this part

#

but it also says that :

"Default Value Source¶
This is a reference showing the source of the data used in this Defaults File.

Nothing in this section is required for using the Defaults File, but it can be useful for understanding where the data comes from.

Nothing in this section is directly useful for customizing this Defaults File.

Nothing here is a code example for end user use. It all looks like code, since it is taken directly from the Kometa source code to ensure it is up-to-date and accurate, but it is not intended for end user use, and is expressed in a different format to the way you would customize the defaults via Template Variables."

#

so i'm not quite sure if we can make any change using those variables

#

btw the best way to erase what i've done with overlay and make new change is to put "true" to the
remove_overlays: true

right ?

And then i'll put it back to false

ivory portal
#

Right but your indentation is not correct.
Remove_overlays is not needed. They’ll be updated as you make changes. A great reason why a test library is beneficial

ivory portal
#

If you were using VSCode with the recommended extensions, this would be point out

ivory portal
thick valley
# ivory kraken

Yes, those are the values that are in use if you change nothing.

thick valley
#
libraries:
  Movies:
    overlay_files:
    - default: resolution
    - default: streaming
      template_variables:
        horizontal_align: right
        vertical_align: top
        horizontal_offset: 60
        vertical_offset: 60
split fulcrum
#

Also... word of warning about top right...the wonderful oversized plex check mark.

ivory kraken
#

Thx guys. My bad i did not see that i had to click on a button to see all the customable variables x)

#

Ah perfect thx carrot!

#

Indeed bullmoose.. i might just put it in the top and middle

#

I think it will be fine that way

split fulcrum
#

you can also consider using Quickstart to pick and choose defaults with some template_varibale options as well to build that part of your config an then tweak as needed. Since it has a preview feature it takes a lot of guesswork out of the picture. It currently won't allow you to move it to x,y coordinates but you still might find that helpful.

ivory kraken
ivory kraken
#

perfect

#

will reduce a bit the vertical offset and I'm good 😄

split fulcrum
#

Looking good... just an alignment issue there but an easy fix.

ivory kraken
#

yeah ! 🙂

#

As always, thank you guys for your help and reactivity

#

That's so much appreciated, really

potent fiberBOT
#

antwanchild used !aenh

@ivory kraken, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.