kalibrado / trailer-finder

Trailer Finder is a tool that automatically searches and downloads movie trailers for your media collection. It integrates with media management tools like Radarr and Sonarr to keep your trailers up-to-date.
MIT License
15 stars 0 forks source link

Naming Scheme #27

Closed TaylanTatli closed 2 months ago

TaylanTatli commented 2 months ago

Is your feature request related to a problem? Please describe. Yes. Emby can't play downloaded trailer. After changing name, it was able to play.

Original Name: YOK OLUŞ | Resmi Fragman [HD] | Netflix.mkv New Name: Annihilation (2018) - Fragman.mkv Trailer: Link

The Error part on Emby:

    21:37:40.730 ffmpeg version 5.1-emby_2023_06_25 Copyright (c) 2000-2022 the FFmpeg developers and softworkz for Emby LLC
    21:37:40.730   built with gcc 10.3.0 (crosstool-NG 1.25.0)
    21:37:40.730 Execution Date: 2024-07-12 21:37:40
    21:37:40.731 /data/movies/Annihilation (2018)/trailers/YOK OLUŞ: No such file or directory
    21:37:40.731 EXIT

It would be nice to have this feature, even if it didn't give errors.

Describe the solution you'd like It can take the name from Radarr, Sonarr, then it would be Movie Name - Trailer. Or we can use a template with variables like {name}, {year} and use it like {name} ({year}) - Trailer

Describe alternatives you've considered Right now, I fix it by renaming manually.

kalibrado commented 2 months ago

Yes actually currently the script grades the name of the trailer found on Youtube for the case where we have a multiple download of trailer this avoids the problems of duplicates if I use the name in radarr or sonars.