-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
61 changed files
with
1,803 additions
and
502 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,11 @@ | |
|
||
## Supported Versions | ||
|
||
| Version | Supported | | ||
| VERSION | SUPPORTED | | ||
| ------- | --------- | | ||
| Latest Release | :white_check_mark: | | ||
|
||
|
||
## Reporting a Vulnerability | ||
|
||
Please write a mail to: <[email protected]>. I will respond as fast as possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ cd "$STARTPATH" || exit 1 | |
umask 0022 | ||
|
||
#get myMPD version | ||
VERSION=$(grep CPACK_PACKAGE_VERSION_ CMakeLists.txt | cut -d\" -f2 | tr '\n' '.' | sed 's/\.$//') | ||
VERSION=$(grep " VERSION" CMakeLists.txt | sed 's/ VERSION //') | ||
COPYRIGHT="myMPD ${VERSION} | (c) 2018-2022 Juergen Mang <[email protected]> | SPDX-License-Identifier: GPL-3.0-or-later | https://github.com/jcorporation/mympd" | ||
|
||
#check for command | ||
|
@@ -286,7 +286,7 @@ createassets() { | |
} | ||
|
||
buildrelease() { | ||
echo "Compiling myMPD" | ||
echo "Compiling myMPD v${VERSION}" | ||
cmake -B release -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release . | ||
make -C release | ||
} | ||
|
@@ -356,7 +356,7 @@ copyassets() { | |
} | ||
|
||
builddebug() { | ||
echo "Compiling myMPD" | ||
echo "Compiling myMPD v${VERSION}" | ||
if [ "$ACTION" = "memcheck" ] | ||
then | ||
MYMPD_ENABLE_LIBASAN=ON | ||
|
@@ -723,7 +723,7 @@ pkgarch() { | |
then | ||
echo "Checking package with namcap" | ||
namcap PKGBUILD | ||
namcap mympd-*.pkg.tar.xz | ||
namcap "mympd-${VERSION}"*.pkg.tar.* | ||
else | ||
echo_warn "namcap not found, can't check package" | ||
fi | ||
|
@@ -796,7 +796,7 @@ installdeps() { | |
elif [ -f /etc/arch-release ] | ||
then | ||
#arch | ||
pacman -S gcc cmake perl openssl libid3tag flac lua pkgconf pcre2 gzip jq | ||
pacman -Sy gcc base-devel cmake perl openssl libid3tag flac lua pkgconf pcre2 gzip jq | ||
elif [ -f /etc/alpine-release ] | ||
then | ||
#alpine | ||
|
@@ -987,9 +987,9 @@ createi18n() { | |
#Update serviceworker | ||
TO_CACHE="" | ||
for CODE in $(jq -r "select(.missingPhrases < 100) | keys[]" "$STARTPATH/src/i18n/json/i18n.json" | grep -v "default") | ||
do | ||
TO_CACHE="${TO_CACHE}\nsubdir + '/assets/i18n/${CODE}.json'," | ||
done | ||
do | ||
TO_CACHE="${TO_CACHE}\nsubdir + '/assets/i18n/${CODE}.json'," | ||
done | ||
sed -e "s|__VERSION__|${VERSION}|g" -e "s|__I18NASSETS__|${TO_CACHE}|g" htdocs/sw.js.in > htdocs/sw.js | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,6 @@ start_stop_daemon_args="" | |
pidfile="/run/$name.pid" | ||
|
||
depend() { | ||
need net | ||
after firewall | ||
need net | ||
after firewall | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
.\" Manpage for mympd-script. | ||
.\" Contact <[email protected]> to correct errors or typos. | ||
.TH man 1 "06 Nov 2022" "10.1.0" "mympd-script man page" | ||
.TH man 1 "13 Nov 2022" "10.1.1" "mympd-script man page" | ||
|
||
.SH NAME | ||
mympd-script \- execute lua scripts through myMPD | ||
mympd-script | ||
|
||
.SH SYNOPSIS | ||
mympd [/path/to/mympd.conf] | ||
.SH DESCRIPTION | ||
myMPD is a standalone and lightweight web-based MPD client. | ||
mympd-script <uri> <partition> <scriptname> [arguments] | ||
|
||
mympd-script is a small commandline tool to submit scripts to myMPD. It reads the script from STDIN and submits it to myMPD for execution. Key=Value parameters can be used to fill the arguments table in the Lua script. | ||
.SH DESCRIPTION | ||
mympd-script is a small commandline tool to execute myMPD scripts. | ||
|
||
.SH OPTIONS | ||
Look at https://github.com/jcorporation/myMPD/wiki/Scripting | ||
.SH BUGS | ||
Look at https://github.com/jcorporation/myMPD/issues | ||
.TP | ||
\fBuri\fR | ||
myMPD listening uri, e.g. "https://localhost" | ||
.TP | ||
\fBpartition\fR | ||
MPD partition, e.g. "default" | ||
.TP | ||
\fBscriptname\fR | ||
script to execute, use "-" to read the script from stdin. | ||
.TP | ||
\fBarguments\fR | ||
optional space separated key=value pairs to fill the arguments table in the Lua script. | ||
|
||
.SH AUTHOR | ||
Juergen Mang ([email protected]) | ||
|
||
.SH BUGS | ||
If you find a bug, please report it at https://github.com/jcorporation/myMPD/issues | ||
|
||
.SH SEE ALSO | ||
https://github.com/jcorporation/myMPD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
.\" Manpage for mympd-script. | ||
.\" Contact <[email protected]> to correct errors or typos. | ||
.TH man 1 "__DATE_F3__" "__VERSION__" "mympd-script man page" | ||
|
||
.SH NAME | ||
mympd-script \- execute lua scripts through myMPD | ||
mympd-script | ||
|
||
.SH SYNOPSIS | ||
mympd [/path/to/mympd.conf] | ||
.SH DESCRIPTION | ||
myMPD is a standalone and lightweight web-based MPD client. | ||
mympd-script <uri> <partition> <scriptname> [arguments] | ||
|
||
mympd-script is a small commandline tool to submit scripts to myMPD. It reads the script from STDIN and submits it to myMPD for execution. Key=Value parameters can be used to fill the arguments table in the Lua script. | ||
.SH DESCRIPTION | ||
mympd-script is a small commandline tool to execute myMPD scripts. | ||
|
||
.SH OPTIONS | ||
Look at https://github.com/jcorporation/myMPD/wiki/Scripting | ||
.SH BUGS | ||
Look at https://github.com/jcorporation/myMPD/issues | ||
.TP | ||
\fBuri\fR | ||
myMPD listening uri, e.g. "https://localhost" | ||
.TP | ||
\fBpartition\fR | ||
MPD partition, e.g. "default" | ||
.TP | ||
\fBscriptname\fR | ||
script to execute, use "-" to read the script from stdin. | ||
.TP | ||
\fBarguments\fR | ||
optional space separated key=value pairs to fill the arguments table in the Lua script. | ||
|
||
.SH AUTHOR | ||
Juergen Mang ([email protected]) | ||
|
||
.SH BUGS | ||
If you find a bug, please report it at https://github.com/jcorporation/myMPD/issues | ||
|
||
.SH SEE ALSO | ||
https://github.com/jcorporation/myMPD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
.\" Manpage for mympd. | ||
.\" Contact <[email protected]> to correct errors or typos. | ||
.TH man 1 "06 Nov 2022" "10.1.0" "mympd man page" | ||
.TH man 1 "13 Nov 2022" "10.1.1" "mympd man page" | ||
|
||
.SH NAME | ||
myMPD \- standalone and mobile friendly web mpd client | ||
|
||
.SH SYNOPSIS | ||
mympd | ||
mympd [options] | ||
|
||
.SH DESCRIPTION | ||
myMPD is a standalone and lightweight web-based MPD client. It's tuned for minimal resource usage and requires only very few dependencies. Therefore myMPD is ideal for raspberry pis and similar devices. | ||
|
@@ -49,4 +49,8 @@ sets a pin for myMPD settings | |
.SH AUTHOR | ||
Juergen Mang ([email protected]) | ||
|
||
.SH BUGS | ||
If you find a bug, please report it at https://github.com/jcorporation/myMPD/issues | ||
|
||
.SH SEE ALSO | ||
https://github.com/jcorporation/myMPD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
myMPD \- standalone and mobile friendly web mpd client | ||
|
||
.SH SYNOPSIS | ||
mympd | ||
mympd [options] | ||
|
||
.SH DESCRIPTION | ||
myMPD is a standalone and lightweight web-based MPD client. It's tuned for minimal resource usage and requires only very few dependencies. Therefore myMPD is ideal for raspberry pis and similar devices. | ||
|
@@ -49,4 +49,8 @@ sets a pin for myMPD settings | |
.SH AUTHOR | ||
Juergen Mang ([email protected]) | ||
|
||
.SH BUGS | ||
If you find a bug, please report it at https://github.com/jcorporation/myMPD/issues | ||
|
||
.SH SEE ALSO | ||
https://github.com/jcorporation/myMPD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# Maintainer: Juergen Mang <[email protected]> | ||
# | ||
pkgname=mympd | ||
pkgver=10.1.0 | ||
pkgver=10.1.1 | ||
pkgrel=0 | ||
pkgdesc="myMPD is a standalone and mobile friendly web-based MPD client." | ||
url="https://jcorporation.github.io/myMPD/" | ||
|
@@ -22,10 +22,10 @@ options="!check" | |
#no test suite | ||
|
||
build() { | ||
cmake -B "$builddir/release" -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release -DMYMPD_MANPAGES=OFF -DMYMPD_STRIP_BINARY=OFF "$builddir" | ||
make -C "$builddir/release" | ||
cmake -B "$builddir/release" -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release -DMYMPD_MANPAGES=OFF -DMYMPD_STRIP_BINARY=OFF "$builddir" | ||
make -C "$builddir/release" | ||
} | ||
|
||
package() { | ||
make -C "$builddir/release" DESTDIR="$pkgdir" install | ||
make -C "$builddir/release" DESTDIR="$pkgdir" install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.