

This script could in fact be modified to do that.
If trax.EOF Then
Call debug("Not found: "&mess)
End If If trax.EOF Then
Call debug("Not found: "&mess)
Dim itm : Set itm = SDB.NewSongData
itm.Path = mess
itm.MetadataFromFilename
itm.UpdateDB
End If





Dim trax : Set trax = SDB.Database.QuerySongs(sql)
If trax.EOF Then
set trax = Nothing
If CreateLog Then
Call debug("Not found: "&mess&vbcrfl&"**"&sql)
End If
If CreateNew Then
prog.Text = "Creating: "&line
Dim itm : Set itm = Nothing
set itm = SDB.NewSongData
itm.ArtistName = mess
itm.UpdateDB
itm.UpdateArtist
itm.UpdateAlbum
list.AddTrack(itm)
End If
else
While Not trax.EOF
prog.Text = "Adding: "&mess
count = count + 1
list.AddTrack(trax.Item)
trax.Next
WEnd
set trax = Nothing
End if
If IgnoreExt Then
line = Left(line,InStrRev(line,".")-1)&"%"
End If
Users browsing this forum: No registered users and 23 guests