Plex/Tautulli What's Your TV/Movie Viewing Age#124
Plex/Tautulli What's Your TV/Movie Viewing Age#124mcclown wants to merge 16 commits intoaunefyren:mainfrom
Conversation
…ionality for music later
|
I forgot to mention the methodology for working out the year, once we've identified the median year from the weighted analysis of the viewing history. The general theory seems to be that people's tastes are established between the ages of 10-25 years of age. So we use 18 years old as the rough middle of that. When we calculate the peak nostalgia year we then take assume that the user would have been 18 years old during that year...and take away 18 years to get their estimated birth year. It's not amazingly scientific but it seems to be getting approximately right answers for most of the users I've tested with....or also hilariously wrong answers for some others. A conversation starter either way. |
|
Yeah, so I'm using the age of 18 as the year of peak nostalgia (as a proxy for people's tastes usually developing from the ages of 10-25, and 18 is right in the middle). Also, the movies/TV shows are weighted using a logarithmic weight, depending on their age...so basically an older movie has more impact than a newer movie. I did this to offset the fact that a lot of people tend to watch new releases of TV or movies. For TV shows, I based it on what episodes you watched the most, and the year they were released...so if you really like Season 1 of a show, it will take that year into account. Not very scientific, it definitely won't be accurate for everyone, but my friends enjoyed it as a fun feature in last year's wrap. ...and a lot more accurate than any results I saw for anyone in Spotify. Spotify says I'm 82 but my movie age above is almost right. |
|
Just to call out, I haven't implemented it for music, as I don't host a music library. I tried to code it so most of the placeholders to support music are there but if you have the data you may want to take a look at finishing off music support. |

This is a much bigger feature than the other pull requests I've added.
This year's Spotify Wrapped added a feature to calculate your listening age....I've implemented something similar for Plex/Tautulli. It also includes a graph showing your viewing, by year, over the previous year. TVs and Movies are processed separately, so if you have enough data for both, you will see two age estimates.
Movie Card
TV Card
A few details about the implementation: