This is just a simple media player that loads animation(as it works with music and video) and such
you can add advanced features such as pause, stop, next, loop only 1 song, and user input
i built this for myself since quicktime dont support playlists and mediaplayer wont let me add .mov files to a playlist and i thought "hey this could be a 20 liner if i condense it a bit" so here it is
(no comments so beware)
attached is a required plugin, install it like u would any other plugin
sync off:sync rate 300
rem template source code media playlist
rem for personal use
songs=3 `constant value of how many songs
global min:global song=1
load animation "X:\My Music\greenday_americanidiot_284hjsdfk_dl.mov",1:load animation "X:\My Music\Green_Day-Holiday.mp3",2:load animation "X:\My Music\greenday_boulevardofbrokendreams_klnkl_dl.mov",3
play animation song:do:checkmin()
if animation playing(song)=0:song=song+1:if song=songs+1:song=1:endif
play animation song
endif
loop
function checkmin()
if is minimized()=1
sync off
sync rate 1
min=1
endif:if is minimized()=0 and min=1:sync off:sync rate 300:min=0:endif
endfunction
formerly shadows of emptiness