Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Global
- $puts(path,%path%)
- $puts(filename_ext,%filename_ext%)
- // Background
- $puts(half_height,$div(%_height%,2))
- $imageabs2(
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),
- 0,0,
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$div($sub(%_width%,$muldiv($sub($get(half_height),8),70,63)),2),8),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),8,$sub($get(half_height),$muldiv($sub(%_width%,16),63,70))),
- .\images\simple_1\case_1.png,)
- $imageabs2(
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),
- 0,0,
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$div($sub(%_width%,$muldiv($sub($get(half_height),8),70,63)),2),8),
- $get(half_height),
- .\images\simple_1\case_1.png,rotateflip-6)
- // PerSecond
- $puts(progress_bar_layer_size,60)
- $puts(half_height,$div(%_height%,2))
- // Covers (front, back & artist) path
- $puts(albumartpath,
- $if(
- $fileexists($replace(%foobar_path%\Albumart\Album\$if2(%album%,).jpg,?,)),
- $replace(%foobar_path%\Albumart\Album\$if2(%album%,).jpg,?,),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),front*.jpg)),
- $replace($get(path),$get(filename_ext),front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),folder*.jpg)),
- $replace($get(path),$get(filename_ext),folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Cover*.jpg)),
- $replace($get(path),$get(filename_ext),Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),front*.png)),
- $replace($get(path),$get(filename_ext),front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),folder*.png)),
- $replace($get(path),$get(filename_ext),folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Cover*.png)),
- $replace($get(path),$get(filename_ext),Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),%album%*.png)),
- $replace($get(path),$get(filename_ext),%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),%album%*.jpg)),
- $replace($get(path),$get(filename_ext),%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*front*.jpg)),
- $replace($get(path),$get(filename_ext),*front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*folder*.jpg)),
- $replace($get(path),$get(filename_ext),*folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*Cover*.jpg)),
- $replace($get(path),$get(filename_ext),*Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*front*.png)),
- $replace($get(path),$get(filename_ext),*front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*folder*.png)),
- $replace($get(path),$get(filename_ext),*folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*Cover*.png)),
- $replace($get(path),$get(filename_ext),*Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*%album%*.png)),
- $replace($get(path),$get(filename_ext),*%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*%album%*.jpg)),
- $replace($get(path),$get(filename_ext),*%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*.JPG)),
- $replace($get(path),$get(filename_ext),*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),*.PNG)),
- $replace($get(path),$get(filename_ext),*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\front*.jpg)),
- $replace($get(path),$get(filename_ext),Booklet\front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\folder*.jpg)),
- $replace($get(path),$get(filename_ext),Booklet\folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\Cover*.jpg)),
- $replace($get(path),$get(filename_ext),Booklet\Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\front*.png)),
- $replace($get(path),$get(filename_ext),Booklet\front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\folder*.png)),
- $replace($get(path),$get(filename_ext),Booklet\folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\Cover*.png)),
- $replace($get(path),$get(filename_ext),Booklet\Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\%album%*.png)),
- $replace($get(path),$get(filename_ext),Booklet\%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\%album%*.jpg)),
- $replace($get(path),$get(filename_ext),Booklet\%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*front*.jpg)),
- $replace($get(path),$get(filename_ext),Booklet\*front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*folder*.jpg)),
- $replace($get(path),$get(filename_ext),Booklet\*folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*Cover*.jpg)),
- $replace($get(path),$get(filename_ext),Booklet\*Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*front*.png)),
- $replace($get(path),$get(filename_ext),Booklet\*front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*folder*.png)),
- $replace($get(path),$get(filename_ext),Booklet\*folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*Cover*.png)),
- $replace($get(path),$get(filename_ext),Booklet\*Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*%album%*.png)),
- $replace($get(path),$get(filename_ext),Booklet\*%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*%album%*.jpg)),
- $replace($get(path),$get(filename_ext),Booklet\*%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*.JPG)),
- $replace($get(path),$get(filename_ext),Booklet\*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Booklet\*.PNG)),
- $replace($get(path),$get(filename_ext),Booklet\*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\front*.jpg)),
- $replace($get(path),$get(filename_ext),BK\front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\folder*.jpg)),
- $replace($get(path),$get(filename_ext),BK\folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\Cover*.jpg)),
- $replace($get(path),$get(filename_ext),BK\Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\front*.png)),
- $replace($get(path),$get(filename_ext),BK\front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\folder*.png)),
- $replace($get(path),$get(filename_ext),BK\folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\Cover*.png)),
- $replace($get(path),$get(filename_ext),BK\Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\%album%*.png)),
- $replace($get(path),$get(filename_ext),BK\%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\%album%*.jpg)),
- $replace($get(path),$get(filename_ext),BK\%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*front*.jpg)),
- $replace($get(path),$get(filename_ext),BK\*front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*folder*.jpg)),
- $replace($get(path),$get(filename_ext),BK\*folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*Cover*.jpg)),
- $replace($get(path),$get(filename_ext),BK\*Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*front*.png)),
- $replace($get(path),$get(filename_ext),BK\*front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*folder*.png)),
- $replace($get(path),$get(filename_ext),BK\*folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*Cover*.png)),
- $replace($get(path),$get(filename_ext),BK\*Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*%album%*.png)),
- $replace($get(path),$get(filename_ext),BK\*%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*%album%*.jpg)),
- $replace($get(path),$get(filename_ext),BK\*%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*.JPG)),
- $replace($get(path),$get(filename_ext),BK\*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),BK\*.PNG)),
- $replace($get(path),$get(filename_ext),BK\*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\front*.jpg)),
- $replace($get(path),$get(filename_ext),Scan\front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\folder*.jpg)),
- $replace($get(path),$get(filename_ext),Scan\folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\Cover*.jpg)),
- $replace($get(path),$get(filename_ext),Scan\Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\front*.png)),
- $replace($get(path),$get(filename_ext),Scan\front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\folder*.png)),
- $replace($get(path),$get(filename_ext),Scan\folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\Cover*.png)),
- $replace($get(path),$get(filename_ext),Scan\Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\%album%*.png)),
- $replace($get(path),$get(filename_ext),Scan\%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\%album%*.jpg)),
- $replace($get(path),$get(filename_ext),Scan\%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*front*.jpg)),
- $replace($get(path),$get(filename_ext),Scan\*front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*folder*.jpg)),
- $replace($get(path),$get(filename_ext),Scan\*folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*Cover*.jpg)),
- $replace($get(path),$get(filename_ext),Scan\*Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*front*.png)),
- $replace($get(path),$get(filename_ext),Scan\*front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*folder*.png)),
- $replace($get(path),$get(filename_ext),Scan\*folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*Cover*.png)),
- $replace($get(path),$get(filename_ext),Scan\*Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*%album%*.png)),
- $replace($get(path),$get(filename_ext),Scan\*%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*%album%*.jpg)),
- $replace($get(path),$get(filename_ext),Scan\*%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*.JPG)),
- $replace($get(path),$get(filename_ext),Scan\*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scan\*.PNG)),
- $replace($get(path),$get(filename_ext),Scan\*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\front*.jpg)),
- $replace($get(path),$get(filename_ext),Scans\front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\folder*.jpg)),
- $replace($get(path),$get(filename_ext),Scans\folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\Cover*.jpg)),
- $replace($get(path),$get(filename_ext),Scans\Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\front*.png)),
- $replace($get(path),$get(filename_ext),Scans\front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\folder*.png)),
- $replace($get(path),$get(filename_ext),Scans\folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\Cover*.png)),
- $replace($get(path),$get(filename_ext),Scans\Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\%album%*.png)),
- $replace($get(path),$get(filename_ext),Scans\%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\%album%*.jpg)),
- $replace($get(path),$get(filename_ext),Scans\%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*front*.jpg)),
- $replace($get(path),$get(filename_ext),Scans\*front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*folder*.jpg)),
- $replace($get(path),$get(filename_ext),Scans\*folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*Cover*.jpg)),
- $replace($get(path),$get(filename_ext),Scans\*Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*front*.png)),
- $replace($get(path),$get(filename_ext),Scans\*front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*folder*.png)),
- $replace($get(path),$get(filename_ext),Scans\*folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*Cover*.png)),
- $replace($get(path),$get(filename_ext),Scans\*Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*%album%*.png)),
- $replace($get(path),$get(filename_ext),Scans\*%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*%album%*.jpg)),
- $replace($get(path),$get(filename_ext),Scans\*%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*.JPG)),
- $replace($get(path),$get(filename_ext),Scans\*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Scans\*.PNG)),
- $replace($get(path),$get(filename_ext),Scans\*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\front*.jpg)),
- $replace($get(path),$get(filename_ext),Images\front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\folder*.jpg)),
- $replace($get(path),$get(filename_ext),Images\folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\Cover*.jpg)),
- $replace($get(path),$get(filename_ext),Images\Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\front*.png)),
- $replace($get(path),$get(filename_ext),Images\front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\folder*.png)),
- $replace($get(path),$get(filename_ext),Images\folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\Cover*.png)),
- $replace($get(path),$get(filename_ext),Images\Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\%album%*.png)),
- $replace($get(path),$get(filename_ext),Images\%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\%album%*.jpg)),
- $replace($get(path),$get(filename_ext),Images\%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*front*.jpg)),
- $replace($get(path),$get(filename_ext),Images\*front*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*folder*.jpg)),
- $replace($get(path),$get(filename_ext),Images\*folder*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*Cover*.jpg)),
- $replace($get(path),$get(filename_ext),Images\*Cover*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*front*.png)),
- $replace($get(path),$get(filename_ext),Images\*front*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*folder*.png)),
- $replace($get(path),$get(filename_ext),Images\*folder*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*Cover*.png)),
- $replace($get(path),$get(filename_ext),Images\*Cover*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*%album%*.png)),
- $replace($get(path),$get(filename_ext),Images\*%album%*.png),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*%album%*.jpg)),
- $replace($get(path),$get(filename_ext),Images\*%album%*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*.JPG)),
- $replace($get(path),$get(filename_ext),Images\*.jpg),
- $if(
- $fileexists($replace($get(path),$get(filename_ext),Images\*.PNG)),
- $replace($get(path),$get(filename_ext),Images\*.png),
- $if(
- $fileexists($replace($get(path),%directoryname%'\'$get(filename_ext),)\*.JPG),
- $replace($get(path),%directoryname%'\'$get(filename_ext),)\*.jpg,
- $if(
- $fileexists($replace($get(path),%directoryname%'\'$get(filename_ext),)\*.PNG),
- $replace($get(path),%directoryname%'\'$get(filename_ext),)\*.png,
- $if(
- $fileexists($replace(C:\Foobar2000\AlbumArt\Artist\$if2(%artist%,).jpg,?,)),
- $replace(C:\Foobar2000\AlbumArt\Artist\$if2(%artist%,).jpg,?,),
- )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
- $puts(number_of_images,
- $if($fileexists($replace($get(albumartpath),.,_20.)),20,
- $if($fileexists($replace($get(albumartpath),.,_19.)),19,
- $if($fileexists($replace($get(albumartpath),.,_18.)),18,
- $if($fileexists($replace($get(albumartpath),.,_17.)),17,
- $if($fileexists($replace($get(albumartpath),.,_16.)),16,
- $if($fileexists($replace($get(albumartpath),.,_15.)),15,
- $if($fileexists($replace($get(albumartpath),.,_14.)),14,
- $if($fileexists($replace($get(albumartpath),.,_13.)),13,
- $if($fileexists($replace($get(albumartpath),.,_12.)),12,
- $if($fileexists($replace($get(albumartpath),.,_11.)),11,
- $if($fileexists($replace($get(albumartpath),.,_10.)),10,
- $if($fileexists($replace($get(albumartpath),.,_9.)),9,
- $if($fileexists($replace($get(albumartpath),.,_8.)),8,
- $if($fileexists($replace($get(albumartpath),.,_7.)),7,
- $if($fileexists($replace($get(albumartpath),.,_6.)),6,
- $if($fileexists($replace($get(albumartpath),.,_5.)),5,
- $if($fileexists($replace($get(albumartpath),.,_4.)),4,
- $if($fileexists($replace($get(albumartpath),.,_3.)),3,
- $if($fileexists($replace($get(albumartpath),.,_2.)),2,
- $if($fileexists($get(albumartpath)),1,0
- ))))))))))))))))))))
- )
- $puts(display_time,$muldiv(%length_seconds%,10,$get(number_of_images)))
- $puts(albumartpath2,
- $ifgreater($div($get(display_time),10),%playback_time_seconds%,$get(albumartpath),
- $ifgreater($muldiv($get(display_time),2,10),%playback_time_seconds%,$replace($get(albumartpath),.,_2.),
- $ifgreater($muldiv($get(display_time),3,10),%playback_time_seconds%,$replace($get(albumartpath),.,_3.),
- $ifgreater($muldiv($get(display_time),4,10),%playback_time_seconds%,$replace($get(albumartpath),.,_4.),
- $ifgreater($muldiv($get(display_time),5,10),%playback_time_seconds%,$replace($get(albumartpath),.,_5.),
- $ifgreater($muldiv($get(display_time),6,10),%playback_time_seconds%,$replace($get(albumartpath),.,_6.),
- $ifgreater($muldiv($get(display_time),7,10),%playback_time_seconds%,$replace($get(albumartpath),.,_7.),
- $ifgreater($muldiv($get(display_time),8,10),%playback_time_seconds%,$replace($get(albumartpath),.,_8.),
- $ifgreater($muldiv($get(display_time),9,10),%playback_time_seconds%,$replace($get(albumartpath),.,_9.),
- $ifgreater($muldiv($get(display_time),10,10),%playback_time_seconds%,$replace($get(albumartpath),.,_10.),
- $ifgreater($muldiv($get(display_time),11,10),%playback_time_seconds%,$replace($get(albumartpath),.,_11.),
- $ifgreater($muldiv($get(display_time),12,10),%playback_time_seconds%,$replace($get(albumartpath),.,_12.),
- $ifgreater($muldiv($get(display_time),13,10),%playback_time_seconds%,$replace($get(albumartpath),.,_13.),
- $ifgreater($muldiv($get(display_time),14,10),%playback_time_seconds%,$replace($get(albumartpath),.,_14.),
- $ifgreater($muldiv($get(display_time),15,10),%playback_time_seconds%,$replace($get(albumartpath),.,_15.),
- $ifgreater($muldiv($get(display_time),16,10),%playback_time_seconds%,$replace($get(albumartpath),.,_16.),
- $ifgreater($muldiv($get(display_time),17,10),%playback_time_seconds%,$replace($get(albumartpath),.,_17.),
- $ifgreater($muldiv($get(display_time),18,10),%playback_time_seconds%,$replace($get(albumartpath),.,_18.),
- $ifgreater($muldiv($get(display_time),19,10),%playback_time_seconds%,$replace($get(albumartpath),.,_19.),
- $replace($get(albumartpath),.,_20.)
- )))))))))))))))))))
- )
- $imageabs2(
- $muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),6,7),
- $muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),20,21),
- 0,0,
- $muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),6,7),
- $muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),20,21),
- $add($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$div($sub(%_width%,$muldiv($sub($get(half_height),8),70,63)),2),8),$muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),3,28)),
- $add($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),8,$sub($get(half_height),$muldiv($sub(%_width%,16),63,70))),$muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),1,36)),
- $get(albumartpath2),)
- $imageabs2(
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),
- 0,0,
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$div($sub(%_width%,$muldiv($sub($get(half_height),8),70,63)),2),8),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),8,$sub($get(half_height),$muldiv($sub(%_width%,16),63,70))),
- .\images\simple_1\overlay_2.png,alpha-50)
- $imageabs2(
- $muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),6,7),
- $muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),20,21),
- 0,0,
- $muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),6,7),
- $muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),20,21),
- $add($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$div($sub(%_width%,$muldiv($sub($get(half_height),8),70,63)),2),8),$muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),3,28)),
- $add($get(half_height),$muldiv($ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),1,42)),
- $get(albumartpath2),rotateflip-6)
- $imageabs2(
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),
- 0,0,
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$muldiv($sub($get(half_height),8),70,63),$sub(%_width%,16)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$sub($get(half_height),8),$muldiv($sub(%_width%,16),63,70)),
- $ifgreater($sub(%_width%,16),$sub($muldiv($get(half_height),70,63),8),$div($sub(%_width%,$muldiv($sub($get(half_height),8),70,63)),2),8),
- $get(half_height),
- .\images\simple_1\overlay_1.png,)
- $puts(title_font,$font(Meiryo,8,bold italic glow-97-140-218 glowalpha-100,255-255-255))
- $puts(name_font,$font(Meiryo,10,bold glow-97-140-218 glowalpha-180,255-255-255))
- $alignabs(0,$get(half_height),%_width%,$sub($get(half_height),$get(progress_bar_layer_size)),center,middle)
- $crlf()$get(title_font)- T i t l e -
- $crlf()$if(%title%,$ifgreater($calcwidth($get(name_font)%title%),%_width%,$get(name_font)$insert(%title%,$crlf(),$div($len(%title%),2)),$get(name_font)%title%),-)
- $crlf()$get(title_font)- A r t i s t -
- $crlf()$if(%artist%,$ifgreater($calcwidth($get(name_font)%artist%),%_width%,$get(name_font)$insert(%artist%,$crlf(),$div($len(%artist%),2)),$get(name_font)%artist%),-)
- $crlf()$get(title_font)- A l b u m -
- $crlf()$if(%album%,$ifgreater($calcwidth($get(name_font)%album%),%_width%,$get(name_font)$insert(%album%,$crlf(),$div($len(%album%),2)),$get(name_font)%album%),-)
- $if(%songwriter%,$crlf()$get(title_font)- C o m p o s e r -$crlf()$ifgreater($calcwidth($get(name_font)%songwriter%),%_width%,$get(name_font)$insert(%songwriter%,$crlf(),$div($len(%songwriter%),2)),$get(name_font)%songwriter%),)
- //$crlf()$get(title_font)- Play Count -
- //$crlf()$if(%play_count%,%play_count%,-)
- $if($or(%isplaying%,%ispaused%),$imageabs2($sub(%_width%,16),8,0,0,$sub(%_width%,16),8,8,$add($sub(%_height%,$get(progress_bar_layer_size)),20),.\images\simple_1\bar_back_1.png,nokeepaspect))
- $if($or(%isplaying%,%ispaused%),$imageabs2($muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),8,0,0,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),8,8,$add($sub(%_height%,$get(progress_bar_layer_size)),20),.\images\simple_1\bar_1.png,nokeepaspect))
- $if($or(%isplaying%,%ispaused%),
- $ifequal($right(%playback_time_seconds%,1),0,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_1.png,),
- $ifequal($right(%playback_time_seconds%,1),1,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_2.png,),
- $ifequal($right(%playback_time_seconds%,1),2,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_3.png,),
- $ifequal($right(%playback_time_seconds%,1),3,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_4.png,),
- $ifequal($right(%playback_time_seconds%,1),4,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_5.png,),
- $ifequal($right(%playback_time_seconds%,1),5,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_1.png,),
- $ifequal($right(%playback_time_seconds%,1),6,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_2.png,),
- $ifequal($right(%playback_time_seconds%,1),7,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_3.png,),
- $ifequal($right(%playback_time_seconds%,1),8,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_4.png,),
- $ifequal($right(%playback_time_seconds%,1),9,
- $imageabs2(20,20,0,0,20,20,$muldiv($sub(%_width%,16),%playback_time_seconds%,%length_seconds%),$sub(%_height%,$get(progress_bar_layer_size)),.\images\simple_1\star_5.png,),
- )))))))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement