question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple Rankings in Movie Title

See original GitHub issue

Great application, my plex users enjoy having the extended movie lists. Having one issue where sometimes movie titles when using the ranked number in title it seems to insert rankings over and over, not sure if this is over time (I run a daily update in cron) and it keeps inserting a new ranking without removing the old or if it’s just doing it all in one run.

https://i.imgur.com/1Xme3Xr.png

Recipe [root@centos7 python-plexlibrary]# cat recipes/movies_bestof2018.yml

Supported types: movie, tv

library_type: ‘movie’

Source list(s)

source_list_urls:

Source library details

source_libraries:

  • name: ‘Movies’ folders:
    • ‘/mnt/media/Video/Movies’

New library details

new_library: name: ‘Movies (Best of 2018)’ folder: ‘/mnt/media/movies-rottentomato-bestof2018/’ sort: yes sort_title: format: ‘{number}. {title}’ visible: yes absolute: yes # Skips numbers for missing items

Limit the age (in years) of items to be considered

* 0 for no limit

max_age: 2

Maximum number of items to keep in the library

max_count: 250

Remove items that no longer exist in the source lists

remove_from_library: no

Weighted sorting (requires TMDb API)

weighted_sorting: enabled: yes better_release_date: no weights: # Think of these as percentages, # but they don’t have to add up to 1.0 # * Additive # * Higher value -> more important index: 0.0 vote: 0.7 age: 0.3 random: 0.0 # Penalize (<0) or reward (>0) certain (TMDb) genres # * Final weight is multipled by these values genre_bias: ‘TV Movie’: 0.7 ‘Animation’: 0.95

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
adamgotcommented, Jul 28, 2018

Hey guys, I’ll look into this as soon as I am able (few days).

0reactions
mapleleafs89commented, Sep 21, 2018

Any luck with this @adamgot ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Definitive Ranking of Movies with Two-Letter Titles - FLOOD
With “Us” hitting theaters last Friday, we're ranking the ten most notable pioneering titles kept to two characters.
Read more >
IMDb Top 250 Movies
IMDb Top 250 as rated by regular IMDb voters. The Shawshank Redemption. 1. The Shawshank Redemption (1994). 9.2 · The Godfather · 2....
Read more >
Essential Guide: Film Crew Positions | Wrapbook
Learn the hierarchy of production with our exhaustive list of film crew positions. We break down every above and below the line departments...
Read more >
How to implement higher ranking for search hits whose terms ...
I'm trying to implement search-as-you-type movie title search. I wish my search to rank titles which start with entered prefix higher than ...
Read more >
Netflix is shifting the way it ranks its most popular titles
In the past, the company has ranked titles based on the completion of at least the first two minutes of a film or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found