INTERACT FORUM

Please login or register.

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

Author Topic: Displaying TMED in a column in JMC  (Read 2067 times)

Sapagrino

  • Junior Woodchuck
  • **
  • Posts: 75
Displaying TMED in a column in JMC
« on: January 04, 2014, 08:01:24 am »

My file contains the following standard tag:

Uncompressed Audio File (aif)
44.1 kHz, 16 bit, 2 ch

ID3v2.3 Tag: (137686 bytes)

  TMED: CD (Lossless)

How can I get the TMED frame's value ("CD (Lossless)") to appear in a JMC column?

I tried a user field "TMED" as well as checked the existing "Media Type" JMC field, but those don't do it. 

(I "updated library from tags", of course)

Thanks.
Logged

Sapagrino

  • Junior Woodchuck
  • **
  • Posts: 75
Re: Displaying TMED in a column in JMC
« Reply #1 on: January 04, 2014, 08:24:28 am »

Similarly, how can I create a JMC column to display the "TENC" frame tag?  I tried "Encoded by" and "ENC" to no avail.  Thanks.

Uncompressed Audio File (aif)
44.1 kHz, 16 bit, 2 ch

ID3v2.3 Tag: (137686 bytes)

  TENC: dBpoweramp Release 14.4


Logged

Sapagrino

  • Junior Woodchuck
  • **
  • Posts: 75
Re: Displaying TMED and TENC in a column in JMC
« Reply #2 on: January 13, 2014, 06:15:34 am »

Bump.  Is it possible for JMC to display an aif file's TENC and TMED frames' values?  If it is simply not possible, please let me know that.  Thank you very much.
Logged

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Displaying TMED in a column in JMC
« Reply #3 on: January 13, 2014, 11:27:12 pm »

Wouldn't the fields:

Tag(TMED)

and

Tag(TENC)

work?
Logged

Sapagrino

  • Junior Woodchuck
  • **
  • Posts: 75
Re: Displaying TMED in a column in JMC
« Reply #4 on: January 14, 2014, 08:21:22 am »

Thank you for your reply.  I wasn't certain what you meant, so I tried a user field literally called "Tag(TMED)" and also tried an Expression where I selected the Tag function and put "TMED" inside the parens.   Neither approach worked.  Did I misunderstand your proposed solution? Thanks.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71656
  • Where did I put my teeth?
Re: Displaying TMED in a column in JMC
« Reply #5 on: January 14, 2014, 09:42:48 am »

The name of any added field must match exactly.  Try an Internet search to see what the name should be.
Logged

vagskal

  • Citizen of the Universe
  • *****
  • Posts: 1227
Re: Displaying TMED in a column in JMC
« Reply #6 on: January 15, 2014, 05:06:19 pm »

I do not think MC can import those defined ID3v2 tags (if they do not get automatically imported, then MC currently does not support them). Tags (frames) of custom type TXXX can be imported and MC supports many other ID3v2 tags.

You could use an external tool like MP3Tag to copy the data from the defined tags to custom TXXX tags that can be imported into MC. This would involve changing the meta data in the actual music files.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Displaying TMED in a column in JMC
« Reply #7 on: January 15, 2014, 07:32:48 pm »

I wrote a pscriptor scriplet to grab an IDV3 frame's value if you're interested.

I placed the values TMED or TENC in a field such as Comments, and let 'er rip:

$ perl ./pscriptor.pl  -c pscriptor-config.txt  -f 'Comment' -E GetIDV3Tag -t
File: /Users/MrC/Desktop/test files/1.mp3
        old(comment): 'TMED'
        new(comment): 'CD Lossless'
File: /Users/MrC/Desktop/test files/2.mp3
        old(comment): 'TENC'
        new(comment): 'dBpoweramp Release 14.4'
Logged
The opinions I express represent my own folly.

vagskal

  • Citizen of the Universe
  • *****
  • Posts: 1227
Re: Displaying TMED in a column in JMC
« Reply #8 on: January 15, 2014, 11:47:20 pm »

That is clever, MrC, and would not involve changing the music files, only the MC database.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Displaying TMED in a column in JMC
« Reply #9 on: January 16, 2014, 01:07:16 pm »

Thanks.  As I see these sorts of questions/challenges, I like to see how it might be done with pscriptor, to test its use cases.  This one was less than 10 lines of new code.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up