I am using Powershell to help manage my music. But, I would like a way to get the “rating” tag for flac and mp3 – ideally using taglib sharp. I saw an earlier post where cafed00d said they do this so I am hopeful for assistance. That thread is:
http://windowssecrets.com/forums/showthread//143993-Various-PowerShell-questions-and-extended-file-properties
I have been able to retrieve the rating tag for mp3 files using the Windows Shell as follows:
$shell = new-object -comobject shell.application $ShFolder=$shell.namespace(“d:song”) $ShFile =$ShFolder.parsename(“title.mp3”) $ShRating = $ShFolder.getdetailsof($ShFile,19)
While this is fine for mp3, it does not work for .flac music files which is the bulk of my collection. I installed and use taglib-sharp which gets and sets a variety of tags for flac and mp3 – just not the “rating” tag.
I’m hoping there is something in taglib I just can’t see. Barring that, I’m open to using other extensions.
Thanks