Movie and TV show tracker plugin for Obsidian
![]()
![]()
![]()
Small bug fix
Please see "Available on" section below for further information
I work on this in my spare time. If you enjoy using this, please say Thank you or
Happy to implement any feature requests you have or better yet, if you wish you can create pull requests.
A simple Movie and TV show library to keep track of favourite movies and shows. The discover feature helps you find new movies and shows based on your library and ratings. Better and more algorithms for discover new coming soon.
Each Movie and TV show is saved as a markdown file in a folder of your choice (Specified in the settings). Each file has YAML content which is used to Display, filter and sort content. To be able to add new Movies and TV shows you will need to get your personal API key from TMDB (Free for non-commercial use). Simply create an account at https://www.themoviedb.org/signup and get the API key. You will then have to enter your API key in the settings for this plugin.
A template library of Movies and TV shows is available in the github repo https://github.com/Shreshth-mehra/Obsidian-TV-Tracker.
Note: The plugin does not refresh on its own, please close and open the plugin again to see newly added titles.
The Plugin is accesible as a 'Star' Ribbon icon. On clicking, this will open a new View called 'TV Tracker' with a Grid of all the movies and shows found in the specified path in the settings. The Header displays multiple options to sort and filter the content displayed. Please note that if search results are 0 then all titles are displayed. The header is hidden in a pop up on mobile app.
The easiest way for adding new titles is through the add new button in the header. You will be prompted to enter 4 details
If you wish to batch add titles from a csv, I can provide python scripts that I used myself
After selecting the genre you will be shown titles from your own library in that genre. You can then select the type of movies/show you are in a mood for and then the algorithm recommends new movies/shows you haven't seen.
The Movie Metrics shows top Genres, Actors, Directors, Production Companies and total viewing time from your library. It also shows Budget metrics and Genre taste index.
There are 4 options to choose from for deciding the metric for Top in each category. The total viewing time only displays the viewing time of Movies and does not include Series.
Genre taste index is the ration of User rating to public rating for each of the title in that genre. So, if your genre taste index for Documentries is 1.2 that means that you rate documentary movies 1.2 times higher on average than public ratings. Keep in mind that the public ratings are fetched from TMDB and are on a scale of 1 to 10. The user rating is multiplied by 2 for this calculation to be on the same scale. Additionally, the rating mode does not affect this metric.
Setting Language filter also changes the metrics. For example, if you have English (en) and Spanish (es) movies in your vault and 'en' filter is applied then the metrics will only include movies with original_language as 'en'
The plugin now displays streaming service logos on each title's card, showing where you can watch it. This feature is country-specific, and you can set your country in the plugin settings.
To enable this feature: 0. Update to v1.3.9
If you change your country setting later, you'll need to click the update button again to refresh the streaming information for all titles.
If you encounter any issues while updating streaming availability, please check the console logs for error details and share them in a GitHub issue for assistance.
If enabled in settings, on clicking an Actor or Director name in the metrics will show a pop up with Photo of the person, total movies, upcoming movies, known for movies, age and ranks in your library.
Total Movies only includes movies in which the Actor is within the first 10 cast members Total Shows only includes shows in which the Actor appeared more than 5 times (This is to prevent talk show appearances from being included) Ranks in your library - To reduce processsing these are only computed and saved for the 2* topActorsnumber in your library. If a person falls out of this range then their rank will be dispalyed as 1001. Additionally, if an actor is clicked who does not have enough movies to qualify for Avg rating (this number is set in the Settings) then the Avg rating rank will also be 1001.
The plugin was designed for high customization and hence has multiple configurable settings. The two most improtant ones are the TMDB API key and the Folder path. The folder path is relative to the root of your obsidian vault (where the .obsidian folder is). So, if the content is in a folder called Movies which is in the root, then the path would simply be 'Movies'
The filters are self explanatory. As for the search, it shows all results where the entered search term is found in any of Title, Cast, Directors, Production Company, Collection, Year or Available On.
If the Search returns 0 results then all Titles will be displayed
As of version 1.3.0 options to update previously existing files has been added. I have tested the plugin on multiple test cases but please keep a backup of your library before proceeding. If any errors occur, please create an issue on Github and I will work towards solving it as soon as possible.
This product uses the TMDB API but is not endorsed or certified by TMDB. You will have to obtain your own personal TMDB API to use this plugin.The TMDB API is used for fetching all necessary details about each title including but not limited to Official title, poster, Cast members, Genre, Avg rating, Popularity etc.
If you enjoyed using this code or found it helpful, feel free to say thank you by buying me a coffee. https://www.buymeacoffee.com/shreshthmehra