feat: rename project
This commit is contained in:
@@ -5,7 +5,7 @@ Pi, Raspberry, Raspberry Pi = De Raspberry Pi hardware
|
||||
|
||||
## Digest
|
||||
|
||||
AkartonTV (of SystemecTV) is een programma of opstelling van verschillende softwarepakketten die het mogelijk maken om videos en presentaties op een willekeurig scherm af te spelen.
|
||||
AkartonTV (of SystemecTV of RaspScreen) is een programma of opstelling van verschillende softwarepakketten die het mogelijk maken om videos en presentaties op een willekeurig scherm af te spelen.
|
||||
Dit wordt mogelijk gemaakt door kleine computers, vaak Single-Board Computers (SBC) die Linux gebruiken.
|
||||
|
||||
In het geval van dit project is het opgesteld in 2 gedeeltes, algemene installatie - waarbij Raspberry Pi devices als standaard worden gemarkeerd.
|
||||
@@ -47,7 +47,7 @@ Hoe deze 'raspis.yaml' moet worden geinstalleerd is naast het .exe (executable)
|
||||
|
||||
```
|
||||
./
|
||||
- akartontv.exe
|
||||
- raspscreen.exe
|
||||
- raspis.yaml
|
||||
```
|
||||
|
||||
|
||||
2
build.sh
2
build.sh
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
go build -o akartontv src/*.go
|
||||
go build -o RaspScreen src/*.go
|
||||
|
||||
10
install.sh
10
install.sh
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
program_name="akartontv"
|
||||
program_name="raspscreen"
|
||||
runtime_id=$(id -u)
|
||||
userland_name="${1-systemec}"
|
||||
|
||||
@@ -30,9 +30,9 @@ After=graphical.target
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
WorkingDirectory=/opt/akartontv
|
||||
WorkingDirectory=/opt/raspscreen
|
||||
ExecStartPre=/usr/bin/sleep 5
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/libreoffice --impress --show --norestore \$(find /opt/akartontv/media \( -name "*.pptx" -o -name "*.odp" \))'
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/libreoffice --impress --show --norestore \$(find /opt/raspscreen/media \( -name "*.pptx" -o -name "*.odp" \))'
|
||||
ExecStop=/usr/bin/killall libreoffice
|
||||
Restart=always
|
||||
Restart=on-failure
|
||||
@@ -50,9 +50,9 @@ After=graphical.target
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
WorkingDirectory=/opt/akartontv
|
||||
WorkingDirectory=/opt/raspscreen
|
||||
ExecStartPre=/usr/bin/sleep 5
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/vlc --fullscreen --loop --no-video-title --video-on-top --no-qt-privacy-ask --no-qt-fs-controller --qt-continue=0 \$(find /opt/akartontv/media \( -name "*.mp4" -o -name "*.mkv" -o -name "*.mov" -o -name "*.webm" \))'
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/vlc --fullscreen --loop --no-video-title --video-on-top --no-qt-privacy-ask --no-qt-fs-controller --qt-continue=0 \$(find /opt/raspscreen/media \( -name "*.mp4" -o -name "*.mkv" -o -name "*.mov" -o -name "*.webm" \))'
|
||||
ExecStop=/usr/bin/killall vlc
|
||||
Restart=always
|
||||
Restart=on-failure
|
||||
|
||||
@@ -5,9 +5,9 @@ After=graphical.target
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
WorkingDirectory=/opt/akartontv
|
||||
WorkingDirectory=/opt/raspscreen
|
||||
ExecStartPre=/usr/bin/sleep 5
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/libreoffice --impress --show --norestore $(find /opt/akartontv/media \( -name "*.pptx" -o -name "*.odp" \))'
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/libreoffice --impress --show --norestore $(find /opt/raspscreen/media \( -name "*.pptx" -o -name "*.odp" \))'
|
||||
ExecStop=/usr/bin/killall libreoffice
|
||||
Restart=always
|
||||
Restart=on-failure
|
||||
|
||||
@@ -5,9 +5,9 @@ After=graphical.target
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
WorkingDirectory=/opt/akartontv
|
||||
WorkingDirectory=/opt/raspscreen
|
||||
ExecStartPre=/usr/bin/sleep 5
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/vlc --fullscreen --loop --no-video-title --video-on-top --no-qt-fs-controller --qt-continue=0 $(find /opt/akartontv/media \( -name "*.mp4" -o -name "*.mkv" -o -name "*.mov" -o -name "*.webm" \))'
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/vlc --fullscreen --loop --no-video-title --video-on-top --no-qt-fs-controller --qt-continue=0 $(find /opt/raspscreen/media \( -name "*.mp4" -o -name "*.mkv" -o -name "*.mov" -o -name "*.webm" \))'
|
||||
ExecStop=/usr/bin/killall vlc
|
||||
Restart=always
|
||||
Restart=on-failure
|
||||
|
||||
@@ -66,7 +66,7 @@ func verifyCred(targetName string, cfg RaspiConfig) bool {
|
||||
}
|
||||
|
||||
func sftpUploadFile(targetName, localPath, remotePath string, cfg RaspiConfig) bool {
|
||||
const clearDirectory string = "rm /opt/akartontv/media/*"
|
||||
const clearDirectory string = "rm /opt/raspscreen/media/*"
|
||||
|
||||
sshClient, err := createSSHClient(targetName, cfg)
|
||||
|
||||
|
||||
@@ -244,7 +244,7 @@ func drawFileSelection(localPath *string, targetMode *int, parentWindow fyne.Win
|
||||
|
||||
// targetMode *int
|
||||
func drawFooter(app fyne.App, raspiTarget, localUploadPath *string, targetMode *int, cfg RaspiConfig) (*fyne.Container, *widget.Button, *widget.Button) {
|
||||
remotePresPath := "/opt/akartontv/media/media"
|
||||
remotePresPath := "/opt/raspscreen/media/media"
|
||||
|
||||
// Configuration of the bottom of the application
|
||||
var uploadBtn *widget.Button
|
||||
|
||||
Reference in New Issue
Block a user