AlbumArtistName not writen in DB

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: AlbumArtistName not writen in DB

by judas » Sun Apr 16, 2006 12:55 pm

The same problem has been noted here, allthough not aparent solution has been found?

http://www.mediamonkey.com/forum/viewtopic.php?p=43424

and probably here (sort of)

http://www.mediamonkey.com/forum/viewtopic.php?t=9370

cheers...


judas

by psyXonova » Sat Oct 01, 2005 10:19 am

flint wrote:Hi saw 2 lines that didn't belong in the script and try to make the layout better

Code: Select all

' A simple script that copies the content of the Artist Name to the Album Artists Name field of selected tracks


      For i=0 To list.count-1
        Set itm = list.Item(j)

   
Hmm, by the way...
shouldnt it be
Set itm = list.Item(i)

and not...
Set itm = list.Item(j)
???

by flint » Sat Oct 01, 2005 10:17 am

Hi saw 2 lines that didn't belong in the script and try to make the layout better

[code]
' A simple script that copies the content of the Artist Name to the Album Artists Name field of selected tracks

Sub CopyArtist2AlbumArtist
' Define variables
Dim list, itm, i, album

' Get list of selected tracks from MediaMonkey
Set list = SDB.SelectedSongList
If list.count=0 Then
Set list = SDB.AllVisibleSongList
End If

' Process all selected tracks
For i=0 To list.count-1
Set itm = list.Item(j)

' Copy the fields
itm.AlbumArtistName = itm.ArtistName

' Update the changes in DB
itm.UpdateDB
Next
End Sub
[/code]

by psyXonova » Sat Oct 01, 2005 10:17 am

After you have changed the album artist and before swithing view, select all your files and press Ctr + S to save changes in the tags. That should do the job.
You cal also do that using scriptin but i can remember the method and i am away from my personal PC now....

Hope it helps

Maybe you would like to try this first with about 50 song to see if it is solving your problem before procceding tou your whole collection :lol:

AlbumArtistName not writen in DB

by flint » Sat Oct 01, 2005 10:11 am

Hi

I use the following simple script to copy the artistname to the album artist name.

' A simple script that copies the content of the Artist Name to the Album Artists Name field of selected tracks

Sub CopyArtist2AlbumArtist
' Define variables
Dim list, itm, i, album

' Get list of selected tracks from MediaMonkey
Set list = SDB.SelectedSongList
If list.count=0 Then
Set list = SDB.AllVisibleSongList
End If

Set albums = list.Albums
j=0
' Process all selected tracks
For i=0 To list.count-1
Set itm = list.Item(j)

' Copy the fields
itm.AlbumArtistName = itm.ArtistName

' Update the changes in DB
itm.UpdateDB
Next
End Sub


When I execute the script the album artist name is changed in the MM window. But when I select anohter view and go back. The original name for the album artist is put back. I can change the name using the normal tool options. But I wan't to change my complete db in one time (over 11000 songs).

I read a lot of sugestions. This is what I tried.

Check if the ISDBSongData has a property Album, because if it has not it might be impossible to save the name. But my knowledge of scripts fails or each song has this property.

I would like to have some pointers (small pices of script would be great) to help me on my way.

Thanks

Top