Hello,
I'm a new user and I unable to solve a couple issue.
1.) I added "Sample Rate and Bit Depth" yet the fields are empty when accessing a folder?
2.) I wish sort the entire library collection folder by sample rate including sub folders and list the results by "Sample Rate".
Thanks
Wishing to sort Music Collection by Sample Rate
Re: Wishing to sort Music Collection by Sample Rate
They are empty because your OS doesn't deliver information about these values for this file type. Can you upload a .zip with one of the .aiff files?
One of my scripts helped you out? Please donate via Paypal
Re: Wishing to sort Music Collection by Sample Rate
For .aiff sample rate and bit depth to be shown I added two scripted custom columns:
MediaInfo_CLI must be installed for this.
Code: Select all
return substr(runret("""C:\Program Files\MediaInfo\MediaInfo.exe"" --Inform=Audio;%SamplingRate% ""<cc_item>"""), 0, -1);
return substr(runret("""C:\Program Files\MediaInfo\MediaInfo.exe"" --Inform=Audio;%BitDepth% ""<cc_item>"""), 0, -1);
Re: Wishing to sort Music Collection by Sample Rate
Yeah, there seems to be no other way than using mediainfo. Even the K-Lite codec pack (which has codecs for .aiff) doesn't add support for being able to use any of your current columns.
@yuyu
Your substr doesn't do what it should do. It just strips off one char of <crlf>, not both.
So either use
or
@yuyu
Your substr doesn't do what it should do. It just strips off one char of <crlf>, not both.
So either use
Code: Select all
return substr(runret("""C:\Program Files\MediaInfo\MediaInfo.exe"" --Inform=Audio;%SamplingRate% ""<cc_item>"""), 0, -2);
return substr(runret("""C:\Program Files\MediaInfo\MediaInfo.exe"" --Inform=Audio;%BitDepth% ""<cc_item>"""), 0, -2);
Code: Select all
return trim(runret("""C:\Program Files\MediaInfo\MediaInfo.exe"" --Inform=Audio;%SamplingRate% ""<cc_item>"""), <crlf>, "R");
return trim(runret("""C:\Program Files\MediaInfo\MediaInfo.exe"" --Inform=Audio;%BitDepth% ""<cc_item>"""), <crlf>, "R");
One of my scripts helped you out? Please donate via Paypal