#Trying to replace the streaming overlay
1 messages · Page 1 of 1 (latest)
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.
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
Meta.log should have an indication of what is going on. Please share.
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.
📝 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> 📝
Yup... luma is pointing out that this doesn't belong here because of the indentation used. Have you been using vscode as an editor?
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):
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 ?
Using the template_variables will work, you need proper indentation
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
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
There are literal examples on the wiki pages for the defaults. The streaming overlay page has a couple more of examples on it. You aren’t getting movement because your spacing for the template variables you are using is not correct.
If you were using VSCode with the recommended extensions, this would be point out
Will try that tomorrow
https://kometa.wiki/en/latest/defaults/overlays/streaming/#template-variables
there are a few examples of how to use the variables
Kometa is an open-source python project allowing you to unlock the potential of your media server.
Yes, those are the values that are in use if you change nothing.
Yes, because nothing in there is directly useful for custumization. It shows you where the data comes from, and some default values.
What is doesn't show is how to change them, which is what you would use template variables for.
libraries:
Movies:
overlay_files:
- default: resolution
- default: streaming
template_variables:
horizontal_align: right
vertical_align: top
horizontal_offset: 60
vertical_offset: 60
Also... word of warning about top right...the wonderful oversized plex check mark.
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
as long as you are not using mediastingers or the audio_codec, you'll be fine top middle
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.
Yeah ^^
Quickstart? I'll check that out
Looking good... just an alignment issue there but an easy fix.
yeah ! 🙂
As always, thank you guys for your help and reactivity
That's so much appreciated, really
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.