Hi. I have an OnDemand list of songs. I have a USB event (RFID reader) playing tracks with an input variable. But for some of the RFID chips, I want the matching track to start at a random timecode in the track. Is this possible?
Date
Votes
2 comments
-
Jim Richards Yes, this is entirely possible, though the implementation depends on the playback software or language you are using. Most media frameworks (like VLC’s API, Python’s pygame, or professional playback software) allow you to pass a seek or start-time parameter alongside the file path. When your RFID event triggers, you can simply check the input variable; if it matches one of your Everfi.com specific chips, you generate a random integer between zero and the track's duration and command the player to jump to that timestamp immediately upon loading.
Best regards,
Jim Richards. -
Bright Scripters Here’s a reply from a real human:)
Using a custom plugin, you can fast forward a media file to a random position.
Please sign in to leave a comment.