adding audio compression mode and release coutry to filename.

All about user-defined episode / movie / file name format expressions
Post Reply
Nic
Posts: 3
Joined: 17 Jun 2023, 06:08

adding audio compression mode and release coutry to filename.

Post by Nic »

adding audio compression mode and release coutry to filename.

ideal out come in this example would be (Lossless) ( FR)

Properties: Select all

[General]
Count                      : 353
StreamCount                : 1
StreamKind                 : General
StreamKind/String          : General
StreamKindID               : 0
AudioCount                 : 1
Audio_Format_List          : FLAC
Audio_Format_WithHint_List : FLAC
Audio_Codec_List           : FLAC
Audio_Language_List        : English
CompleteName               : F:\Adele\Flac\19\111 - Tired.flac
FolderName                 : F:\Adele\Flac\19
FileNameExtension          : 111 - Tired.flac
FileName                   : 111 - Tired
FileExtension              : flac
Format                     : FLAC
Format/String              : FLAC
Format/Info                : Free Lossless Audio Codec
Format/Url                 : https://xiph.org/flac/
Format/Extensions          : fla flac
Format_Commercial          : FLAC
InternetMediaType          : audio/x-flac
FileSize                   : 30039505
FileSize/String            : 28.6 MiB
FileSize/String1           : 29 MiB
FileSize/String2           : 29 MiB
FileSize/String3           : 28.6 MiB
FileSize/String4           : 28.65 MiB
Duration                   : 257973
Duration/String            : 4 min 17 s
Duration/String1           : 4 min 17 s 973 ms
Duration/String2           : 4 min 17 s
Duration/String3           : 00:04:17.973
Duration/String5           : 00:04:17.973
OverallBitRate_Mode        : VBR
OverallBitRate_Mode/String : Variable
OverallBitRate             : 931555
OverallBitRate/String      : 932 kb/s
StreamSize                 : 0
StreamSize/String          : 0.00 Byte (0%)
StreamSize/String1         :  Byte0
StreamSize/String2         : 0.0 Byte
StreamSize/String3         : 0.00 Byte
StreamSize/String4         : 0.000 Byte
StreamSize/String5         : 0.00 Byte (0%)
StreamSize_Proportion      : 0.00000
Title                      : Tired
Album                      : 19
Album/Performer            : Adele
Part                       : 1
Part/Position_Total        : 2
Track                      : Tired
Track/Position             : 11
Track/Position_Total       : 12
Performer                  : Adele
Producer                   : XL Recordings Ltd.
Label                      : XL Recordings
Genre                      : Pop
Recorded_Date              : 2008-11-17
File_Created_Date          : UTC 2022-09-18 20:49:39.347
File_Created_Date_Local    : 2022-09-18 21:49:39.347
File_Modified_Date         : UTC 2023-06-12 04:19:03.438
File_Modified_Date_Local   : 2023-06-12 05:19:03.438
Encoded_Application        : FLAC1.2.1
Encoded_Application/String : FLAC1.2.1
ISRC                       : GBBKS0700383
Cover                      : Yes
Cover_Type                 : Cover (front)
Cover_Mime                 : image/jpeg
RIP DATE                   : 2012-05-26
RETAIL DATE                : 2008-00-00
RELEASE TYPE               : Deluxe
RIPPING TOOL               : EAC
MEDIA                      : CD
CATALOG                    : HN579CD
ACOUSTID_ID                : 4c90e6a0-5cf9-4b50-b0f4-1ed12399cd93
MUSICBRAINZ_RELEASEGROUPID : 9796da06-2d59-3176-8598-2105f31ee54a
ORIGINALDATE               : 2008-01-27
ORIGINALYEAR               : 2008
RELEASETYPE                : album
RELEASECOUNTRY             : FR
CATALOGNUMBER              : XLCD313X
SCRIPT                     : Latn
ASIN                       : B001IB9KUG
RELEASESTATUS              : official
BARCODE                    : 634904631321
ALBUMARTISTSORT            : Adele
DISCSUBTITLE               : 19
ARTISTSORT                 : Adele
ARTISTS                    : Adele
MUSICBRAINZ_RELEASETRACKID : 6110b19d-7411-3588-a274-af17043fcefd

[Audio]
Count                    : 286
StreamCount              : 1
StreamKind               : Audio
StreamKind/String        : Audio
StreamKindID             : 0
Format                   : FLAC
Format/String            : FLAC
Format/Info              : Free Lossless Audio Codec
Format/Url               : https://xiph.org/flac/
Format_Commercial        : FLAC
InternetMediaType        : audio/x-flac
Duration                 : 257973
Duration/String          : 4 min 17 s
Duration/String1         : 4 min 17 s 973 ms
Duration/String2         : 4 min 17 s
Duration/String3         : 00:04:17.973
Duration/String5         : 00:04:17.973
BitRate_Mode             : VBR
BitRate_Mode/String      : Variable
BitRate                  : 928062
BitRate/String           : 928 kb/s
Channel(s)               : 2
Channel(s)/String        : 2 channels
ChannelPositions         : Front: L R
ChannelPositions/String2 : 2/0/0
ChannelLayout            : L R
SamplingRate             : 44100
SamplingRate/String      : 44.1 kHz
SamplingCount            : 11376609
BitDepth                 : 16
BitDepth/String          : 16 bits
Compression_Mode         : Lossless
Compression_Mode/String  : Lossless
StreamSize               : 29926874
StreamSize/String        : 28.5 MiB (100%)
StreamSize/String1       : 29 MiB
StreamSize/String2       : 29 MiB
StreamSize/String3       : 28.5 MiB
StreamSize/String4       : 28.54 MiB
StreamSize/String5       : 28.5 MiB (100%)
StreamSize_Proportion    : 0.99625
Encoded_Library          : reference libFLAC 1.2.1 20070917
Encoded_Library/String   : libFLAC 1.2.1 (UTC 2007-09-17)
Encoded_Library_Name     : libFLAC
Encoded_Library_Version  : 1.2.1
Encoded_Library_Date     : UTC 2007-09-17
Language                 : en
Language/String          : English
Language/String1         : English
Language/String2         : en
Language/String3         : eng
Language/String4         : en
MD5_Unencoded            : 79E1C7A355854B6DE8F66C6C99B8C669
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: adding audio compression mode and release coutry to filename.

Post by rednoah »

e.g.

Format: Select all

{ audio.CompressionMode } | { media.ReleaseCountry }

Console Output: Select all

[Lossless] | GB


e.g.

Format: Select all

{ audio.CompressionMode.joiningDistinct(', ', '(', ')') } ({ media.ReleaseCountry })

Console Output: Select all

(Lossless) (GB)
:idea: Please read the FAQ and How to Request Help.
Post Reply