Skip to content

Instantly share code, notes, and snippets.

View kenakofer's full-sized avatar

Kenan kenakofer

View GitHub Profile
@kenakofer
kenakofer / vlc-directory-to-playlist.sh
Created July 28, 2024 00:05
Checks VLC's current playlist against the images and videos in a folder (recursively), and without restarting VLC, adds missing items to the playlist.
#!/bin/bash
### Checks VLC's current playlist against the images and videos in a folder
### (recursively), and without restarting VLC, updates the playlist to match.
### Useful for kiosk slideshows, or smart picture frame setups.
### First run VLC with telnet and a password that matches this script. (Telnet
### is only needed within localhost here, it would be insecure to try this over
### the network or on a shared computer):
### > vlc --extraintf telnet --telnet-password your_pass_here