Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - Radarr - Delete old trailers #265

Open
nothing2obvi opened this issue Jun 5, 2024 · 3 comments
Open

[FEATURE] - Radarr - Delete old trailers #265

nothing2obvi opened this issue Jun 5, 2024 · 3 comments
Labels
enhancement New feature or request Upstream Issue Problem needs to be resolved upstream

Comments

@nothing2obvi
Copy link

Is your feature request related to a problem? Please describe.
When Radarr upgrades a movie, the arr-scripts download a new trailer for that movie, usually the same exact trailer, but renamed to the styling of the new upgrade. Therefore, there are now 2 trailers in the movie folder.

Describe the solution you'd like
Auto-delete a file if it has the word "trailer" in it and is associated with the old movie.

Describe alternatives you've considered
Deleting the old trailers manually. But then I'd have to go through all of my movie folders and see if there's even a duplicate.

@nothing2obvi nothing2obvi added the enhancement New feature or request label Jun 5, 2024
@RandomNinjaAtk
Copy link
Owner

RandomNinjaAtk commented Jun 5, 2024

Your request is really for the source, not these scripts... The problem is likely caused by a lack of standardization on themoviedb website... Since it names/downloads trailers based on the names provided by the website (dupes only detected by name) and if someone adds a new trailer with a slightly different name, your going to be grabbing it...

The only method to resolve it would be use the single trailer option....

@RandomNinjaAtk RandomNinjaAtk added the Upstream Issue Problem needs to be resolved upstream label Jun 5, 2024
@nothing2obvi
Copy link
Author

Oh no what I mean is it always downloads the same exact trailer, it's just that it renames it to the name of the new, upgraded Radarr movie. I would like it if the scripts deleted the trailer associated with the version of the movie that Radarr deleted. I do have it set to download a single trailer. So for example:

If there exists 1 movie, the scripts would download a trailer to go along with it, renamed to match the name of the movie:

- /media/movies/Movie_Version1.mkv
- /media/movies/Movie_Version1-trailer.mkv

Radarr then upgrades the movie (grabs a new, better one) and deletes Movie_Version1.mkv, so I'm left with:

- /media/movies/Movie_Version1-trailer.mkv
- /media/movies/Movie_Version2.mkv

Then the scripts download that same exact trailer again and rename it to match the upgraded movie:

- /media/movies/Movie_Version1-trailer.mkv
- /media/movies/Movie_Version2.mkv
- /media/movies/Movie_Version2-trailer.mkv

I have checked for many movies, and both of those trailers are the exact same in content and size.

I would like the option for the scripts to delete Movie_Version1-trailer.mkv.

@RandomNinjaAtk
Copy link
Owner

Thanks for the information... When I have some time, I'll look at it further but a lot of issues are because each application handles trailers differently and its hard to cover every platform... Kodi is a big issue because it doesn't support the same naming as the other apps...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Upstream Issue Problem needs to be resolved upstream
Projects
None yet
Development

No branches or pull requests

2 participants