#Trakt Trending overlay

1 messages · Page 1 of 1 (latest)

tender rover
#

Hi, I'm looking for a trakt trending overlay to match the tmdb trending one I found in this Discord about a year ago. I can't find it in the shared config repo or in the image showcase chat.

Could anyone help out please?

spiral cape
#

Can you provide the tmdb trending overlay you have?

#

We could maybe throw one together for you 🙂

#

@tender rover uparrow

misty sluice
#

How about all of those?

misty sluice
#

@tender rover uparrow

tender rover
tender rover
misty sluice
#

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…

spiral cape
#

Let me know how you get on, I can remake it if needed

tender rover
misty sluice
#

We already have these raw images. 😉

#

I created these with the yml

tender rover
#

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 !

misty sluice
#

You mean you are using non-positional overlays?

tender rover
#

Yeah

misty sluice
#

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

tender rover
#

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?

misty sluice
#

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

tender rover
#

I only have TMDB configured in my movies yaml and trakt for shows

misty sluice
#

Ahhhh ok

#

So do you already have a working yml for Trakt trending but you have a crappy image?

tender rover
#

I have the yml for the collection yes but with no image

misty sluice
#

And if you had to put the tmdb image you currently have, would you be able to alter your yml to do that?

tender rover
#

Yes 👍

misty sluice
#

Share that yml here and we can modify it together

tender rover
#

The overlays yml?

misty sluice
#

Well… the yml you want to use to actually apply the Trakt trending overlay

tender rover
#

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)

misty sluice
#

And share the tmdb trending one you have as well

tender rover
#

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

misty sluice
#

Ok… and the overlay yml part for tmdb trending?

tender rover
#

That's it just above

#

TMDB:
overlay:
name: TMDBTrending
tmdb_trending_daily: 50

misty sluice
#

Ok… but where does the definition for the non-positional overlay image come into play?

#

File_poster looked like it was the collection poster?

tender rover
#

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

misty sluice
#

So the local file is called TMDBTrending.png ?

tender rover
#

Yep

#

And because the collection and the overlay definition both use tmdb_trending_daily:50 it applies the overlay to the correct collection

misty sluice
#

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
tender rover
#

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.

misty sluice
#
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
misty sluice
#

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

tender rover
#

Yes that bit you just pasted it what I was after, thanks so much 👍

misty sluice
#

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?

tender rover
#

I don't have any test libraries, just run everything in prod 🤣

misty sluice
#

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

tender rover
#

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

misty sluice
#

Ok sure.

#

Maybe we will make a PMM: trending overlay default. 😉

tender rover
#

I'm sure it would get plenty of use 🤞

tender rover
#

I remembered I could run from the command line to just do overlays

misty sluice
tender rover
#

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

misty sluice
#

Ok, the “issue” has nothing to do with what we ended up with.