Unknown audio track.

Howdy all!

I was wondering if there was a way to tag or label the audio tracks on files where it isnt present in media info?

Currently I have plex set to use eng subs where the audio track isnt english, but I have some media that has audio language “unknown”

Anyone have any ideas or work arounds?

The only way is to fix your files so they include the necessary metadata.
The easiest way to do this exist for MKV files with MKVtoolnix header editor.
Something similar exists for mp4 files too.

AVI files and all the rest of the rubble may not even support language tags.
I for one don’t bother with them. If I encounter e.g. an untagged AVI file, I mux it straight to MKV and set the language tags accordingly.

Thanks @OttoKerner You are the ninja!
I think i can use plex2csv to check language tags as well cant i?

@teshiburu said:
I think i can use plex2csv to check language tags as well cant i?

Yep.

Nice just to build some mkvtoolnix remux script now :stuck_out_tongue:

I’d avoid remuxing mp4 into mkv, though.
mp4 is supported by far more devices in direct-play mode than MKV is.

Yeah ill leave mp4 as mp4 and remux mkv and avis

Ignore that - sorted it :slight_smile:

Maybe ‘access rights’. The script might not be running as user ‘plex’, so there is a possible difference.

Verify whether this is really a mkv. mediainfo etc.

Some 3rd party tools write very weird MKVs. It is possible that mkvpropedit can’t find the header. Try to remux these files instead.

Sorted thanks @OttoKerner the export from plex2csv had on a few files turned /Season 1/ into /Season1/ so yeah - the file did not exist :slight_smile:

@teshiburu said:
Sorted thanks @OttoKerner the export from plex2csv had on a few files turned /Season 1/ into /Season1/ so yeah - the file did not exist :slight_smile:

We’ve all been there… :))

I have one more issue now @OttoKerner this is related to mp4 files

I have this file that is detected as unknown audio again

However, i have modified the lang track for this file using mp4box

MP4Box -lang 1=eng “Z:\TV Series\The 100\Season 1\The.100.-.S01E01.-.Pilot.HDTV-720p.x264.AAC.-Sonarr.mp4”

and rescanned the library, and plex can tell its English in the info

Is there any reason why plex cant tell that this is english?

Huzzah worked that out - audio is track 2 not track 1 :slight_smile:

Can’t we have a language type of unknown , that way people wanting the subs not to be set can just select this as second language in agent. And poof issue will go away .