The POC tool media.tools.movies.castlist builds a list of movies for a given actor, sorted out.
Ex.
Gary Riley Planes, Trains And Automobiles Motel Thief
Ruthless People Heavy Metal Kid
Kurt Russell Breakdown Jeff Taylor
Deepwater Horizon Jimmy Harrell
Escape From L.A. Bob 'Snake' Plissken
Executive Decision David Grant
The Fate Of The Furious Mr. Nobody
Guardians Of The Galaxy Vol 2 Ego
The Mean Season Malcom Anderson
Once Upon A Time In Hollywood Randy Miller
Swing Shift 'Lucky' Lockhart
Tango & Cash Gabriel Cash
Tequila Sunrise Nick Frescia
The Thing MacReady
Vanilla Sky McCabe
Unfortunately, the sort operation is a simple comparison based on the unique_key value, which isn't going to be as accurate.
This ticket needs to address two issues.
The media.data.media.contents.movie.Movie class should not have __gt__, or __lt__ methods.
There should be a function somewhere in the sorting code that easily generates a list of movies in title order using the new sorting frameworks. It should take a list of movie objects as an argument, and should return those same movie objects in title alphabetical order.
The POC tool
media.tools.movies.castlist
builds a list of movies for a given actor, sorted out.Ex.
Unfortunately, the sort operation is a simple comparison based on the
unique_key
value, which isn't going to be as accurate.This ticket needs to address two issues.
media.data.media.contents.movie.Movie
class should not have__gt__
, or__lt__
methods.Related tickets.
https://github.com/cjcodeproj/medialibrary/issues/76 https://github.com/cjcodeproj/medialibrary/issues/148