WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: naholt on November 02, 2015, 11:28:58 AM

Title: Changing attributes on a song
Post by: naholt on November 02, 2015, 11:28:58 AM
Good afternoon. i am trying to change the name of an album on a MP3. The script below does change it but i have to run it twice in order to get it to work.  Can you please tell me what i am doing wrong? The script is below.


SoundFile = "C:\02 Lookin' Out My Back Door.mp3"
  oWMP = CreateObject("WMPlayer.OCX")
;CurrentalbumName = objSong.GetItemInfo("Album")
objSong.SetItemInfo("Album", "Chronicle")
objSong = 0
colMediaCollection = 0
oWMP = 0 


Thanks
Nicholas
Title: Re: Changing attributes on a song
Post by: td on November 02, 2015, 01:48:33 PM
Hard to say since your posted script is very incomplete.  A wild guess but maybe it has something to do with attempting to use the attribute 'Album' since it isn't listed as a supported attribute in the latest MSFT documentation for the control.