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

Filter by Audio/Video Codec? [Feature] #84

Closed
Tharic99 opened this issue Dec 6, 2023 · 2 comments
Closed

Filter by Audio/Video Codec? [Feature] #84

Tharic99 opened this issue Dec 6, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Tharic99
Copy link

Tharic99 commented Dec 6, 2023

Is your feature request related to a problem? Please describe.
Radarr displays the Audio/Video codec as well as the quality. However, it does not allow you to filter by the Audio/Video codec. For example, if a movie is an AVC or an x265 video codec or DTS-HD MA - 5.1 or AAC - 2.0 audio codec.

Describe the solution you'd like
Solution would be to be able to input the audio/video codec you do NOT want. Then Checkrr would find any files with that audio/video codec match, determine them to be "unwanted" and send a request to Radarr/Sonarr to force a new download.

Essentially this would add custom healthchecks in the config to enable the ffprobe to find the codec not wanted. Perhaps a comma separated list, one for audio and one for video? Maybe in quotes just in case?

RemoveVideo: "AVI", "AVC", "h265"
RemoveAudio: "DTS-HD MA - 5.1","DTS - 5.1"

You would probably need to maintain a list of audio/video codex so someone didn't put "h.265" or "h265" or "x265" or "265" all for the same thing.

Describe alternatives you've considered

  • Manually going through Radarr/Sonarr to force new download on media.
  • Running a bash script to identify the media by file name and removing it.
  • Converting the media format using something like Tdarr.
@Tharic99 Tharic99 added the enhancement New feature or request label Dec 6, 2023
@aetaric
Copy link
Owner

aetaric commented Dec 12, 2023

This is a pretty solid idea. I'll look into getting it into the next major or minor release.

@aetaric aetaric added the good first issue Good for newcomers label Dec 12, 2023
aetaric added a commit that referenced this issue Jan 11, 2024
@aetaric
Copy link
Owner

aetaric commented Jan 11, 2024

INFO[0041] test/Movies/Big Buck Bunny (2008)/Big Buck Bunny (Sunflower Movie Version) (2008).mp4  FFProbe=true Format="QuickTime / MOV" Type=Video
INFO[0041] mov,mp4,m4a,3gp,3g2,mj2                      
INFO[0041] h264                                         
INFO[0041] Detected h264. Removing.                      FFProbe=true Format="QuickTime / MOV" Type=Video
INFO[0041] Couldn't find a target for file "test/Movies/Big Buck Bunny (2008)/Big Buck Bunny (Sunflower Movie Version) (2008).mp4". File is unknown.  Unknown File=true

Confirmed working with 8aa5f15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants