User Tools

Site Tools


pup_dmd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pup_dmd [2020/05/12 11:31]
A User Not Logged in
pup_dmd [2020/05/12 11:44] (current)
A User Not Logged in
Line 23: Line 23:
 another lower level zip to get you more info: [[http://​nailbuster.com/​pup/​PUPDMD_Reference_v13.zip|http://​nailbuster.com/​pup/​PUPDMD_Reference_v13.zip]] another lower level zip to get you more info: [[http://​nailbuster.com/​pup/​PUPDMD_Reference_v13.zip|http://​nailbuster.com/​pup/​PUPDMD_Reference_v13.zip]]
  
-Jukebox playlist/​music control helper subs:<​code>​+Some common calls:<​code>​ 
 +    Init(DisplayNum:​ Integer; const RootDir: WideString);​ 
 + 
 +    playlistadd(DisplayNum:​ Integer; folder: WideString; sort,​restSeconds:​ Integer); 
 + 
 +    playlistplay(DisplayNum:​ Integer; playlist: WideString);​ 
 + 
 +    playlistplayex(DisplayNum:​ Integer; playlist, playfilename:​ WideString; volume, priority: Integer); 
 + 
 +    playpause(DisplayNum:​ Integer); 
 + 
 +    playresume(DisplayNum:​ Integer); 
 + 
 +    playstop(DisplayNum:​ Integer); 
 + 
 +    setVolume(DisplayNum:​ Integer;​vol:​ Integer); 
 +       ​vol=default volume for display 
 + 
 +    setVolumeCurrent(DisplayNum,​ Vol: Integer); 
 +        vol of current playing media, no affect on default media volume. 
 + 
 +    SetLength(DisplayNum:​ Integer;​StopSecs:​ Integer); 
 +        after you play a file call setlength if you want it to stop.  so setlength(5) will stop video at 5 seconds mark. 
 + 
 +    SetLoop(DisplayNum:​ Integer;​LoopState:​ Integer); 
 +         if you set LoopState=1, ​ it will loop the currently playing file.  0=cancel loop 
 + 
 +    SetBackGround(DisplayNum:​ Integer;​Mode:​ Integer); 
 +         if you set Mode=1, it will set current playing file as background (loop it always). ​ Mode=0 to cancel background. ​ Note if user has '​POP-UP'​ mode this will be disabled automagically (you don't need to worry about it). 
 + 
 +</​code>​ 
 + 
 +Jukebox playlist/​music control helper subs: 
 + 
 +<​code>​
 '​jukebox mode will auto advance to next media in playlist and you can use next/prior sub to manuall advance '​jukebox mode will auto advance to next media in playlist and you can use next/prior sub to manuall advance
 'you should really have a specific pupid# display like musictrack that is only used for the playlist 'you should really have a specific pupid# display like musictrack that is only used for the playlist
pup_dmd.txt · Last modified: 2020/05/12 11:44 by A User Not Logged in