Expose interface for jukebox blocks to programmable block scripts

Ryan Sutton shared this feedback 11 days ago
Not Enough Votes

I want to create a very, very simple script that will shuffled the order of the selected songs in a jukebox, but lack access to the interface for the MyJukebox definition, meaning I can't cast the block to IMyJukebox, and therefore don't have access to the SelectedSounds list property to be able to reorder these. I'm not sure what the logic for NOT exposing this block type to the scripting API is, but seeing as it was first introduced in v1.199, it might just be a long standing oversight.


Please expose this block, as I'm tired of hearing the jukebox play the songs in the same order every single time, and wish to correct this. I'm sure others would also benefit from being able to access the jukebox functions programatically.


If I'm missing something simple here, please let me know as well. Thanks!

Leave a Comment
 
Attach a file