๐ If you want to review this again, propman07:
: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> ๐
#Using Kometa to create a top nn episode playlist based on imdb ratings
1 messages ยท Page 1 of 1 (latest)
Welcome @ruby jewel!
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.
Hello...I'm back....and trying to create a playlist for the top 15 episodes based on imdb ratings. I originally created a collection (info found at this thread: https://discord.com/channels/822460010649878528/1232137605366153216), but found that it did not appear as desired on the Fire Cube client.
Shifting gears to try to get the results using a playlist. I was able to create a playlist on Trakt, and get Kometa to add that to the Plex library. Couple of issues....
Created playlist shows the episodes in released order, not sorted by imdb rating. Other issue is that there are 20 episodes shown...intent was to be able to modify the number of episodes to create a top 15, top 10, top 5, etc list.
Attaching configuration files.
Thanks.
Discord
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
**Kometa Info**
Kometa Header
Version: 2.0.0 (Docker)
PlexAPI Version: 4.15.12
Platform: Linux-6.1.74-Unraid-x86_64-with-glibc2.28
Memory: 31 GB
Run Command: kometa.py -r
Kometa Footer
Finished Run
Version: 2.0.0
Finished: 19:30:47 2024-04-27 Run Time: 0:01:02
Available Kometa Versions
as of 2024-04-28 04:42:32
Kometa Version (Master branch)
2.0.0
Kometa Version (Develop branch)
2.0.0
Kometa Version (Nightly branch)
2.0.0-nightly4
Page 2/15
don't need to share config, the log file already has a redacted copy
okay...not sure how to remove those files from the post
i already removed the config
ty
i had it set to private....changed to public
i'm thinking that i made the list incorrectly on the trakt side
not sure....it was in one of the sample files on the wiki
playlist_files:
- default: config/pl-for-all-mankind.yml # This is a file within PMM's defaults folder
template_variables:
libraries: Movies, TV Shows ``` does not work, (1) your yml file is not a default, (2), you can't use template_variables in your own custom file unless they're defined in the file
so this should
```yaml
playlist_files:
- file: config/pl-for-all-mankind.yml ```
corrected in config file
it doesn't go there
so you should be able to run the file and see
changed the following in the config.yml file:
playlist_files:
- default: config/pl-for-all-mankind.yml
playlist_files:
- file: config/pl-for-all-mankind.yml
ok
ran it again after updating...same results....shows the first 20 shows in airing order
That list has only one show in it. the log shows it adding 20 episodes of one show.
Do you have more than 20 episodes of that show in that library? The log shows you have 20, so this seems to be working as I would have expected.
hmmm....i was trying to make a list of the top 20 shows based on imdb ratings....i do have 20 episodes of that show in the library as it is a test library
is there a way to do a playlist from an imdb list?
i was able to get IMDB to show me a list of top rated episodes
https://www.imdb.com/title/tt7772588/episodes/?topRated=DESC&ref_=tt_eps_rhs_sm
I'm just saying the the trakt list you are using only has one show in it, so I'm not sure why you would expect the playlist to have more than that one show in it.
i didn't realize that the trakt playlist only had one show in it. i was trying to create a list of top 20 shows
But again, that IMDB search only has that one show.
playlist for the top 15 episodes based on imdb ratings
trying to create a list of top 20 shows
I'm lost as to what you are trying to create
sorry....i'll start over....trying to create a list of the top nn episodes for a series and get kometa to create a playlist of those episodes so that the thumbnails will display as intended on my TV via fire cube
i am too, because then the thread is called Using Kometea to create a top nn episode playlist...
so nn is 15, 20, etc....idea is that i would be able to change it in one of the config files
i think your trakt list is a list of shows, but can you create a list of episodes?
So episodes, not shows
i know what nn is... just saying you've mentioned three different things in this thread
i'm not sure on the trakt part...i'll have to look into that more
That trakt list [for all mankind] example is behaving exactly as I'd expect [and I think as what you want] except for the ordering. Is this correct?
again...sorry for the confusion.....the test library i'm using only has 20 episodes in it. I was trying to create a playlist for the top 15 episodes based on imdb rating
i'm not sure that the trakt list is behaving correctly....it merely lists out all 20 episodes in order of airing, not in order of imdb rating
so since that really didn't work as expected, and the collection that i was able to get kometa to build did work as expected (using imdb list), i thought that might be another path to try
you have the list set to a show. there is only one show there, so it is behaving as it should
First, this doesn't contain anything that would limit the list to 15.
playlists:
#https://trakt.tv/users/propman07/lists/for-all-mankind-top-episodes?sort=imdb_rating,asc
For All Mankind Top Episodes:
sync_mode: sync
libraries: PMM-TV Shows
sync_to_users:
trakt_list: https://trakt.tv/users/propman07/lists/for-all-mankind-top-episodes?sort=imdb_rating,asc
summary: For All Mankind Top Episodes
okay...i'll have to figure out how to get trakt to create a list of more than one show
So the first thing would be to add that limit.
playlists:
#https://trakt.tv/users/propman07/lists/for-all-mankind-top-episodes?sort=imdb_rating,asc
For All Mankind Top Episodes:
sync_mode: sync
libraries: PMM-TV Shows
sync_to_users:
trakt_list: https://trakt.tv/users/propman07/lists/for-all-mankind-top-episodes?sort=imdb_rating,asc
limit: 15
summary: For All Mankind Top Episodes
Then, the wiki notes:
https://kometa.wiki/en/latest/files/builders/trakt/#trakt-list
That trakt lists can't be sorted through the API, as you are trying here, so you need to sort them here in Kometa.
got it...didn't know that the trakt lists can't be sorted through api...
Unfortunately, "imdb rating" is not a supported sort.
thanks for the link to the wiki
You can sort by one of the ratings you have set, so if you have the IMDB rating in one of hte plex ratings, you could sort by that; let's say it's audience:
playlists:
#https://trakt.tv/users/propman07/lists/for-all-mankind-top-episodes?sort=imdb_rating,asc
For All Mankind Top Episodes:
sync_mode: sync
libraries: PMM-TV Shows
sync_to_users:
trakt_list: https://trakt.tv/users/propman07/lists/for-all-mankind-top-episodes?sort=imdb_rating,asc
limit: 15
collection_order: audience.desc
summary: For All Mankind Top Episodes
I think that might do what you want
But you don't want the trakt list to have multiple shows, since that would give you the top 15 episodes across all those shows, not per show.
The trakt [or any external] list might be overly complicated. You can probably do these with a plex search instead, since you're jsut loking to collect things you have in your library.
okay...didn't think of doing this with a plex search....i was coming off of the example using collections via imdb
that is correct....looking to put a playlist together based on items in the library...
thanks for the sort options link as well...looking in to that and trying to understand it
i do something similar without a list. i run the mass ratings update for episodes, i set critic to imdb and audience to tmdb.
i run collections that pull the top 50 rated episodes for that show
so you are creating a collection or a playlist?
i create a collection
okay...the collecdtions that i've made using kometa display correctly on my pc, but not on the TV via fire cube...that's why i was going to try a playlist as they display a little better on the TV
thanks to both of you for the help....i'm going to read through the wiki again and get back to this tomorrow.
what do you mean by "display correctly". a collection is going to be the same in plex whether you are looking at it on apple tv, plex web, fire stick, etc. the poster might display different, but they won't be in a different oder
I think the playlists show an episode image, where collections use the show image on the firetv client
By display differently I mean the graphic posters. See the link to the other thread where I included snapshots of the pc graphics and firetv client graphics
!afnh
Anything further needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.
@swift talon may I hijack this thread to ask a question? trying to do this exactly but not getting expected result. or i can open a new post?
config.yml
TV: remove_overlays: false sonarr: url: *redacted* token: *redacted* root_folder_path: /data/media/tv quality_profile: TRaSH-4K tag: kometa collection_files: - file: config/tvcollections.yml - default: imdb - default: tmdb - default: trakt - default: network
tvcollections.yml
collections: The Simpsons Top 100: collection_order: custom builder_level: episode sync_mode: sync plex_search: type: episode sort_by: episode_critic_rating.desc limit: 100 all: title.ends: "Simpsons"
so i do this very thing @potent plover
collections:
Simpsons Top 50:
builder_level: episode
smart_filter:
all:
title: "The Simpsons"
sort_by:
- critic_rating.desc
- audience_rating.desc
limit: 50
summary: The top 50 episodes of The Simpsons, sorted by IMDb user rating.
sort_title: " !AATheSimpsons"
collection_mode: hide```
@swift talon thanks - should I send my logs if the collection is not showing? It appears to not be calling my collection list
or open up a new ticket