Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] binhex - trimarr

Featured Replies

  • Author
10 hours ago, Jorgen said:

TV directory processing finished, just sharing stats in case anyone is interested:

Found 2015 mkv files to process
Processed: 930, no change needed: 1085, skipped (already done): 0, failed: 0.

Space saved this session: 43.92 GB (930 file(s) remuxed).

Total elapsed time 16 hours

You will really start seeing savings if you have remuxed 2160p movies, I saved around 2TB just on my movie collection alone. Let me know if you do run it against your movie collection. Also how have you found the native language detection since the additional parse functionality, better?

On 5/26/2026 at 11:30 AM, binhex said:

Tis done guys, of note this does slow down the scan somewhat as we need to call imdb to get the native language for each movie, so scan times will probably double, to give you some ref we are talking maybe 1 hour 30 mins for around 4000 movies when the new option is enabled (disabled by default) - once done though that's it its cached and all subsequent movies added will just be a lookup for those.

So to use this pull down the latest image:

  • Edit your container and add variable named TRIMARR_KEEP_NATIVE_AUDIO and set the value to yes apply and wait (check progress in log at /config/trimarr/logs/trimarr.log)

  • if you want to see whether its worked then open the sqlite database and check for language against each movie.

EDIT - forgot to mention there is an optional variable you can also add called TRIMARR_TMDB_API_KEY set the value to your tmdb api key to get you higher chances of identifying the language for each movie, imdb used as primary, tmdb used secondary as fallback.

Damn, that was quick thank you do much! I will fire it up right now, appreciate your efforts.

13 hours ago, binhex said:

You will really start seeing savings if you have remuxed 2160p movies, I saved around 2TB just on my movie collection alone. Let me know if you do run it against your movie collection. Also how have you found the native language detection since the additional parse functionality, better?

I have it doing a dry run on my movies folder right now. I have about 200TB of movies so it will be interesting to see what I save. The keep native audio also seems to be working great on the movies, thanks again. Are there any plans to have it work with tv shows too? I tested it and it removes non-English native audio from series like All of Us Are Dead and Berserk.

  • Author
On 5/31/2026 at 2:45 AM, Jorgen said:

This might be the same issues I raised in GitHub yesterday for TV shows:

https://github.com/binhex/trimarr/issues/59

https://github.com/binhex/trimarr/issues/58

Both resolved, please pull down latest (v1.2.7) to pick up the changes.

Please note you will need to manually add the following new variables (env vars) if you want to use the new features, see Q8 for how to do this: https://github.com/binhex/documentation/blob/master/docker/faq/unraid.md

description: if set to 'yes' then undefined audio is not removed
key: TRIMARR_KEEP_UNDEFINED_AUDIO
value: yes or no (default)

description: if defined then tvdb will be used to identify native language - used in oconjunction with TRIMARR_KEEP_NATIVE_AUDIO
key: TRIMARR_TVDB_API_KEY
value: <your tvdb api key>

On 5/30/2026 at 7:49 PM, binhex said:

You will really start seeing savings if you have remuxed 2160p movies, I saved around 2TB just on my movie collection alone. Let me know if you do run it against your movie collection. Also how have you found the native language detection since the additional parse functionality, better?

Thanks for all your work on this, it is very much appreciated!
The native language detection works great now, for both movies and tv shows.
I finally managed to run it across my full library, and I guess my (mostly older, 720 or 1080) files were pretty lean already because I ended up with this:
Done — processed: 225, no change needed: 4, skipped (already done): 2690, failed: 1.

Space saved this session: 54.25 GB (225 file(s) remuxed).

Space saved (all sessions): 97.29 GB.
But it's not all about size savings for me. Getting rid of embedded subtitles for languages I'll never use will make it a much better experience in the media players when choosing subtitles.

Also got rid of a few dubbed default languages which also helps improve the playback experience.

5 hours ago, Jorgen said:

But it's not all about size savings for me. Getting rid of embedded subtitles for languages I'll never use will make it a much better experience in the media players when choosing subtitles.

Same here. The space saving is a nice bonus, but not having to scroll a list of 50 subtitles in Plex when I need to keep the volume down while my son's sleeping is a huge QoL improvement for me.

On 6/1/2026 at 4:52 AM, binhex said:

Both resolved, please pull down latest (v1.2.7) to pick up the changes.

Please note you will need to manually add the following new variables (env vars) if you want to use the new features, see Q8 for how to do this: https://github.com/binhex/documentation/blob/master/docker/faq/unraid.md

description: if set to 'yes' then undefined audio is not removed
key: TRIMARR_KEEP_UNDEFINED_AUDIO
value: yes or no (default)

description: if defined then tvdb will be used to identify native language - used in oconjunction with TRIMARR_KEEP_NATIVE_AUDIO
key: TRIMARR_TVDB_API_KEY
value: <your tvdb api key>

You're the man, thank you so much! I will update when I get home and give it a whirl.

On 6/1/2026 at 4:52 AM, binhex said:

Both resolved, please pull down latest (v1.2.7) to pick up the changes.

Please note you will need to manually add the following new variables (env vars) if you want to use the new features, see Q8 for how to do this: https://github.com/binhex/documentation/blob/master/docker/faq/unraid.md

description: if set to 'yes' then undefined audio is not removed
key: TRIMARR_KEEP_UNDEFINED_AUDIO
value: yes or no (default)

description: if defined then tvdb will be used to identify native language - used in oconjunction with TRIMARR_KEEP_NATIVE_AUDIO
key: TRIMARR_TVDB_API_KEY
value: <your tvdb api key>

You're the best, thank you so much I will update when I get home and give it a whirl.

I need help with adding multiple directories. I see these two settings in the container that I have:

Path: /media: <- set to /mnt/user/Movies/

Variable: TRIMARR_MEDIA_PATH: <- set to /media

How do I also add /mnt/user/TV/ to scan? The instructions for adding multiple directories via a | separator are associated with the variable, rather than the path settings. I feel dumb about this because I'm guessing it's pretty straightforward.

  • Author
9 minutes ago, mudsloth said:

I need help with adding multiple directories. I see these two settings in the container that I have:

Path: /media: <- set to /mnt/user/Movies/

Variable: TRIMARR_MEDIA_PATH: <- set to /media

How do I also add /mnt/user/TV/ to scan? The instructions for adding multiple directories via a | separator are associated with the variable, rather than the path settings. I feel dumb about this because I'm guessing it's pretty straightforward.

set Path: /media to /mnt/user
set Variable: TRIMARR_MEDIA_PATH: to /media/TV|/media/Movies

alternative if you dont want to expose /mnt/user is to create another new path:/tv to /mnt/user/TV and then set variable TRIMARR_MEDIA_PATH to /media|/tv

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.