#Trakt Trending overlay
1 messages · Page 1 of 1 (latest)
Can you provide the tmdb trending overlay you have?
We could maybe throw one together for you 🙂
@tender rover 
@tender rover 
Thanks for the replies! Here is the TMDB one that was found on the shared repo or this discord about a year ago....
Thanks for replying, that's not exactly what I was looking for but handy for future reference!
So something like this with the word trending underneath
Or maybe just the red logo with the word trending under it?
And are you saying that something like this would not work?
overlays:
audience_rating:
overlay:
name: text(TRENDING)
horizontal_offset: 225
horizontal_align: center
vertical_offset: 15
vertical_align: top
font: fonts/Inter-Medium.ttf
font_size: 63
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 300
back_height: 200
pmm: images/rating/TMDb
addon_position: top
addon_offset: 25
Let me try some stuff…
Let me know how you get on, I can remake it if needed
That would be great 💯
We already have these raw images. 😉
I created these with the yml
here are the definitions i used to create thise
Thanks 👍 I've got all my current overlays implemented the 'old' way so was hoping to do it that way but I should probably upgrade to the new way at some point !
You mean you are using non-positional overlays?
Yeah
I mean, you gotta start somewhere so might as well start with the tmdb one and then move on…
To the Trakt one
And you can mix and match so should not be too bad
Yeah that's what I was thinking, if I can mix and match I'll give the trakt one a go.
My trakt trending playlist uses the trakt_trending attribute so I assume I can use this for the overlay as well?
Well… what was your intention?
I mean, where were you going to place the overlay?
Same spot as tmdb?
What if both are trending?
I think you should maybe consider starting with tmdb, and make that work… and then move to Trakt.
Because really the only thing that changes is the “image” definition.
Instead of referring to a non-positional overlay image, you will use the positional overlay definition and boom, you are done
I only have TMDB configured in my movies yaml and trakt for shows
Ahhhh ok
So do you already have a working yml for Trakt trending but you have a crappy image?
I have the yml for the collection yes but with no image
And if you had to put the tmdb image you currently have, would you be able to alter your yml to do that?
Yes 👍
Share that yml here and we can modify it together
The overlays yml?
Well… the yml you want to use to actually apply the Trakt trending overlay
Trending TV:
smart_label: originally_available.desc
sync_mode: sync
trakt_trending: 50
summary: Shows trending across the internet
sort_title: 1_
visible_home: true
visible_shared: true
file_poster: config/posters/TrendingShows.png
schedule: weekly(monday)
And share the tmdb trending one you have as well
That's in my TV yml for the collection
I'll show you how I implement the TMDB one...
So in my movies yml I have this section to build the TMDB Trending collection
Trending Movies:
tmdb_trending_daily: 50
sort_title: +++++++++++++++++++_1Trending
sync_mode: sync
smart_label: year.desc
summary: Movies Trending across the internet
radarr_add: false
radarr_search: false
radarr_monitor: false
file_poster: config/posters/Trending.png
visible_home: true
visible_shared: true
Then in my overlays yml I have this
TMDB:
overlay:
name: TMDBTrending
tmdb_trending_daily: 50
Ok… and the overlay yml part for tmdb trending?
Ok… but where does the definition for the non-positional overlay image come into play?
File_poster looked like it was the collection poster?
Those last 4 lines I copied, that's it. It's in the overlays yml and I have a local PNG file that matches the overlay name
So the local file is called TMDBTrending.png ?
Yep
And because the collection and the overlay definition both use tmdb_trending_daily:50 it applies the overlay to the correct collection
We should be able to do the same thing for Trakt
And where we insert the definition of the overlay would be here:
TRAKT:
overlay:
name: TRAKTTrending
#here
trakt_trending_daily: 50
Yes, but I need the image...?
Also, im not sure why my TMDB overlay isn't applying to TV shows. I don't want it to but I'm not sure why it isn't.
overlays:
trakt_trending:
overlay:
name: text(TRENDING)
horizontal_offset: 15
horizontal_align: left
vertical_offset: 30
vertical_align: bottom
font: fonts/Inter-Medium.ttf
font_size: 63
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 400
back_height: 200
pmm: rating/Trakt
addon_position: top
addon_offset: 25
trakt_trending: 50
Because it does not apply?
Meaning that the criteria is not met
So the overlay does not apply
As for the image, it’s all part of the yml I just shared
Yes that bit you just pasted it what I was after, thanks so much 👍
Well… now we need to see if that works…
Do you have a test tv show library?
That has at least one tv show that is trending on Trakt?
I don't have any test libraries, just run everything in prod 🤣
Right, but to test that this works would take how long on your prod tv shows library?
Because you will want to tweak most likely
Yeah it would take a couple of hours. I can set something up but won't have time to test it until the weekend anyway. Thanks for all your help, you've definitely given me all the tools I need to get it working
I'm sure it would get plenty of use 🤞
you saying that we nailed it on the first run?
Basically yes! I tweaked the size a few times and then realised I should just create the TMDB overlay using the same method so the icon sizes are identical 👍
My only issue is that the overlays and the collection entries are not quite in sync so I'm running a full library update to see if they sync up
Ok, the “issue” has nothing to do with what we ended up with.