$if(%filesize%,$ifgreater(%filesize%,1048575,$div(%filesize%,1048576).$left($num($muldiv($mod(%filesize%,1048576),100,1048576),2),2) MB,$ifgreater(%filesize%,1023,$div(%filesize%,1024).$left($num($muldiv($mod(%filesize%,1024),100,1024),2),2) KB,%_filesize% B)))
I refuse to upgrade past 9.5.2 until this gets updated!
Since the component developer has announced his intentions to stop developing, it looks like you'll be refusing things for a VERY long time.
I have a question that I hope someone can solve for me. I'd like an instance of foobar2000 0.9.5.2 that allows autoplaylists and this component to be able to create an autoplaylist based on directory content. More specifically, I want an autoplaylist containing all my albums that has no cover "front.jpg" present in %directory_name%. Unfortunately I failed trying to create this - Maybe it's not possible at all?
import osfd = open("nofront.m3u", "w") #open destination playlistfor dirs in os.listdir("."): #list curent directory if not os.path.isfile(dirs + "/front.jpg"): #look for font.jpg for files in os.listdir(dirs): #list files in the directory if files[-3:] == "mp3" or files[-3:] == "wav": #look for mp3 and wav fd.write(dirs + "/" + files + "\r\n") #write to the playlistfd.close() #close playlist file
another question:is there a replacement for %cwb_systemdate% cause cbw_hooks is outdated?