Compare commits
32 Commits
install-sc
...
main
@ -0,0 +1,32 @@
|
|||||||
|
# Raspberry pi video player
|
||||||
|
|
||||||
|
## How to install
|
||||||
|
|
||||||
|
1. Install Raspberry Pi Imager on your local computer from <https://www.raspberrypi.com/software/>
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
1. Select `Raspberry Pi OS (64-bit)` in Pi Imager
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
1. Configure Wifi details and `pi` user credentials using the settings in the imager.
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
1. Flash the SD card
|
||||||
|
|
||||||
|
1. Insert it into the Pi and boot it up.
|
||||||
|
|
||||||
|
1. Run the following command on the Pi either via ssh or in the terminal from the desktop
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl https://git.bpfilip.dk/fbp/video-player/raw/branch/main/install.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
1. Access the web interface by typing the ip address of the pi in a web browser followed by the port `:8080`. Fx:
|
||||||
|
|
||||||
|
```
|
||||||
|
http://192.168.25.219:8080
|
||||||
|
```
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Clock
|
||||||
|
Exec=sudo systemctl start video-player2.service
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 86 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 164 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Video Player
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/home/steady/video-player
|
||||||
|
ExecStart=ffplay -fs -loop 2147483647 /home/steady/video-player/public/videos/video.mp4
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
Environment=AUDIODEV="hw:2,0"
|
||||||
|
User=1000
|
||||||
|
Group=1000
|
||||||
|
Restart=always
|
||||||
Loading…
Reference in New Issue