https://github.com/bertrandmartel/vlc-boot
init.d service to launch a script launching vlc for looping videos in a folder
https://github.com/bertrandmartel/vlc-boot
linux raspberry-pi vlc
Last synced: 2 months ago
JSON representation
init.d service to launch a script launching vlc for looping videos in a folder
- Host: GitHub
- URL: https://github.com/bertrandmartel/vlc-boot
- Owner: bertrandmartel
- License: mit
- Created: 2019-11-18T18:51:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T21:49:05.000Z (over 6 years ago)
- Last Synced: 2025-02-22T21:43:15.940Z (over 1 year ago)
- Topics: linux, raspberry-pi, vlc
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Init.d service for starting VLC at boot
Start a init.d VLC script at boot on your Raspberry PI for example in this case to loop videos in a specific folder.
In this example, VLC is executed as the pi user since the root user is denied using VLC, see vlc_start.sh
## Usecase
Use a raspberry PI connected to a screen to loop some videos with VLC :

## Install
```
git clone git@github.com:bertrandmartel/vlc-boot.git && cd vlc-boot
cp vlc_boot.sh /bin/
cp start_vlc.sh /bin/
cp vlc_boot /etc/init.d/
update-rc.d vlc_boot defaults
systemctl enable vlc_boot
```
## Usage
* start
```
service vlc_boot start
```
* stop
```
service vlc_boot stop
```
* restart
```
service vlc_boot restart
```
## Uninstall
```
update-rc.d -f vlc_boot remove
```
## USB Volume path
Note that the USB path is retrieved using `lsblk -o LABEL,MOUNTPOINT` so it won't work if you are using usbmount utility for example