Compare commits
No commits in common. 'main' and 'install-script' have entirely different histories.
main
...
install-sc
@ -1,32 +0,0 @@
|
|||||||
# 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
|
|
||||||
```
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Clock
|
|
||||||
Exec=sudo systemctl start video-player2.service
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 86 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 164 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB |
@ -1,11 +0,0 @@
|
|||||||
[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