mirror of
https://github.com/RandomNinjaAtk/arr-scripts.git
synced 2026-03-02 22:57:35 -05:00
[FEATURE] - Radarr - Delete old trailers #155
Labels
No labels
Needs Triage
Not Reproducible
Upstream Issue
User Error
bug
documentation
enhancement
good first issue
help wanted
invalid
lidarr
lidarr
question
radarr
readarr
sabnzbd
sonarr
synology (host)
unraid (host)
waiting for logs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/arr-scripts#155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nothing2obvi on GitHub (Jun 4, 2024).
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.
@RandomNinjaAtk commented on GitHub (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....
@nothing2obvi commented on GitHub (Jun 5, 2024):
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:
Radarr then upgrades the movie (grabs a new, better one) and deletes
Movie_Version1.mkv, so I'm left with:Then the scripts download that same exact trailer again and rename it to match the upgraded movie:
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 commented on GitHub (Jun 7, 2024):
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...