Unmanic / unmanic

Unmanic - Library Optimiser
GNU General Public License v3.0
1.43k stars 84 forks source link

Bug re-order audio stream plugin #419

Open pinpspinps opened 10 months ago

pinpspinps commented 10 months ago

Description

I'm trying to put the French audio stream in first position on my video files. The "Re-order audio streams by language" plugin re-runs video files each time the library is scanned, even if the audio streams are already in the right order.

Steps to Reproduce

  1. Configure the plugin and set on the library image image

  2. Re-scan library image

  3. The re-order audio stream is re-run image

Expected behavior: Do not re-run the plugin because the audio stream is already in the right order.

Actual behaviour: The plugin re-run

Reproduces how often: Every time

Versions [0.2.4~7339f8b]

The version can be found at the footer of the WebUI. Also, please include the OS details and what version you are running (e.g. cat /etc/os-release).

Installation Method Used

Run through Docker

Additional Information

ffprobe result

image

regularguy01 commented 3 months ago

You have to use the 3 letter codes. fre or fra if those dont work look here https://www.loc.gov/standards/iso639-2/php/code_list.php Try moving the remove plugin below the 2 reorder plugins. I have also heard the remove by language plugin cause more issues than its worth if the primary language in not English.