Question / Help VLC playlist shuffle not working when switching between scenes

Osmobot

New Member
I'm trying to make a randomized VLC playlist to play different song every time I switch to a particular scene. However, it always starts the same song when I switch to the scene even though Shuffle Playlist is enabled. I am using the "Stop when not visible, restart when visible" option in "Visibility behavior", and "Shuffle Playlist" is enabled.

Versions:
- VLC (3.0.3) 64bit
- OBS Studio (21.1.2) 64 bit
- Operating system: Windows 7 64bit
 

StarCrashr

New Member
I'm having this same issue. I'm getting to the point where I'm about to try programming a randomizer in javascript to open in the browser source instead.
 

R1CH

Forum Admin
Developer
It looks like the playlist is only shuffled when the source is updated (ie any time the properties are changed).
 

nbc4292

New Member
Even when I reload the source it always reloads the same initial video and does not shuffle the playlist. When I load VLC on it's own shuffling is working seamlessly.

Any suggestions?
 

GelmoSan

New Member
@Osmobot @nbc4292 @DXpendable @Spliffrite @StarCrashr @R1CH Exeldro's new update to Directory Watch Media adds a Refresh hotkey. The Refresh hotkey will re-save the VLC Video Source properties, which will re-shuffle the playlist if you have Shuffle enabled. To do so, install Directory Watch Media - https://obsproject.com/forum/resources/directory-watch-media.801/ - Add that as an Effect Filter to the VLC Video Source (no need to adjust the settings there). Then go to Settings > Hotkeys and create a Hotkey for Refresh, which will be part of the VLC Video Source section. Now, whenever you press that Refresh hotkey, the playlist will be re-shuffled.
 
Top