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

Program reports many trailers downloaded, when only 1 or none are downloaded. #28

Closed joreilly02 closed 1 month ago

joreilly02 commented 2 months ago

When running, the program reports many trailers already downloaded, so nothing gets done. The numbers don't match anything I can find.

Screenshot 2024-07-15 at 3 44 50 PM

Desktop (please complete the following information):

kalibrado commented 2 months ago

Hello @joreilly02,

Thank you for your feedback.

To better understand and resolve your issue, could you please share the configuration you are using in your YAML file?

Please note that currently, the trailers are downloaded into the directory defined by the dir_backdrops key in the config.yaml file.

Thank you!

joreilly02 commented 2 months ago

That makes sense; it's blank for me. Here's my config (with the API info removed). What should I have there?

Configuration for Sonarr

sonarr_host: "http://192.168.1.176:8989" # Sonarr host address sonarr_api: "" # Sonarr API key

Configuration for Radarr

radarr_host: "http://192.168.1.176:7878" # Radarr host address radarr_api: "" # Radarr API key

TMDB API key (The Movie Database)

tmdb_api: "=" # TMDB API key

Base URL for YouTube links

yt_link_base: "https://www.youtube.com/watch?v=" # Base URL for YouTube links

YouTube authentication information

auth_yt_user: "your_youtube_username" # YouTube username auth_yt_pass: "your_youtube_password" # YouTube password

Settings for downloading with Youtube-DL

no_warnings: True # Disable warnings skip_intros: True # Skip video intros max_length: 200 # Maximum acceptable video duration in seconds thread_count: 4 # Number of threads for processing buffer_size_ffmpeg: "1M" # Buffer size for FFMPEG

Output file type for trailers

filetype: "mkv" # Output file type for trailers

Sleep time between executions in hours

sleep_time: 6 # Time to wait between executions, in hours

YouTube search keywords for trailers

yt_search_keywords: "official trailer" # Keywords for searching official trailers on YouTube

Limit the download to one trailer per item

only_one_trailer: True # Limit to one trailer per item

Minimum required free disk space in GB

min_free_space_gb: 5 # Minimum required free disk space in GB

Default language for translation

default_locale: en # Default language for translation (e.g., en for English)

Default language for trailers

default_language_trailer: en-EN # Default language for trailers (e.g., en-EN for English)

quiet_mode: False # Quiet mode flag, suppresses some logs for yt_dlp and ffmpeg process

TMDB_type_of_trailler: "Trailer" #type of media to wich list spreate by | avalide list is : "Trailer|Featurette|Clip" TMDB_official: True TMDB_size: 1080 # default size TMDB_source: "YouTube" # onlya avalide youtube source for another in coming son

dir_backdrops: "" # This is the default value for trailer, e.g., /path/of/movie/Movie Name/backdrops/ custom_path: "" # Set this if you want to save trailers in a specific path custom_name_tv_show: "TV Show Trailer" # This is valid only if custom_path is set custom_name_movie: "Movies Trailers" # This is valid only if custom_path is set

YT_DLP_sleep_interval_requests: 0 # Set this for waiting yt_dlp process YT_DLP_remove_sponsors_block: '["sponsor", "intro", "outro", "selfpromo", "preview", "filler", "interaction"]' # Set this to remove specified segments from the trailer using yt_dlp

kalibrado commented 2 months ago

It seems like there might be an issue with the program's caching or the way it tracks downloaded trailers. I'll investigate to ensure that all trailers are processed correctly and that this discrepancy is resolved. Thank you for bringing this to my attention.

kalibrado commented 1 month ago

Hey 👋

We've noted your issue. For the latest version of Trailer Finder, please try v1.5.9, available on our GitHub releases page. For more details and instructions, check out the documentation here.

Thank you! 😁