INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Populate the "Number of Tracks" field  (Read 699 times)

HTPC Videophile

  • World Citizen
  • ***
  • Posts: 105
Populate the "Number of Tracks" field
« on: May 14, 2021, 06:16:09 am »

I have attached a screenshot of my JRiver player. My understanding of the following field "Number of Tracks" is that it should show the number of audio tracks in the file. All the files in my library are m2ts rips of video songs from blu-rays (ripped using DVD-Fab in passthru mode and including all audio tracks :HD as well as Non Hd tracks. for example it includes DTHD-MA as well as corresponding  DTS; Dolby Atmos or Dolby Tru-HD as  well as corresponding Dolby Digital   ). now how do i automatically populate this field(please refer to the screenshot. Move the slider below the screenshot to view all the fields.)

Logged

mvandyke

  • World Citizen
  • ***
  • Posts: 157
Re: Populate the "Number of Tracks" field
« Reply #1 on: May 15, 2021, 08:35:17 am »

I believe that Number of Track refers to the Number of Tracks in an Album - not the type of audio track (MP3, Digital 2.1, PCM, etc.)

Not sure of a way to do what you want to do, but I would be interested if there was a way!

Logged

HTPC Videophile

  • World Citizen
  • ***
  • Posts: 105
Re: Populate the "Number of Tracks" field
« Reply #2 on: May 15, 2021, 09:38:50 am »

I believe that Number of Track refers to the Number of Tracks in an Album - not the type of audio track (MP3, Digital 2.1, PCM, etc.)

Not sure of a way to do what you want to do, but I would be interested if there was a way!

It can be done if the mediainfo output of each file is parsed for the number of occurences of word "Audio #" using a script.

An example mediaInfo output of a file from my library :
General
ID                                       : 0 (0x0)
Complete name                            : G:\Blu-ray Songs\Baaghi.1-Cham.Cham.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 1.06 GiB
Duration                                 : 3 min 54 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 38.9 Mb/s
Maximum Overall bit rate                 : 48.0 Mb/s

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : 27
Duration                                 : 3 min 54 s
Bit rate mode                            : Constant
Bit rate                                 : 35.5 Mb/s
Nominal bit rate                         : 28.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.712
Stream size                              : 992 MiB (91%)

Audio #1
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : MLP FBA AC-3 16-ch
Format/Info                              : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Format settings                          : Dolby Surround EX
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 3 min 53 s
Bit rate mode                            : Variable
Bit rate                                 : 640 kb/s
Maximum bit rate                         : 7 701 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossless
Delay relative to video                  : 14 ms
Stream size                              : 17.9 MiB (2%)
Service kind                             : Complete Main
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Audio #2
ID                                       : 4353 (0x1101)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Format settings                          : Dolby Surround EX
Codec ID                                 : 129
Duration                                 : 3 min 54 s
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 14 ms
Stream size                              : 17.9 MiB (2%)
Service kind                             : Complete Main

Audio #3
ID                                       : 4354 (0x1102)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Format settings                          : Dolby Surround EX
Codec ID                                 : 129
Duration                                 : 3 min 54 s
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 14 ms
Stream size                              : 17.9 MiB (2%)
Service kind                             : Complete Main

Text
ID                                       : 4608 (0x1200)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144

Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1964
Re: Populate the "Number of Tracks" field
« Reply #3 on: May 15, 2021, 10:52:47 am »

You'll need jmone's SoT tool (or MCUtils by MrC) to get all the audio tracks or subtitles into MC database
Logged

HTPC Videophile

  • World Citizen
  • ***
  • Posts: 105
Re: Populate the "Number of Tracks" field
« Reply #4 on: May 16, 2021, 10:27:13 am »

You'll need jmone's SoT tool (or MCUtils by MrC) to get all the audio tracks or subtitles into MC database

Tried jmone's mediainfo after reading ur reply. Rt now it  doesn't do the job . Will request jmone to add this feature
Logged

EnglishTiger

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 954
Re: Populate the "Number of Tracks" field
« Reply #5 on: May 17, 2021, 03:46:33 am »

Since the "Number Of Tracks" field is locked (It can't be edited) you need to find out what the criteria are that cause MC to set/update that field and then make any required modifications to your metadata so that MC starts using it.
Logged
Win NUC - VENOEN 11Th NUC Mini PC Core i7 1165G7,Dual HDMI 2.0+Mini DP,Windows 11 Mini Desktop Computer,Thunderbolt 4.0,1 Lan, USB-C,Wifi,Bluetooth 5.0,32GB RAM Toshiba MQ04ABF100 ‎500Gb 5400 RPM ‎eSATA HD, Gigabyte GP-GSM2NE3512GNTD 1Tb NVMe SSD, Samsung 870 QVO 8 TB SATA 2.5 Inch SSD (MZ-77Q8T0) in Sabrent Ultra Slim USB 3.0 to 2.5-Inch SATA External Aluminium Hard Drive Enclosure (EC-UK30)

Apple 2020 Mac mini M1 Chip (8GB RAM, 512GB SSD)
Sabrent Thunderbolt 3 to Dual NVMe M.2 SSD Tool-Free Enclosure with Sabrent 2TB Rocket NVMe PCIe M.2 2280 High Performance SSD + Crucial P3 Plus 4TB M.2 PCIe

ET Skins & TrackInfo Plugins - https://englishtiger.uk/index.html
Pages: [1]   Go Up