2014-03-25, 04:07 PM
jrockow Wrote:I would also like to be able to use the PLAY key (CTRL-P) to play the file immediately, without going to the popup.You could override the OnKeyDown method, check for the key, and if it's PLAY, then start playback of the selected item.
Can you get me started on that. I'm not sure how to code in specific keyboard commands.
Quote:Also, I assume I need some sort of timer to keep my list up to date.It'd have to be done from the current thread. Timers often use a background thread. When I need to do this, I often override the NeedsRendering() call (which is called continuously while the plugin is visible), to check the time since last update, and run PopulateList or whatever you need to when you go past a certain time.
Is it enough for the timer to just PopulateList, or do I need to do more.
What interval do you suggest I use for updating the screen?