MediaBrowser / Emby

Emby Server is a personal media server with apps on just about every device.
https://emby.media
GNU General Public License v2.0
4.09k stars 798 forks source link

Override default audio track flag on per library basis #3127

Open kaithar opened 6 years ago

kaithar commented 6 years ago

That's a mouthful of a subject, but pretty much exactly what I want. Here's the use case:

  1. Rip Bluray/DVD TV series box set that has multiple audio tracks per episode. For the sake of example, we'll say the tracks are English and Japanese, but other languages are equally fine.
  2. Place the multi-audio show in to a dedicated folder called "TV-English-Japanese".
  3. Create two libraries, one named "TV - English" and one named "TV - Japanese". Add the multi-audio folder to both libraries.
  4. In the library settings, set "TV - English" to prefer audio tracks tagged as 'Eng' language rather than the default audio track in the file. Do the same with "TV - Japanese" and the 'Jpn' language tracks.
  5. Enjoy watching the show in the library selected language without having to keep changing settings.

Since the video is the bulk of the file size, it is preferable to keep them as a single multi-audio file rather than splitting them up and having redundant video tracks. But to do that, the player has to, ideally, be intelligent about which audio track it picks. Is there a way of doing this currently that I've over looked? Is there an even better way than what I suggested?

LukePulverenti commented 6 years ago

Hi, if you want this to just work universally, then you really should tag the defaults in the files themselves rather than relying on settings in media management tools such as Emby.

kaithar commented 6 years ago

The defaults work fine for single audio, it's when you have dual audio that things become a mess. For example anime sources that have both Japanese w/ sub and English dub audios. It's pretty common for dubbed anime DVD and Bluray releases.

cayars commented 6 years ago

Why would you want to have to double up your media having it in two or more places? You could symlink the same file to multiple places.

Would it not be better to have a default audio language that is always used if present in the file regardless of the "default" track?

If done this way you could still have two movies libraries that you manually track/update either using symlinks or just copying the file.

What are we missing?

kaithar commented 6 years ago

@cayars that's exactly my point, I don't want to double it up on disk, I want to add a single folder twice. There's some cases where I prefer the Japanese VAs but watching with my other half is easier with it being dubbed.

Actually, I've noticed that that it does occasionally get the wrong language even with the default set. Not sure why.

Chrisputer commented 5 years ago

Having this default to preferred language set in Meta would be nice. It would help the Wife Approval Factor a lot.

kaithar commented 5 years ago

It would help the Wife Approval Factor a lot.

That is legitimately my biggest interest 👍

LukePulverenti commented 5 years ago

Do you still see value in this?

cayars commented 5 years ago

When we say "default" we're talking about in the file itself not in Emby.

kaithar commented 5 years ago

@LukePulverenti Yes, I still want this feature

@cayars You seem to have missed the point spectacularly. The reason I want this feature is BECAUSE I don't want to rely on the default track selection in the file itself. I want to have a single library that I add to emby as two separate libraries... Let me draw a diagram of sorts:

LukePulverenti commented 9 months ago

FYI: https://github.com/MediaBrowser/Emby/issues/3605