Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
338 commits
Select commit Hold shift + click to select a range
fae923a
Merge branch 'develop' into toUpstream
friebi Jul 16, 2024
53320e5
Merge remote-tracking branch 'origin/main' into develop
friebi Aug 22, 2024
4c78f02
Merge branch 'develop' into toUpstream
friebi Aug 22, 2024
d5204e9
Merge tag '4.1.0' into develop
friebi Aug 24, 2024
3113b2f
patch version.json
friebi Aug 24, 2024
a8a3af5
Merge tag '4.1.1' into develop
friebi Aug 24, 2024
e97a41d
Patch version.json
friebi Aug 24, 2024
16a95e7
Merge tag '4.1.2' into develop
friebi Aug 24, 2024
94a6dc1
Patch version.json
friebi Aug 24, 2024
5978324
Merge remote-tracking branch 'origin/main' into develop
friebi Aug 24, 2024
820bc75
patch version.json
friebi Aug 24, 2024
ee21392
Merge branch 'develop' into toUpstream
friebi Aug 24, 2024
ec5ce70
Revert "patch version.json"
friebi Aug 24, 2024
c3e7b80
Revert "Patch version.json"
friebi Aug 24, 2024
dd86393
Revert "Patch version.json"
friebi Aug 24, 2024
6c0a989
Revert "patch version.json"
friebi Aug 24, 2024
b3cbc2d
Merge remote-tracking branch 'origin/main' into develop
friebi Aug 24, 2024
609563c
v4.1.4
friebi Aug 24, 2024
d16d01d
Merge branch 'develop' into toUpstream
friebi Aug 24, 2024
ab940d1
Revert "v4.1.4"
friebi Aug 24, 2024
ed932bb
introduce github actions
friebi Aug 26, 2024
a69b132
Merge branch 'develop' into toUpstream
friebi Sep 3, 2024
ebfbb29
remove workflows from upstream branch
friebi Sep 3, 2024
24cc129
Merge branch 'develop' into toUpstream
Sep 3, 2024
7fabcb5
Merge remote-tracking branch 'origin/main' into develop
Sep 3, 2024
ec72608
merge missing change from develop
friebi Sep 3, 2024
528f7c5
Merge remote-tracking branch 'origin/main' into develop
friebi Sep 7, 2024
d3e5bbd
workaround "tell me who you are" error
friebi Sep 7, 2024
92371b8
set mail address as well
friebi Sep 7, 2024
5400667
Merge branch 'develop' into toUpstream
friebi Sep 7, 2024
d5dc3b5
Merge remote-tracking branch 'origin/main' into develop
friebi Sep 8, 2024
f45d306
Merge branch 'develop' into toUpstream
friebi Sep 8, 2024
4c9f229
adapted packages to install - again not single source
friebi Sep 8, 2024
2f0656c
Merge branch 'develop' into toUpstream
friebi Sep 8, 2024
87d232e
Merge remote-tracking branch 'origin/main' into develop
friebi Sep 9, 2024
7ca49bb
Merge branch 'develop' into toUpstream
friebi Sep 9, 2024
c0fb5e9
Merge remote-tracking branch 'origin/main' into develop
friebi Sep 20, 2024
240666b
Merge branch 'develop' into toUpstream
friebi Sep 20, 2024
0888bb9
Merge remote-tracking branch 'origin/main' into develop
friebi Sep 22, 2024
2740395
Merge branch 'develop' into toUpstream
friebi Sep 22, 2024
5e6c0a4
use curly braces more consistently
friebi Sep 22, 2024
8e5393f
Merge branch 'develop' into toUpstream
friebi Sep 22, 2024
fb2a8d7
Copy & pasted code is a mess!
friebi Sep 23, 2024
fc36804
Merge branch 'develop' into toUpstream
friebi Sep 23, 2024
87ec81f
Move everything required
friebi Sep 23, 2024
621a6c1
Merge branch 'develop' into toUpstream
friebi Sep 23, 2024
c2e8e02
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 1, 2024
3dbfa59
Merge branch 'develop' into toUpstream
friebi Oct 1, 2024
b3dbff0
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 3, 2024
aefdf5b
Merge branch 'develop' into toUpstream
friebi Oct 3, 2024
7092b57
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 3, 2024
ed0910d
Merge branch 'develop' into toUpstream
friebi Oct 3, 2024
966aa4e
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 4, 2024
890c5ad
Merge branch 'develop' into toUpstream
friebi Oct 4, 2024
8b22170
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 5, 2024
324ab48
Merge branch 'develop' into toUpstream
friebi Oct 5, 2024
a2aab62
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 13, 2024
8e0eaf0
Merge branch 'develop' into toUpstream
friebi Oct 13, 2024
1dcfcf3
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 17, 2024
0b5510b
Merge branch 'develop' into toUpstream
friebi Oct 17, 2024
d6c47d3
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 18, 2024
c7f35fb
Merge branch 'develop' into toUpstream
friebi Oct 18, 2024
df59419
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 19, 2024
070bb9b
Merge branch 'develop' into toUpstream
friebi Oct 19, 2024
bc2ea21
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 29, 2024
1339a0e
Merge branch 'develop' into toUpstream
friebi Oct 29, 2024
4655477
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 31, 2024
6dbb648
Merge branch 'develop' into toUpstream
friebi Oct 31, 2024
1573ecb
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 31, 2024
ee09d4a
Merge branch 'develop' into toUpstream
friebi Oct 31, 2024
fd4b3d3
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 1, 2024
4cbdf0a
Merge branch 'develop' into toUpstream
friebi Nov 1, 2024
82d8eed
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 4, 2024
58d98ec
Merge branch 'develop' into toUpstream
friebi Nov 4, 2024
1ff3246
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 6, 2024
28a61ea
Merge branch 'develop' into toUpstream
friebi Nov 6, 2024
7a80544
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 7, 2024
05c9869
Merge branch 'develop' into toUpstream
friebi Nov 7, 2024
6a1bd86
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 7, 2024
760c63b
Merge branch 'develop' into toUpstream
friebi Nov 7, 2024
5c2e379
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 8, 2024
3847c2b
Merge branch 'develop' into toUpstream
friebi Nov 8, 2024
44d9580
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 8, 2024
4b2ca31
Merge branch 'develop' into toUpstream
friebi Nov 8, 2024
e0522a9
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 10, 2024
df0e561
Merge branch 'develop' into toUpstream
friebi Nov 10, 2024
986d115
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 11, 2024
8329f8a
Merge branch 'develop' into toUpstream
friebi Nov 11, 2024
cd9a694
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 11, 2024
91dc29d
Merge branch 'develop' into toUpstream
friebi Nov 11, 2024
0c02e58
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 12, 2024
f879d77
Merge branch 'develop' into toUpstream
friebi Nov 12, 2024
2026403
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 12, 2024
904e77f
Merge branch 'develop' into toUpstream
friebi Nov 12, 2024
1ea703e
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 13, 2024
409dad1
Merge branch 'develop' into toUpstream
friebi Nov 13, 2024
357df77
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 13, 2024
691e97f
Merge branch 'develop' into toUpstream
friebi Nov 13, 2024
f491db6
Remove MupiHAT pdf from repo
friebi Nov 13, 2024
ff038e9
Merge branch 'develop' into toUpstream
friebi Nov 13, 2024
e425722
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 14, 2024
bdb2c87
Merge branch 'develop' into toUpstream
friebi Nov 14, 2024
dec6cd2
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 15, 2024
7882d99
Merge branch 'develop' into toUpstream
friebi Nov 15, 2024
fc56d86
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 15, 2024
af4d9e0
Merge branch 'develop' into toUpstream
friebi Nov 15, 2024
6c6841c
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 15, 2024
c9fdf79
Merge branch 'develop' into toUpstream
friebi Nov 15, 2024
10d2fea
Update merge_main_to_branches.yml
friebi Nov 15, 2024
3904152
Merge branch 'develop' into toUpstream
friebi Nov 15, 2024
3d9f39a
Update merge_main_to_branches.yml
friebi Nov 15, 2024
7e24e80
Update merge_main_to_branches.yml
friebi Nov 15, 2024
d3a1e86
Merge branch 'develop' into toUpstream
friebi Nov 15, 2024
805ea65
Update merge_main_to_branches.yml
friebi Nov 15, 2024
ea32857
Merge branch 'develop' into toUpstream
friebi Nov 15, 2024
5fe87bd
v4.2.0
friebi Nov 15, 2024
8f9370f
Revert "v4.2.0"
friebi Nov 15, 2024
f208e85
Update merge_main_to_branches.yml
friebi Nov 15, 2024
648af64
Update merge_main_to_branches.yml
friebi Nov 15, 2024
750852c
Merge branch 'develop' into toUpstream
friebi Nov 15, 2024
74ec4a9
Merge branch 'develop' into toUpstream
friebi Nov 15, 2024
dd2f798
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 19, 2024
541adaa
Merge branch 'develop' into toUpstream
friebi Nov 19, 2024
240cc6b
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 20, 2024
3b48c65
Merge branch 'develop' into toUpstream
friebi Nov 20, 2024
c0f332b
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 22, 2024
38190f0
Merge branch 'develop' into toUpstream
friebi Nov 22, 2024
1583f3d
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 22, 2024
2857af6
Merge branch 'develop' into toUpstream
friebi Nov 22, 2024
7ae6417
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 25, 2024
33cf264
Merge branch 'develop' into toUpstream
friebi Nov 25, 2024
648a2eb
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 26, 2024
627fb9f
Merge branch 'develop' into toUpstream
friebi Nov 26, 2024
6c1c3db
Merge tag '4.2.1' into develop
friebi Nov 27, 2024
cffe139
Merge branch 'develop' into toUpstream
friebi Nov 27, 2024
d10bc86
v4.2.1
friebi Nov 27, 2024
da05b0e
Revert "v4.2.1"
friebi Nov 27, 2024
d1fbd0b
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 28, 2024
460a42e
Merge branch 'develop' into toUpstream
friebi Nov 28, 2024
47fb597
Merge remote-tracking branch 'origin/main' into develop
friebi Dec 11, 2024
c3eed6a
Merge branch 'develop' into toUpstream
friebi Dec 11, 2024
61d6b15
Merge remote-tracking branch 'origin/main' into develop
friebi Dec 13, 2024
53cec27
Merge branch 'develop' into toUpstream
friebi Dec 13, 2024
f6b5bf6
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 4, 2025
fb980a5
Merge branch 'develop' into toUpstream
friebi Jan 4, 2025
b93261b
Delete config/templates/smb.conf
splitti Jan 4, 2025
a6a626b
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 10, 2025
806568a
Merge branch 'develop' into toUpstream
friebi Jan 10, 2025
a5bf806
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 11, 2025
e1dc2fb
Merge branch 'develop' into toUpstream
friebi Jan 11, 2025
04bcc2b
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 13, 2025
f2c16dd
Merge branch 'develop' into toUpstream
friebi Jan 13, 2025
de2196d
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 20, 2025
321c048
Merge branch 'develop' into toUpstream
friebi Jan 20, 2025
63729a3
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 21, 2025
1269615
Merge branch 'develop' into toUpstream
friebi Jan 21, 2025
db6a5e2
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 30, 2025
b37ebcd
Merge branch 'develop' into toUpstream
friebi Jan 30, 2025
3504a35
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 31, 2025
ea9526e
Merge branch 'develop' into toUpstream
friebi Jan 31, 2025
b284d48
Merge remote-tracking branch 'origin/main' into develop
friebi Feb 4, 2025
67417e6
Merge branch 'develop' into toUpstream
friebi Feb 4, 2025
ec94f01
v4.2.2
friebi Feb 12, 2025
348e711
Merge branch 'develop' into toUpstream
friebi Feb 12, 2025
4bd8005
Revert "Beta 4.2.2"
friebi Feb 12, 2025
d340334
Merge remote-tracking branch 'origin/main' into develop
friebi Mar 6, 2025
b8694ad
Merge branch 'develop' into toUpstream
friebi Mar 6, 2025
6442a1c
Merge remote-tracking branch 'origin/main' into develop
friebi Mar 14, 2025
1c4de04
Merge branch 'develop' into toUpstream
friebi Mar 14, 2025
3062942
Merge remote-tracking branch 'origin/main' into develop
friebi Mar 17, 2025
c266066
Merge branch 'develop' into toUpstream
friebi Mar 17, 2025
327fffc
Merge remote-tracking branch 'origin/main' into develop
friebi Mar 26, 2025
5621689
Merge branch 'develop' into toUpstream
friebi Mar 26, 2025
72c2153
Merge remote-tracking branch 'origin/main' into develop
friebi Mar 27, 2025
7551267
Merge branch 'develop' into toUpstream
friebi Mar 27, 2025
700b8ad
Merge remote-tracking branch 'origin/main' into develop
friebi Apr 12, 2025
4f3e52b
Merge branch 'develop' into toUpstream
friebi Apr 12, 2025
ccabebf
Merge remote-tracking branch 'origin/main' into develop
friebi Apr 15, 2025
f7d4d02
Merge branch 'develop' into toUpstream
friebi Apr 15, 2025
dea96f4
Merge remote-tracking branch 'origin/main' into develop
friebi Apr 16, 2025
488dcf8
Merge branch 'develop' into toUpstream
friebi Apr 16, 2025
c9bc253
Merge remote-tracking branch 'origin/main' into develop
friebi Apr 18, 2025
67988d8
Merge branch 'develop' into toUpstream
friebi Apr 18, 2025
cad5615
Merge branch 'develop' into toUpstream
friebi Apr 20, 2025
e86a4f3
Merge remote-tracking branch 'origin/main' into develop
friebi Apr 20, 2025
a78ee77
Merge branch 'develop' into toUpstream
friebi Apr 26, 2025
00f70f5
v4.2.3
friebi Apr 26, 2025
6f66c49
Revert "v4.2.3"
friebi Apr 26, 2025
a1f8b63
Merge remote-tracking branch 'origin/main' into develop
friebi Jul 1, 2025
4391167
Merge branch 'develop' into toUpstream
friebi Jul 1, 2025
46c8d36
Merge remote-tracking branch 'origin/main' into develop
friebi Jul 3, 2025
739b5fa
Merge branch 'develop' into toUpstream
friebi Jul 3, 2025
0901a35
Merge remote-tracking branch 'origin/main' into develop
friebi Aug 11, 2025
d26aeba
Merge branch 'develop' into toUpstream
friebi Aug 11, 2025
7d25bed
Merge remote-tracking branch 'origin/main' into develop
friebi Aug 25, 2025
13a2c91
Merge branch 'develop' into toUpstream
friebi Aug 25, 2025
04d97fb
Merge remote-tracking branch 'origin/main' into develop
friebi Sep 10, 2025
993b79b
Merge branch 'develop' into toUpstream
friebi Sep 10, 2025
c8e539d
Merge remote-tracking branch 'origin/main' into develop
friebi Sep 12, 2025
cdcc9a7
Merge branch 'develop' into toUpstream
friebi Sep 12, 2025
4d6f1c3
Merge remote-tracking branch 'origin/main' into develop
friebi Sep 25, 2025
e23a88f
Merge branch 'develop' into toUpstream
friebi Sep 25, 2025
2e51aed
Merge remote-tracking branch 'origin/main' into develop
friebi Oct 2, 2025
e595c07
Merge branch 'develop' into toUpstream
friebi Oct 2, 2025
d7fe349
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 2, 2025
b947e7e
Merge branch 'develop' into toUpstream
friebi Nov 2, 2025
bb260b8
Merge remote-tracking branch 'origin/main' into develop
friebi Nov 27, 2025
32066dc
Merge branch 'develop' into toUpstream
friebi Nov 27, 2025
a8144a8
Merge remote-tracking branch 'origin/main' into develop
friebi Dec 21, 2025
8e469e2
Merge branch 'develop' into toUpstream
friebi Dec 21, 2025
2cb079b
Merge remote-tracking branch 'origin/main' into develop
friebi Dec 23, 2025
e8b775d
Merge branch 'develop' into toUpstream
friebi Dec 23, 2025
f7d4681
Merge remote-tracking branch 'origin/main' into develop
friebi Dec 24, 2025
9038c9f
Merge branch 'develop' into toUpstream
friebi Dec 24, 2025
50281c8
Merge remote-tracking branch 'origin/main' into develop
friebi Dec 27, 2025
ad8c5e8
Merge branch 'develop' into toUpstream
friebi Dec 27, 2025
e2cd654
Merge remote-tracking branch 'origin/main' into develop
friebi Dec 29, 2025
f691db4
Merge branch 'develop' into toUpstream
friebi Dec 29, 2025
a38a906
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 10, 2026
d69828a
Merge branch 'develop' into toUpstream
friebi Jan 10, 2026
142a570
use latest checkout
friebi Jan 10, 2026
8b3a5cd
Merge branch 'develop' into toUpstream
friebi Jan 10, 2026
e3a7aa4
Merge remote-tracking branch 'origin/main' into develop
friebi Jan 13, 2026
bf51ff6
Merge branch 'develop' into toUpstream
friebi Jan 13, 2026
55f8acc
Merge remote-tracking branch 'origin/main' into develop
friebi Feb 14, 2026
48147d4
Merge branch 'develop' into toUpstream
friebi Feb 14, 2026
66b01b5
Merge remote-tracking branch 'origin/main' into develop
friebi Feb 15, 2026
e59bdca
Merge branch 'develop' into toUpstream
friebi Feb 15, 2026
6567323
Merge remote-tracking branch 'origin/main' into develop
friebi Feb 28, 2026
98b2522
Merge branch 'develop' into toUpstream
friebi Feb 28, 2026
0717c63
Merge remote-tracking branch 'origin/main' into develop
friebi Mar 7, 2026
54a6245
Merge branch 'develop' into toUpstream
friebi Mar 7, 2026
6e6a3dd
Merge remote-tracking branch 'origin/main' into develop
friebi Mar 8, 2026
68ae6a3
Merge branch 'develop' into toUpstream
friebi Mar 8, 2026
3aca844
Merge tag '4.2.4' into develop
friebi May 5, 2026
49e12dc
Merge branch 'develop' into toUpstream
friebi May 5, 2026
ed70f85
v4.2.4
friebi May 5, 2026
969d689
Revert "v4.2.4"
friebi May 5, 2026
bdd79e7
Merge remote-tracking branch 'origin/main' into develop
friebi May 8, 2026
4f4d4fa
Merge branch 'develop' into toUpstream
friebi May 8, 2026
0066f5a
more splitti --> friebi
friebi May 8, 2026
3b76944
Merge branch 'develop' into toUpstream
friebi May 8, 2026
a49c26e
Revert "more splitti --> friebi"
friebi May 8, 2026
9693e14
Add MupiHAT documentation to not have to search it all over the place
friebi May 17, 2026
a725a88
Merge branch 'develop' into toUpstream
friebi May 17, 2026
544416a
Revert "Add MupiHAT documentation to not have to search it all over t…
friebi May 17, 2026
81df8e5
Adapt to changed CLI of libgpiod
friebi May 17, 2026
c35e855
Merge branch 'develop' into toUpstream
friebi May 17, 2026
7de3cbb
Make it work with Debian Trixie
friebi May 17, 2026
d0fac7c
Merge branch 'develop' into toUpstream
friebi May 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions AdminInterface/www/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function write_json($data)
$change=3;
$CHANGE_TXT=$CHANGE_TXT."<li>Spotify Services are restarted</li>";
}

if( $_POST['spotify_restart'] )
{
$command = "sudo /usr/local/bin/mupibox/./spotify_restartspotify_restart.sh";
Expand Down Expand Up @@ -323,7 +323,7 @@ function write_json($data)
</details>

<details id="backuprestore">
<summary><i class="fa-solid fa-download"></i> Backup and restore settings</summary>
<summary><i class="fa-solid fa-download"></i> Backup and restore settings</summary>
<ul>
<li class="li_norm"><h2>Backup MuPiBox-settings</h2>
<p>Backup MuPiBox-Data (cover, mupiboxconfig.json and data.json):</p>
Expand Down Expand Up @@ -360,7 +360,7 @@ function write_json($data)
<li class="li_norm"><h2>IP Control Backend</h2>
<p>In some cases, the MuPiBox cannot communicate correctly via hostname. Try to activate this point, to set the communication to IP.</p>
<p>
<?php
<?php
if( $data["mupibox"]["ip_control_backend"] )
{
$ip_control_backend_state="enabled";
Expand All @@ -369,12 +369,12 @@ function write_json($data)
else
{
$ip_control_backend_state="disabled";
$change_ip_control="enable";
$change_ip_control="enable";
}

echo "IP Control Backend: <b>".$ip_control_backend_state."</b>";
?></p>
<input id="saveForm" class="button_text" type="submit" name="ip_control_backend" value="<?php print $change_ip_control; ?>" />
<input id="saveForm" class="button_text" type="submit" name="ip_control_backend" value="<?php print $change_ip_control; ?>" />
</li>
<li class="li_norm"><h2>Restart MuPiBox kiosk</h2>
<p>Restart chromium browser. </p>
Expand Down Expand Up @@ -490,8 +490,8 @@ function write_json($data)

</li>
</ul>
</details>
</details>

<details id="resetconfiguration">
<summary><i class="far fa-file-alt"></i> Reset configuration</summary>
<ul>
Expand Down
42 changes: 19 additions & 23 deletions AdminInterface/www/network.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
exec($command, $output, $result );

$change=1;
if (file_exists("/tmp/driver-install.txt"))
if (file_exists("/tmp/driver-install.txt"))
{
$CHANGE_TXT=$CHANGE_TXT."<li>Kernel-headers not installed. Please check correct arm_64bit-setting in /boot/config.txt (in V7, the setting must be 0).</li>";
}
Expand All @@ -47,7 +47,7 @@
exec("sudo systemctl disable mupi_vnc.service");
exec("sudo systemctl disable mupi_novnc.service");
exec("sudo apt-get remove x11vnc websockify -y");
exec("sudo pkill websockify");
exec("sudo pkill websockify");
exec("sudo rm -R /usr/share/novnc");
exec("sudo su - -c \"/usr/bin/cat <<< $(/usr/bin/jq --arg v \"0\" '.tweaks.vnc = $v' /etc/mupibox/mupiboxconfig.json) > /etc/mupibox/mupiboxconfig.json\"");
$change=1;
Expand All @@ -61,7 +61,7 @@
exec("sudo systemctl enable mupi_vnc.service");
exec("sudo systemctl enable mupi_novnc.service");
exec("sudo systemctl start mupi_vnc.service");
exec("sudo systemctl start mupi_novnc.service");
exec("sudo systemctl start mupi_novnc.service");
exec("sudo su - -c \"/usr/bin/cat <<< $(/usr/bin/jq --arg v \"1\" '.tweaks.vnc = $v' /etc/mupibox/mupiboxconfig.json) > /etc/mupibox/mupiboxconfig.json\"");
$change=1;
$CHANGE_TXT=$CHANGE_TXT."<li>VNC-Services enabled and started</li>";
Expand All @@ -81,7 +81,7 @@
$change=1;
$CHANGE_TXT=$CHANGE_TXT."<li>DHCP-Timeout set to default</li>";
}

if( $_POST['change_samba'] == "enable & start" )
{
$command = "sudo apt-get install samba wsdd -y && sudo wget https://raw.githubusercontent.com/splitti/MuPiBox/main/config/templates/smb.conf -O /etc/samba/smb.conf && sudo systemctl enable smbd.service && sudo systemctl start smbd.service && (echo 'mupibox'; echo 'mupibox') | sudo smbpasswd -s -a 'dietpi'";
Expand Down Expand Up @@ -306,7 +306,7 @@
<tr><td>Bitrate:</td><td><?php print $BITRATE ?></td></tr>
</table>
</li></ul></details>

<details id="deletewifi">
<summary><i class="fa-regular fa-trash-can"></i> Delete Wifi-Network</summary>

Expand All @@ -327,11 +327,11 @@
{
$connection=" [connected]";
}
else
else
{
$connection="";
}

echo "<input type=\"radio\" id=\"".$wifidetails[0]."\" name=\"wifinr\" value=\"".$wifidetails[0]."\"> ";
echo "<label for=\"".$wifidetails[0]."\"> ".$wifidetails[1].$connection."</label></input><br/>";
}
Expand All @@ -344,9 +344,7 @@
</li>
</ul>
</details>




<details id="addwifi">
<summary><i class="fa-solid fa-tower-broadcast"></i> Add Wifi-Network</summary>
<ul>
Expand All @@ -356,21 +354,21 @@

<?php
if ( $wifi_networks )
{
{
?>
<li class="li_1">
<h2>SSID-Name</h2>

<div><select id="wifi_name" name="wifi_name" class="element text small">

<?php
foreach($wifi_cleaned as $wifiname) {
print "<option value=\"". $wifiname . "\">" . $wifiname . "</option>";
}
?>
"</select></li>

<?php
<?php
}
else
{
Expand All @@ -393,7 +391,6 @@
</ul>
</details>


<details id="miscwifioptions">
<summary><i class="fa-solid fa-toggle-off"></i> Misc Options</summary>

Expand Down Expand Up @@ -467,12 +464,12 @@
</li>
<li class="li_1"><h2>Install RTL88X2BU-Drivers</h2>
<p>
These drivers are for several network cards like these:
These drivers are for several network cards like these:
<ul style="list-style-type:'• '; margin-left:20px;"><li> <a href="https://amzn.to/3vj2Ubn" target="_blank">Referal link to Amazon.com (US)</a></li>
<li><a href="https://amzn.to/3U4ID3Z" target="_blank">Referal link to Amazon.de (GER)</a></li></ul>
</p>
<p>

<?php
$path="/home/dietpi/.driver/network/88x2bu-20210702";
if($path !== false AND is_dir($path))
Expand All @@ -491,7 +488,6 @@
<input id="saveForm" class="button_text" type="submit" name="RTL88X2BU" value="<?php print $change_rtl88x2bu; ?>" />
</li>


</ul>
</details>

Expand All @@ -501,7 +497,7 @@
<li class="li_1"><h2>DietPi-WiFi-Monitor</h2>
<p>Automatic reconnection to wifi, if signal is lost.</p>
<p>
<?php
<?php
echo "DietPi-WiFi-Monitor Status: <b>".$wifi_monitor_state."</b>";
?>
</p>
Expand All @@ -510,7 +506,7 @@
<li class="li_1"><h2>Check for best wifi connection</h2>
<p>Checks the WiFi SSIDs in the area every 10 seconds and connects to the strongest SSID if this is stored in the configuration. May cause connection dropouts, but allows for quick switching in a multi-Wifi environment.</p>
<p>
<?php
<?php
echo "Autoconnect-wifi: <b>".$wifi_autoconnect_state."</b>";
?>
</p>
Expand All @@ -521,15 +517,15 @@
<p>Disabling this service will result in faster boot time.</p>
<p>New: The package wsdd (Web-Service-Discovery-Daemon) will be also installed. </p>
<p>
<?php
<?php
echo "Samba-Service Status: <b>".$samba_state."</b>";
?>
</p>
<input id="saveForm" class="button_text" type="submit" name="change_samba" value="<?php print $change_samba; ?>" />
</li>
<li class="li_1"><h2>FTP-Server</h2>
<p>
<?php
<?php
echo "FTP-Service Status: <b>".$ftp_state."</b>";
?>
</p>
Expand All @@ -540,7 +536,7 @@
Enables or disables VNC-Service! The service allows remote access to the browser (Display). Usage recommended for Pi version 3 and up. Usually doesn't work with onboard WiFi.
</p>
<p>
<?php
<?php
echo "VNC-Service Status: <b>".$vnc_state."</b>";
?>
</p>
Expand All @@ -551,5 +547,5 @@
</form>

<?php
include ('includes/footer.php');
include ('includes/footer.php');
?>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Discord](https://img.shields.io/discord/879874342203306005?logo=Discord&link=https%3A%2F%2Fdiscord.gg%2F4EjCgpCbbe)](https://discord.gg/4EjCgpCbbe) [![Static Badge](https://img.shields.io/badge/Website-Website?logo=Google%20Chrome&logoColor=%23ffffff&labelColor=%234285F4&color=%234285F4&link=https%3A%2F%2Fmupibox.de)](https://mupibox.de) [![Static Badge](https://img.shields.io/badge/Youtube-Youtube?logo=youtube&labelColor=red&color=red&link=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCiqTXPBQLYgTB4uPBKzLENA)](https://www.youtube.com/channel/UCiqTXPBQLYgTB4uPBKzLENA) [![Static Badge](https://img.shields.io/badge/Facebook-Facebook?logo=facebook&labelColor=blue&color=blue&link=https%3A%2F%2Fwww.facebook.com%2Fmupibox)](https://www.facebook.com/mupibox) [![Static Badge](https://img.shields.io/badge/Paypal-Donate?logo=Paypal&label=Donate&link=https%3A%2F%2Fpaypal.me%2FDonateMuPiBox)](https://paypal.me/DonateMuPiBox)

MuPiBox is an easy to use music player, controlled via touch display. You can use local music, Spotify and streams.
![MuPiBox](media/images/splash.png "MuPiBox")
![MuPiBox](media/images/splash.png "MuPiBox")
## Website & Support
For more information:
- visit https://mupibox.de
Expand Down
4 changes: 2 additions & 2 deletions autosetup/autosetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ rm -Rf /home/dietpi/mupibox.zip /home/dietpi/MuPiBox-* >&3 2>&3
before=$(date +%s)
rm -f /usr/bin/jq >&3 2>&3
if [ "$(getconf LONG_BIT)" = "32" ]; then
wget -q -O /usr/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-armhf >&3 2>&3
wget -q -O /usr/bin/jq https://github.com/jqlang/jq/releases/latest/download/jq-linux-armhf >&3 2>&3
else
wget -q -O /usr/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-arm64 >&3 2>&3
wget -q -O /usr/bin/jq https://github.com/jqlang/jq/releases/latest/download/jq-linux-arm64 >&3 2>&3
fi
chmod 755 /usr/bin/jq >&3 2>&3
after=$(date +%s)
Expand Down
2 changes: 1 addition & 1 deletion autosetup/autostart.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

echo "echo '' && echo '' && echo 'Please wait, MuPiBox-Installer starts soon...' && sleep 10" >> /home/dietpi/.bashrc
echo "cd; curl -L https://raw.githubusercontent.com/splitti/MuPiBox/main/autosetup/autosetup.sh | sudo bash" >> /home/dietpi/.bashrc
echo "cd; curl -L https://raw.githubusercontent.com/splitti/MuPiBox/main/autosetup/autosetup.sh | bash" >> /home/dietpi/.bashrc
reboot
2 changes: 1 addition & 1 deletion config/templates/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,4 @@ clear
# Failsafe: Never load this script in non-interactive shells, e.g. SFTP, SCP or rsync
[[ -t 0 && $- == *'i'* ]] || return 0

mupi-info
mupi-info
21 changes: 7 additions & 14 deletions config/templates/crontab.template
Original file line number Diff line number Diff line change
@@ -1,31 +1,24 @@
# Edit this file to introduce tasks to be run by cron.
#
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').
#
#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
#
# For more information see the manual pages of crontab(5) and cron(8)
#
#
# m h dom mon dow command
#@reboot /usr/local/bin/mupibox/./get_network.sh
#@reboot sleep 30; /usr/local/bin/mupibox/./get_network.sh
* * * * * /usr/local/bin/mupibox/./save_rrd.sh
* * * * * sleep 15; /usr/local/bin/mupibox/./save_rrd.sh
* * * * * sleep 30; /usr/local/bin/mupibox/./save_rrd.sh
* * * * * sleep 45; /usr/local/bin/mupibox/./save_rrd.sh
* * * * * /usr/local/bin/mupibox/./get_network.sh
* * * * * sleep 30; /usr/local/bin/mupibox/./get_network.sh
19 changes: 0 additions & 19 deletions config/templates/smb.conf

This file was deleted.

12 changes: 6 additions & 6 deletions scripts/OnOffShim/off_trigger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ if [ -z "$GPIO_CHIP" ]; then
echo "$(date) - ERROR: No GPIO chip found, aborting." >> ${LOGFILE}
exit 1
else
echo "$(date) - INFO: GPIO chip found -> ${GPIO_CHIP}" >> ${LOGFILE}
echo "$(date) - INFO: GPIO chip found -> ${GPIO_CHIP}" >> ${LOGFILE}
fi

# Check GPIO status
gpio_status=$(sudo gpioget ${GPIO_CHIP} ${TRIGGER_PIN})
gpio_status=$(pinctrl lev ${TRIGGER_PIN})
echo "$(date) - INFO: GPIO${TRIGGER_PIN} status: ${gpio_status}" >> ${LOGFILE}

check_button_pressed() {
local button_state=$(sudo gpioget ${GPIO_CHIP} ${TRIGGER_PIN})
local button_state=$(pinctrl lev ${TRIGGER_PIN})
if [ "$button_state" = "0" ]; then
return 0 # Button is pressed
else
Expand All @@ -48,7 +48,7 @@ check_button_pressed() {
# Main monitoring loop
while true; do
echo "$(date) - INFO: Waiting for button press..." >> ${LOGFILE}
sudo gpiomon --num-events=1 --falling-edge ${GPIO_CHIP} ${TRIGGER_PIN} &>> ${LOGFILE} &
gpiomon --chip ${GPIO_CHIP} --num-events=1 --edges falling ${TRIGGER_PIN} &>> ${LOGFILE} &
GPIOMON_PID=$!
if [ $? -ne 0 ]; then
echo "$(date) - ERROR: Failed to start gpiomon for GPIO${TRIGGER_PIN}" >> ${LOGFILE}
Expand All @@ -61,7 +61,7 @@ while true; do
wait $GPIOMON_PID
if [ $? -eq 0 ]; then
echo "$(date) - INFO: Button pressed, checking hold duration..." >> ${LOGFILE}

# Check if button is held for the required duration
button_held=true
for ((i=0; i<PRESS_DELAY; i++)); do
Expand All @@ -72,7 +72,7 @@ while true; do
fi
sleep 1
done

if [ "$button_held" = true ]; then
echo "$(date) - INFO: Button held for ${PRESS_DELAY} seconds, initiating shutdown" >> ${LOGFILE}

Expand Down
4 changes: 2 additions & 2 deletions scripts/OnOffShim/poweroff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ if [ "$1" = "poweroff" ]; then
echo "$(date): Initiating poweroff sequence"

# CUT_PIN setzen (z. B. Stromzufuhr abschalten)
gpioset gpiochip0 ${CUT_PIN}=1
pinctrl set ${CUT_PIN} op dh

# POWEROFF_PIN setzen (Signal an OnOff SHIM)
gpioset gpiochip0 ${POWEROFF_PIN}=0
pinctrl set ${POWEROFF_PIN} op dl

echo "$(date): Poweroff sequence complete"
fi
Loading