
- #STAR MUSIC TAG EDITOR CANT EDIT FILE FULL#
- #STAR MUSIC TAG EDITOR CANT EDIT FILE WINDOWS 8.1#
- #STAR MUSIC TAG EDITOR CANT EDIT FILE CODE#
::LoadFrom( 'c:\temp\taglib\taglib-sharp.dll')Įxception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly ' file:///C:\temp\taglib\taglib-sharp.dll' or one of its dependencies. I downloaded the files for 2.1.0.0, which is the most recent version, and saved to c:\temp and then attempted to run just the first line alone:
#STAR MUSIC TAG EDITOR CANT EDIT FILE WINDOWS 8.1#
I'm running Windows 8.1 running PowerShell v. Here is a quick rundown of what I did I'm curious to know how that differed from your process. I am interested to know what version of the library you used and whether there were any other steps you needed to perform that you didn't mention in the article. All I need to do is read the tag into a variable, then set the variable with the tag and it will work. But I have over 1000 songs with this problem and I would really like to script it. If I manually edit them and simply replace the existing text and save the file, it works fine. This has caused over 1000 songs to be dropped into the "UNKOWN" Category for Album and Artist, which has also broken many of the links for our play lists. $media = ::Create((resolve-path ".\MyMP3File.mp3"))īasically, my iTunes Library is messed up, iTunes cannot read the tags on the files, but Windows explorer can see them just fine. ::LoadFrom( (Resolve-Path " \\MyPath\taglib-sharp.dll")) Is there any way to pull the string from a tag, then save it into a parameter? Leave a comment below if you use this in an interesting way. I’m using this weekly to tag a single file, but this could just as easily be used to bulk tag (or retag) MP3s, or move MP3s around based on information in their properties.Įnjoy. Save() method to write those changes back to your MP3 file.

Once you’ve set whichever properties you want to set, use the. That’s not something that’s specific to taglib or MP3 files, that’s a PowerShell thing. Properties that have both “get” and “set,” like “Grouping” are read and write. Properties with only a “get” in their definition, like “IsEmpty” are read-only. Here are a couple of properties to compare: Most, but not all, of the properties can be written to.
#STAR MUSIC TAG EDITOR CANT EDIT FILE FULL#
To get the full list of properties you can get and set, issue this command: I’m only setting a few properties, but there are many more. $pic = ::createfrompath( "c:\Dropbox\Netcasts\Todd Netcast 1 - 480.jpg") $ = "Netcast 185 - Growing Old with Todd" $media = ::Create((resolve-path ".\Netcast 185 - Growing Old with Todd.mp3")) Again, I used a relative path, but an absolute path works too ::LoadFrom( (Resolve-Path ".\Common\taglib-sharp.dll")) I used a relative path so I could off using the Resolve-Path cmdlet
#STAR MUSIC TAG EDITOR CANT EDIT FILE CODE#
Here’s roughly the code I used to tag the MP3 for Netcast 185. It allowed me to easily add both the text and picture information I needed. I was able to find a library, Taglib, that did the job.
:max_bytes(150000):strip_icc()/Metatogger-main-screen-56a67f2f3df78cf7728eb028.png)
Fortunately PowerShell can wedge its way into all kinds of places. I was surprised that I couldn’t find one. I spent some time trying to find a way to edit MP3 tags in PowerShell natively. Time to bring out the big guns, PowerShell. So I have had to import the MP3 into Windows Media Player and add the cover art that way. I’m way too pretty to not be on the cover art of my MP3. Windows will let you manually tag the text fields of an MP3 file in Explorer, but you can’t add cover art that way. But it doesn’t tag the MP3 files it produces. The program I use to produce my Netcast, Camtasia, is fantastic, absolutely fantastic. One piece of that is putting all the tags on the MP3 files. Because of that I’ve tried automate as much of the production as I can. As the years have gone by I’ve tried to improve the Netcast, but that almost always means I spend more time producing it. Not only am I the star, I’m also the writer, director, producer, and janitor. As most of you know, I do a wildly successfully weekly SharePoint Netcast.
