|
Slink-e / CDJ Discussion Archive #8 Re: Request for additional eventsPosted By: Jeroen Sonnemans <sonnie@c...> In Response To: Re: Request for additional events (Gautam Desai)
Actually, There is (should be) plenty of info send through the SlinkeServer to do this.... For instance if you look at the events log below, you can trigger on: things like: - play - time[0:00] - playing also you can look at the: - 30s_to_eot (so you know track will end after 30 seconds.) - and you can follow the time stream. from the Playing event you know the total track time, and from the time event you know the current "position", so you can calculate the time left. Adittionally you could "abuse" the "fade_down" and "fade_up" events (where you can even controll the fade time, to set you pre-warning before start and end of track..). Hope this helps... Jeroen cdslr0 play lowlevel sl3[904457] lowlevel sl3[985101010000] cdslr0 time[01010000] cdjr playing["Experience Hendrix","Jimi Hendrix","Purple Haze"," 2:52","","E1A41183B204F65F","1"] lowlevel sl3[9860570120733545] cdslr0 disc_info[570120733545] cdjr playlist_pointer[1] lowlevel sl3[904457] lowlevel sl3[985101010000] cdslr0 time[01010000] cdjr playlist_item["2","Experience Hendrix","Jimi Hendrix","Fire"," 2:44","","E1A41183B204F65F","2"] lowlevel sl3[985101010000] cdslr0 time[01010000] lowlevel sl3[985101010000] cdslr0 time[01010000] lowlevel sl3[985101010000] cdslr0 time[01010000] lowlevel sl3[985101010001] cdslr0 time[01010001] cdjr time[0:01] lowlevel sl3[985101010002] cdslr0 time[01010002] cdjr time[0:02] lowlevel sl3[985101010003] cdslr0 time[01010003] cdjr time[0:03] lowlevel sl3[985101010004] cdslr0 time[01010004] cdjr time[0:04] .... Omitted ... cdjr time[2:19] lowlevel sl3[985101010220] cdslr0 time[01010220] cdjr time[2:20] lowlevel sl3[985101010221] cdslr0 time[01010221] cdjr time[2:21] lowlevel sl3[980C] cdslr0 30s_to_eot lowlevel sl3[985101010222] cdslr0 time[01010222] cdjr time[2:22] lowlevel sl3[985101010223] cdslr0 time[01010223] cdjr time[2:23] ... omitted ... cdslr0 time[01010252] lowlevel sl3[985057020244] cdslr0 playing[57020244] cdjr time[2:52] lowlevel sl3[905F11] lowlevel sl3[905F11] cdjr playing["Experience Hendrix","Jimi Hendrix","Fire"," 2:44","","E1A41183B204F65F","2"] cdjr using_player[cd1] lowlevel sl3[985102010000] cdslr0 time[02010000] lowlevel sl3[9025] cdjr playlist_pointer[2] lowlevel sl3[9025] lowlevel sl3[985102010000] cdslr0 time[02010000] cdjr time[0:00]
Slink-e / CDJ Discussion Archive #8 is maintained by slinke-bbs-owner@nirvis.com with WebBBS 3.21. |