I have trouble renaming a Movie in swissgerman (Language 'gsw') with the naming scheme:
Code: Select all
Movies/{plex.name} - {audioLanguages}/{plex.name} {"{imdb-$imdbid}"} {audioLanguages} {"[$vf, $vc, $ac]"}

The MKV in question has one Audiotrack set to 'gsw' and I would expect a name like
Code: Select all
Movies/Heidi (2015) -[gsw]/Heidi (2015) {imdb-tt3700392} - [gsw] [1080p, AVC, DTS].mkv
Code: Select all
Movies/Heidi (2015) -/Heidi (2015) {imdb-tt3700392} [1080p, AVC, DTS].mkv

"mkvmerge -i" shows:
Code: Select all
$ mkvmerge -i --identification-format json Heidi\ \(2015\)\ \{imdb-tt3700392\}\ \[1080p\,\ AVC\,\ DTS\].mkv | jq '.tracks[] | select(.type == "audio")'
{
"codec": "DTS-HD Master Audio",
"id": 1,
"properties": {
"audio_channels": 6,
"audio_sampling_frequency": 48000,
"codec_id": "A_DTS",
"codec_private_length": 0,
"default_duration": 10666667,
"default_track": true,
"enabled_track": true,
"forced_track": false,
"language": "gsw",
"minimum_timestamp": 0,
"number": 2,
"track_name": "Schweizerdeutsch",
"uid": 8253282054307142000
},
"type": "audio"
}
Code: Select all
FileBot 4.9.2 (r8046)
JNA Native: 6.1.0
MediaInfo: 20.08
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0 mkvpropedit/37.0.0
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.6
JRE: OpenJDK Runtime Environment 15
JFX: OpenJFX 15+9
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 4.2 GB Max Memory / 759 MB Used Memory
OS: Linux (amd64)
HW: Linux andor 5.3.0-64-generic #58-Ubuntu SMP Fri Jul 10 19:33:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
CPU/MEM: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz [MemTotal: 16 GB | MemFree: 3.3 GB | MemAvailable: 7 GB | SwapCached: 393 MB | SwapTotal: 1.0 GB | SwapFree: 345 MB]
STORAGE: ext4 [/] @ 134 GB | ext4 [/home] @ 373 GB
DATA: /home/snafu/.filebot
Package: DEB
License: FileBot License P21916810 (Valid-Until: 2022-01-12)
No Errors
Any idea why the Language is not added properly?
Cheers,
Snafu