cdgriffith / FastFlix

FastFlix is a free GUI for H.264, HEVC and AV1 hardware and software encoding!
https://fastflix.org/
MIT License
1.14k stars 56 forks source link

[IDEA] Auto name export file based on TMDB metadata #240

Closed astro-stan closed 3 years ago

astro-stan commented 3 years ago

It would be nice if FastFlix is a little smarter on output file naming.

For example, a lot of self hosted streaming services have naming conventions. For example Plex naming conventions.

There is an awesome TMDB API wrapper - tmdbv3api, that can get metadata by movie / TV show name. A minimum working example would be:

from tmdbv3api import TMDb
tmdb = TMDb()
# you can get one from the settings page of your TMDB account, this can be exported as a setting in FastFlix
tmdb.api_key = 'YOUR_API_KEY' 

search = movie.search('Mad Max')

# Sometimes more than one result can be returned but this can be fixed by either making a more targeted search or letting the user select which one they want 
for res in search:
    print(res.id)
    print(res.title)
    print(res.overview)
    print(res.poster_path)
    print(res.vote_average)
cdgriffith commented 3 years ago

This will not be implemented because content on IMDB / TVDB is copyrighted.

FastFlix does not condone unauthorized reproduction of copyrighted works and never shall.