2024-01-19, 04:16 PM
Hi everyone. I don't know how to make this approach, so here I am.
There is a spanish IMDb very popular (even more than IMDb) called FilmAffinity. I'm a heavy user of it. I rate movies in that website (and many friends too, we don't use IMDb), so you can guess how I love that site.
Two problems:
- There is no API for it (and I consulted them many time, not planned to do it)
- Although it is a huge huge huge movies DB, it is not as HUUUUUUUGE as IMDb, and sometimes (it's rare, but it happens) I have files that aren't in the FilmAffinity DB.
So, I was thinking:
There is an unofficial FilmAffinity API that I could use (https://github.com/xsga/filmaffinity-api). But I don't want to get rid of IMDb (or TMDB) for the most part of metadata because they are much more complete.
I'd love to call the unofficial FilmAffinity API for complementing what I already have. I'd like to grab the rating, genres, synopsis (I like FA ones) and the country (I don't know what can I do with it, but I need the possibility of filtering by country).
How can I do it? Is that even possible? Could I even pass from deplyoing the API and just use a python script that grabs the info from the FA site? How could I patch just the metadata I want? Maybe I could tell the script "if all title, director and one of this actors matchs, then it is the same movie, then replace the data (i would use the year because in some rare cases I've seen differences of +/- 1 year) That makes me think: How the hell Jellyfin knows that one movie is this IMDb ID and that TMDB ID? Becasue FA also uses IDs, but I don't know how to recon those IDs.
I've seen that everything is saved in library.db, how could I bulk edit it?
Kind of lost here.
There is a spanish IMDb very popular (even more than IMDb) called FilmAffinity. I'm a heavy user of it. I rate movies in that website (and many friends too, we don't use IMDb), so you can guess how I love that site.
Two problems:
- There is no API for it (and I consulted them many time, not planned to do it)
- Although it is a huge huge huge movies DB, it is not as HUUUUUUUGE as IMDb, and sometimes (it's rare, but it happens) I have files that aren't in the FilmAffinity DB.
So, I was thinking:
There is an unofficial FilmAffinity API that I could use (https://github.com/xsga/filmaffinity-api). But I don't want to get rid of IMDb (or TMDB) for the most part of metadata because they are much more complete.
I'd love to call the unofficial FilmAffinity API for complementing what I already have. I'd like to grab the rating, genres, synopsis (I like FA ones) and the country (I don't know what can I do with it, but I need the possibility of filtering by country).
How can I do it? Is that even possible? Could I even pass from deplyoing the API and just use a python script that grabs the info from the FA site? How could I patch just the metadata I want? Maybe I could tell the script "if all title, director and one of this actors matchs, then it is the same movie, then replace the data (i would use the year because in some rare cases I've seen differences of +/- 1 year) That makes me think: How the hell Jellyfin knows that one movie is this IMDb ID and that TMDB ID? Becasue FA also uses IDs, but I don't know how to recon those IDs.
I've seen that everything is saved in library.db, how could I bulk edit it?
Kind of lost here.