diff --git a/mpd/RADIO/KUVO HD2 - Jazz with Bob Parlocha.pls b/mpd/RADIO/KUVO HD2.pls
similarity index 71%
rename from mpd/RADIO/KUVO HD2 - Jazz with Bob Parlocha.pls
rename to mpd/RADIO/KUVO HD2.pls
index 688a31998..ef4d8b25a 100755
--- a/mpd/RADIO/KUVO HD2 - Jazz with Bob Parlocha.pls
+++ b/mpd/RADIO/KUVO HD2.pls
@@ -1,6 +1,6 @@
[playlist]
numberofentries=1
File1=http://kuvo-ice.streamguys.org/kuvohd2-aac-128
-Title1=KUVO HD2 - Jazz with Bob Parlocha
+Title1=KUVO HD2
Length1=-1
version=2
diff --git a/other/build/build_recipe_v2.8.txt b/other/build/build_recipe_v2.8.txt
index cf2bb23b0..ff8b046cd 100644
--- a/other/build/build_recipe_v2.8.txt
+++ b/other/build/build_recipe_v2.8.txt
@@ -1,8 +1,8 @@
################################################################
#
-# Build Recipe v2.8, 2019-04-12
+# Build Recipe v2.8, 2019-05-07
#
-# moOde 5.0 2019-04-12
+# moOde 5.2 2019-05-07
#
# These instructions are written for Linux Enthusiasts
# and System Integrators and provide a recipe for making
@@ -148,8 +148,8 @@ sudo timedatectl set-timezone "America/Detroit"
//
cd ~
-wget http://moodeaudio.org/downloads/prod/rel-stretch-r50.zip
-sudo unzip ./rel-stretch-r50.zip
+wget http://moodeaudio.org/downloads/prod/rel-stretch-r52.zip
+sudo unzip ./rel-stretch-r52.zip
5. Expand the root partition to 3GB.
@@ -198,13 +198,12 @@ samba smbclient udisks-glue ntfs-3g exfat-fuse git inotify-tools libav-tools ava
python3-setuptools libmediainfo0v5 libmms0 libtinyxml2-4 libzen0v5 libmediainfo-dev libzen-dev
# meson
-sudo cp ./rel-stretch/other/mpd/build-tools/meson-0.48.1.tar.gz ./
-sudo tar xfz meson-0.48.1.tar.gz
-cd meson-0.48.1
+sudo cp ./rel-stretch/other/mpd/build-tools/meson-0.50.1.tar.gz ./
+sudo tar xfz meson-0.50.1.tar.gz
+cd meson-0.50.1
sudo python3 setup.py install
cd ~
-sudo rm -rf meson-0.48.1
-sudo rm -f meson-0.48.1.tar.gz
+sudo rm -rf meson-0.50.1*
# mediainfo
sudo cp ./rel-stretch/other/mediainfo/mediainfo-18.12 /usr/local/bin/mediainfo
@@ -240,7 +239,7 @@ sudo autoreconf --install
sudo ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-library
sudo make
sudo make install
-cd ~
+cd ..
sudo rm -rf ./bluez-5.50*
# Delete symlink and bin for old bluetoothd
@@ -261,7 +260,7 @@ cd build
sudo ../configure --disable-hcitop --with-alsaplugindir=/usr/lib/arm-linux-gnueabihf/alsa-lib
sudo make
sudo make install
-cd ~
+cd ../..
sudo rm -rf bluez-alsa-master*
3. Services are started by moOde Worker so lets disable them here.
@@ -345,15 +344,15 @@ libboost-dev \
libicu-dev \
libglib2.0-dev
-3. Download MPD 0.20.20 sources and prep for compile.
+3. Download MPD 0.20.23 sources and prep for compile.
# Optionally install pre-compiled binary and skip to STEP 7
-sudo cp ./rel-stretch/other/mpd/mpd-0.20.20 /usr/local/bin/mpd
+sudo cp ./rel-stretch/other/mpd/mpd-0.20.23 /usr/local/bin/mpd
sudo reboot
-sudo wget http://www.musicpd.org/download/mpd/0.20/mpd-0.20.20.tar.xz
-sudo tar xf mpd-0.20.20.tar.xz
-cd mpd-0.20.20
+sudo wget http://www.musicpd.org/download/mpd/0.20/mpd-0.20.23.tar.xz
+sudo tar xf mpd-0.20.23.tar.xz
+cd mpd-0.20.23
sudo sh autogen.sh
4. Configure compile options.
@@ -376,7 +375,7 @@ sudo make
sudo make install
sudo strip --strip-unneeded /usr/local/bin/mpd
cd ~
-sudo rm -rf ./mpd-0.20.20*
+sudo rm -rf ./mpd-0.20.23*
sudo apt-get clean
sudo apt-get -y autoremove
@@ -426,15 +425,15 @@ libboost-dev \
libicu-dev \
libglib2.0-dev
-3. Download MPD 0.21.6 sources and prep for compile.
+3. Download MPD 0.21.8 sources and prep for compile.
# Optionally install pre-compiled binary and skip to STEP 7
-sudo cp ./rel-stretch/other/mpd/mpd-0.21.6 /usr/local/bin/mpd
+sudo cp ./rel-stretch/other/mpd/mpd-0.21.8 /usr/local/bin/mpd
sudo reboot
-sudo wget http://www.musicpd.org/download/mpd/0.21/mpd-0.21.6.tar.xz
-sudo tar xf mpd-0.21.6.tar.xz
-cd mpd-0.21.6
+sudo wget http://www.musicpd.org/download/mpd/0.21/mpd-0.21.8.tar.xz
+sudo tar xf mpd-0.21.8.tar.xz
+cd mpd-0.21.8
sudo meson . output/release --buildtype=release -Db_ndebug=true
4. Configure compile options.
@@ -490,7 +489,7 @@ output/release
sudo ninja -C output/release
sudo ninja -C output/release install
cd ~
-sudo rm -rf ./mpd-0.21.6*
+sudo rm -rf ./mpd-0.21.8*
sudo apt-get clean
sudo apt-get -y autoremove
@@ -582,6 +581,7 @@ sudo chmod 0755 /home/pi/*.sh
sudo chmod 0755 /home/pi/*.php
sudo chmod 0755 /var/www/command/*
+sudo sqlite3 /var/local/www/db/moode-sqlite3.db "CREATE TRIGGER ro_columns BEFORE UPDATE OF param, value, [action] ON cfg_hash FOR EACH ROW BEGIN SELECT RAISE(ABORT, 'read only'); END;"
sudo sqlite3 /var/local/www/db/moode-sqlite3.db "update cfg_system set value='Emerald' where param='accent_color'"
3. Permissions for service files
@@ -619,10 +619,11 @@ sudo systemctl disable squeezelite
sudo chmod 0644 /lib/systemd/system/upmpdcli.service
sudo systemctl disable upmpdcli.service
-5. Reset dir permissions for var local
+5. Reset permissions for var and usr local
sudo chmod -R 0755 /var/local/www
sudo chmod -R 0777 /var/local/www/db
sudo chmod -R ug-s /var/local/www
+sudo chmod -R 0755 /usr/local/bin
6. Initial permissions for certain files. These also get set during moOde Worker startup.
@@ -678,12 +679,16 @@ sudo reboot
//
////////////////////////////////////////////////////////////////
-
+# kernel ver 4.19.40
+echo "y" | sudo PRUNE_MODULES=1 rpi-update 6cb1da772a8c56f44591bec904046b15f1126949
# kernel ver 4.19.34
echo "y" | sudo PRUNE_MODULES=1 rpi-update 99c274691c07480762dcda91a0ebfe3c4f519307
# Fix for missing 4.19.y regulatory.db files
sudo cp ./rel-stretch/other/firmware/regulatory.db* /lib/firmware
+# kernel ver 4.14.98
+echo "y" | sudo PRUNE_MODULES=1 rpi-update a08ece3d48c3c40bf1b501772af9933249c11c5b
+
# cleanup
sudo rm -rf /lib/modules.bak
sudo rm -rf /boot.bak
@@ -818,9 +823,10 @@ sudo chmod 0755 /usr/local/etc/mpdasrc
sudo apt-get -y install autoconf libtool libdaemon-dev libasound2-dev libpopt-dev libconfig-dev \
avahi-daemon libavahi-client-dev libssl-dev libsoxr-dev
-sudo cp ./rel-stretch/other/shairport-sync/shairport-sync-3.3.0-rc2-ff9c613.zip ./
-sudo unzip ./shairport-sync-3.3.0-rc2-ff9c613.zip
-cd ./shairport-sync-3.3RC2
+sudo cp ./rel-stretch/other/shairport-sync/shairport-sync-3.3.0-rc6-0c65236.zip ./
+sudo unzip ./shairport-sync-3.3.0-rc6-0c65236.zip
+cd ./shairport-sync-0c6523636cd8cef950a33381621f2cbe9b7dd4de
+
sudo autoreconf -i -f
sudo ./configure --with-alsa --with-avahi --with-ssl=openssl --with-soxr --with-metadata --with-stdout --with-systemd --with-dbus-interface --sysconfdir=/etc
@@ -1003,7 +1009,7 @@ d. Optionally, enter url chrome://extensions and install the xontab virtual keyb
cd ~
wget https://github.com/allocom/piano-firmware/archive/master.zip
-sudo unzip master.zip
+sudo unzip -q master.zip
sudo rm ./master.zip
sudo cp -r ./piano-firmware-master/lib/firmware/allo /lib/firmware
sudo rm -rf ./piano-firmware-master
diff --git a/other/librespot/librespot-daeeeaa-armv61 b/other/librespot/librespot-daeeeaa-armv6l
similarity index 100%
rename from other/librespot/librespot-daeeeaa-armv61
rename to other/librespot/librespot-daeeeaa-armv6l
diff --git a/other/mpd/build-tools/meson-0.48.1.tar.gz b/other/mpd/build-tools/meson-0.48.1.tar.gz
deleted file mode 100644
index 1be7cd57f..000000000
Binary files a/other/mpd/build-tools/meson-0.48.1.tar.gz and /dev/null differ
diff --git a/other/mpd/build-tools/meson-0.50.1.tar.gz b/other/mpd/build-tools/meson-0.50.1.tar.gz
new file mode 100644
index 000000000..f6ee8bd23
Binary files /dev/null and b/other/mpd/build-tools/meson-0.50.1.tar.gz differ
diff --git a/other/mpd/mpd-0.20.20 b/other/mpd/mpd-0.20.20
deleted file mode 100755
index bf2c5bb56..000000000
Binary files a/other/mpd/mpd-0.20.20 and /dev/null differ
diff --git a/other/mpd/mpd-0.20.20.tar.xz b/other/mpd/mpd-0.20.20.tar.xz
deleted file mode 100644
index 1a841ce92..000000000
Binary files a/other/mpd/mpd-0.20.20.tar.xz and /dev/null differ
diff --git a/other/mpd/mpd-0.20.23 b/other/mpd/mpd-0.20.23
new file mode 100755
index 000000000..d54feba00
Binary files /dev/null and b/other/mpd/mpd-0.20.23 differ
diff --git a/other/mpd/mpd-0.20.23.tar.xz b/other/mpd/mpd-0.20.23.tar.xz
new file mode 100644
index 000000000..2189bf6da
Binary files /dev/null and b/other/mpd/mpd-0.20.23.tar.xz differ
diff --git a/other/mpd/mpd-0.21.6 b/other/mpd/mpd-0.21.6
deleted file mode 100755
index 199d33b86..000000000
Binary files a/other/mpd/mpd-0.21.6 and /dev/null differ
diff --git a/other/mpd/mpd-0.21.6.tar.xz b/other/mpd/mpd-0.21.6.tar.xz
deleted file mode 100644
index 1eb7ef0e2..000000000
Binary files a/other/mpd/mpd-0.21.6.tar.xz and /dev/null differ
diff --git a/other/mpd/mpd-0.21.8 b/other/mpd/mpd-0.21.8
new file mode 100755
index 000000000..c76f9d927
Binary files /dev/null and b/other/mpd/mpd-0.21.8 differ
diff --git a/other/mpd/mpd-0.21.8.tar.xz b/other/mpd/mpd-0.21.8.tar.xz
new file mode 100644
index 000000000..565ad84c3
Binary files /dev/null and b/other/mpd/mpd-0.21.8.tar.xz differ
diff --git a/other/shairport-sync/shairport-sync-3.3.0-rc2-ff9c613 b/other/shairport-sync/shairport-sync-3.3.0-rc2-ff9c613
deleted file mode 100755
index b97832427..000000000
Binary files a/other/shairport-sync/shairport-sync-3.3.0-rc2-ff9c613 and /dev/null differ
diff --git a/other/shairport-sync/shairport-sync-3.3.0-rc2-ff9c613.zip b/other/shairport-sync/shairport-sync-3.3.0-rc2-ff9c613.zip
deleted file mode 100644
index 5cfd46ec6..000000000
Binary files a/other/shairport-sync/shairport-sync-3.3.0-rc2-ff9c613.zip and /dev/null differ
diff --git a/other/shairport-sync/shairport-sync-3.3.0-rc6-0c65236 b/other/shairport-sync/shairport-sync-3.3.0-rc6-0c65236
new file mode 100755
index 000000000..30237b8ce
Binary files /dev/null and b/other/shairport-sync/shairport-sync-3.3.0-rc6-0c65236 differ
diff --git a/other/shairport-sync/shairport-sync-3.3.0-rc6-0c65236.zip b/other/shairport-sync/shairport-sync-3.3.0-rc6-0c65236.zip
new file mode 100644
index 000000000..60ac0ef87
Binary files /dev/null and b/other/shairport-sync/shairport-sync-3.3.0-rc6-0c65236.zip differ
diff --git a/usr/local/bin/moodeutl.php b/usr/local/bin/moodeutl
similarity index 98%
rename from usr/local/bin/moodeutl.php
rename to usr/local/bin/moodeutl
index 989950f94..bb8b0e2b5 100644
--- a/usr/local/bin/moodeutl.php
+++ b/usr/local/bin/moodeutl
@@ -17,11 +17,11 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
-define('VERSION', '1.0');
+define('VERSION', '1.1');
$option = isset($argv[1]) ? $argv[1] : '';
diff --git a/var/local/www/db/moode-sqlite3.db.default b/var/local/www/db/moode-sqlite3.db.default
index 4d195075d..e5a5c5799 100755
Binary files a/var/local/www/db/moode-sqlite3.db.default and b/var/local/www/db/moode-sqlite3.db.default differ
diff --git a/var/local/www/db/moode-sqlite3.db.schema b/var/local/www/db/moode-sqlite3.db.schema
index 63ee868e5..69d6285db 100755
--- a/var/local/www/db/moode-sqlite3.db.schema
+++ b/var/local/www/db/moode-sqlite3.db.schema
@@ -12,5 +12,6 @@ CREATE TABLE cfg_hash (id INTEGER PRIMARY KEY, param CHAR (64), value CHAR (64),
CREATE TABLE cfg_mpd (id INTEGER PRIMARY KEY, param CHAR (32), value CHAR (32));
CREATE TABLE cfg_radio (id INTEGER PRIMARY KEY, station CHAR (128), name CHAR (128), type CHAR (8), logo CHAR (128));
CREATE TABLE cfg_gpio (id INTEGER PRIMARY KEY, pin CHAR (2), enabled CHAR (1), command CHAR (64), param CHAR (32), value CHAR (32));
-CREATE UNIQUE INDEX IndexName ON cfg_source (name);
CREATE TABLE cfg_audiodev (id INTEGER PRIMARY KEY, name CHAR (64), dacchip CHAR (64), chipoptions CHAR (64), iface CHAR (32), list CHAR (10), driver CHAR (64), drvoptions CHAR (64));
+CREATE UNIQUE INDEX IndexName ON cfg_source (name);
+CREATE TRIGGER ro_columns BEFORE UPDATE OF param, value, [action] ON cfg_hash FOR EACH ROW BEGIN SELECT RAISE(ABORT, 'read only'); END;
diff --git a/var/local/www/header.php b/var/local/www/header.php
index 70a5d1680..cf8902ffa 100644
--- a/var/local/www/header.php
+++ b/var/local/www/header.php
@@ -19,7 +19,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
-->
diff --git a/www/apl-config.php b/www/apl-config.php
index 51ff0990f..1aa957666 100755
--- a/www/apl-config.php
+++ b/www/apl-config.php
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
diff --git a/www/blu-config.php b/www/blu-config.php
index b0c15ac3e..2d5b4a6f9 100755
--- a/www/blu-config.php
+++ b/www/blu-config.php
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
diff --git a/www/chp-config.php b/www/chp-config.php
index 7a41d209b..54508e573 100755
--- a/www/chp-config.php
+++ b/www/chp-config.php
@@ -16,7 +16,7 @@
* Refer to the link below for a copy of the GNU General Public License.
* http://www.gnu.org/licenses/
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
diff --git a/www/command/moode.php b/www/command/moode.php
index 645a8c120..fc5c865b5 100755
--- a/www/command/moode.php
+++ b/www/command/moode.php
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
@@ -403,19 +403,19 @@
if ($_GET['cmd'] == 'newstation') {
// cant have same name as existing station
- $result = sdbquery("SELECT id FROM cfg_radio WHERE name='" . $station_name . "'", $dbh);
+ $result = sdbquery("SELECT id FROM cfg_radio WHERE name='" . SQLite3::escapeString($station_name) . "'", $dbh);
// true = query successful but no results, array = results, false = query bombed (not likely)
if ($result === true) {
// add new row to sql table
- $values = "'" . $_POST['url'] . "'," . "'" . $station_name . "','u','local'";
+ $values = "'" . $_POST['url'] . "'," . "'" . SQLite3::escapeString($station_name) . "','u','local'";
$result = sdbquery('INSERT INTO cfg_radio VALUES (NULL,' . $values . ')', $dbh); // NULL causes the Id column to be set to the next number
}
}
else {
// if name changed then its same as an add and we have to check the name doesnt already exist
// if only the url changed then we update
- $result = cfgdb_update('cfg_radio', $dbh, $station_name, $_POST['url']);
+ $result = cfgdb_update('cfg_radio', $dbh, SQLite3::escapeString($station_name), $_POST['url']);
}
// add session var
@@ -454,7 +454,7 @@
workerLog($_GET['cmd'] . ', ' . $station_name);
// remove row and delete file
- $result = sdbquery("DELETE FROM cfg_radio WHERE name='" . $station_name . "'", $dbh);
+ $result = sdbquery("DELETE FROM cfg_radio WHERE name='" . SQLite3::escapeString($station_name) . "'", $dbh);
sysCmd('rm "' . MPD_MUSICROOT . $_POST['path'] . '"');
sysCmd('rm "' . '/var/www/images/radio-logos/' . $station_name . '.jpg' . '"');
sysCmd('rm "' . '/var/www/images/radio-logos/thumbs/' . $station_name . '.jpg' . '"');
diff --git a/www/command/worker.php b/www/command/worker.php
index 983db9264..bce57b299 100755
--- a/www/command/worker.php
+++ b/www/command/worker.php
@@ -20,7 +20,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
@@ -134,13 +134,6 @@
$_SESSION['raspbianver'] = $result[0];
$_SESSION['moode_release'] = getMoodeRel();
-// exit if running an unsupported hdwrrev
-if (substr($_SESSION['hdwrrev'], 0, 6) == 'Pi-CM3') {
- workerLog('worker: Unsupported hardware platform (' . $_SESSION['hdwrrev'] . ')');
- workerLog('worker: Exited');
- exit;
-}
-
// log platform data
workerLog('worker: Rel (Moode ' . getMoodeRel('verbose') . ')'); // X.Y yyyy-mm-dd ex: 2.6 2016-06-07
workerLog('worker: Upd (' . $_SESSION['pkgdate'] . ')');
diff --git a/www/css/fontawesome-moode.css b/www/css/fontawesome-moode.css
index 433fdb6d6..ea2201864 100644
--- a/www/css/fontawesome-moode.css
+++ b/www/css/fontawesome-moode.css
@@ -2,7 +2,7 @@
* Font Awesome Pro 5.0.10 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-04-12 TC moOde 5.1
*
*/
.fa,
diff --git a/www/css/moode.css b/www/css/moode.css
index f56b67abf..e8bedf257 100644
--- a/www/css/moode.css
+++ b/www/css/moode.css
@@ -15,7 +15,7 @@
* Refer to the link below for a copy of the GNU General Public License.
* http://www.gnu.org/licenses/
*
- * 2019-04-12 TC moOde 4.5
+ * 2019-05-07 TC moOde 5.2
*
*/
@@ -190,7 +190,7 @@ li.modal-dropdown-text:focus {color:#eee;}
#timeline {display:block;}
#mobile-time {display:block;}
.btn btn-cmd btn-toggle {font-size:.75em;}
- img.coverart {width:50vh;height:auto;max-width:83vw;border:none;}
+ img.coverart {width:50vh;height:auto;max-width:90vw;max-height:90vw;border:none;}
img.libart {width:90%;}
.modal-sm2 {min-width:80%;}
.form-horizontal .controls {margin-left:0;}
@@ -208,7 +208,7 @@ li.modal-dropdown-text:focus {color:#eee;}
#menu-settings {font-size:1.65rem;padding:0 .5em;}
#menu-settings i {font-size:1rem;}
.playlist span {margin-left:calc(3.5rem + 1vmin);}
- .playlist {padding:0 0 8rem 0;}
+ .playlist {padding:0 0 8rem 0;min-height:33vh;}
.playlist li, .playlist .active {padding-left:.5em;}
.playlist li:before {font-size:unset;}
#lib-albumcover {left:0;}
@@ -376,13 +376,16 @@ li.modal-dropdown-text:focus {color:#eee;}
#index-radio ul li:nth-child(4n+0), #index-browse ul li:nth-child(4n+0), #index-albumcovers ul li:nth-child(4n+0) {display:block !important;}
}
-/* app stuff for Max */
+/* iPhone X */
+@media (width: 375px) and (height:812px) {
+ .playlist {padding:0 0 8rem 0;min-height:35vh;}
+}
+
+/* iPhone X Max */
@media (width: 414px) and (height:818px) {
#menu-top {padding-top:calc(env(safe-area-inset-top) - .5em);}
.viewswitch {top:calc(env(safe-area-inset-top) - .5em);}
.btnlist.btnlist-top.btnlist-top-pl, .btnlist.btnlist-top.btnlist-top-lib {top:calc(env(safe-area-inset-top) - .25em);}
- img.coverart {max-width:90vw;max-height:90vw;}
- .playlist {padding:0 0 11rem 0;}
#songsList {padding-bottom:calc(5.5em + env(safe-area-inset-bottom));}
.ui-pnotify {top: calc(env(safe-area-inset-top));right: calc(env(safe-area-inset-right) + 1em);}
#playbar-cover {margin-left:.5em;border-radius:.1em .1em .1em 50%;}
@@ -400,7 +403,6 @@ li.modal-dropdown-text:focus {color:#eee;}
.database-radiolist .db-entry, .database-radiolist .cover-menu {font-size:1.2em;}
}
-
@media (width: 896px) and (height:414px) {
.span5 {margin-left:calc(env(safe-area-inset-left) - 2rem);}
.span4 {margin-right:calc(env(safe-area-inset-right) - 2rem);}
diff --git a/www/css/panels.css b/www/css/panels.css
index 43344e00e..4630cfd78 100644
--- a/www/css/panels.css
+++ b/www/css/panels.css
@@ -18,7 +18,7 @@
* Refer to the link below for a copy of the GNU General Public License.
* http://www.gnu.org/licenses/
*
- * 2019-04-12 TC moOde 4.5
+ * 2019-05-07 TC moOde 5.2
*
*/
@@ -86,7 +86,7 @@ html {background-color:inherit;}
#extratags {font-size:1rem;color:var(--textvariant);padding-top:0;text-align:center;display:block;}
#currentsong {padding-top:1.3rem;font-size:1.35em;font-weight:bold;color:var(--accentxts);word-wrap:break-word;cursor:pointer;}
.tab-content.visacc #currentsong, .tab-content.visacc #currentsong a {color:var(--adapttext);}
-#currentalbum {font-size:1.15em;padding-top:1.3rem;/*color:var(--textvariant);*/}
+#currentalbum {font-size:1.15em;padding-top:1.3rem;cursor:pointer;}
.tab-content.visacc #currentalbum {color:var(--textvariant);}
#playlist-position, #format-bitrate {color:inherit;opacity:.55;}
.container-playback {padding:0px;color:inherit;margin-top:env(safe-area-inset-top);}
@@ -206,7 +206,7 @@ img.coverart {border-style:none;border-radius:.1em;box-shadow:0 .1em .2em rgba(3
.icon-root {color:inherit;}
.playlist .pl-action {float:right;padding:0px;text-align:center;}
.database .db-action {float:left;width:1.875em;padding:0;position:relative;}
-.playlist .pl-action a, .playlist .db-action a {position:relative;font-weight:normal;text-decoration:none;z-index:3;font-size:inherit;line-height:.625em;padding:.318em 1em;width:2.2em;}
+.playlist .pl-action, .playlist .db-action a {position:relative;font-weight:normal;text-decoration:none;z-index:3;font-size:inherit;line-height:.625em;padding:.318em 1em;width:2.2em;}
#db-search-results {font-style:italic;float:left;padding:1em .5em 0em .5em;font-size:1em;display:none;}
#pl-filter-results, #lib-album-filter-results, #ra-filter-results {font-style:italic;float:left;font-size:1em;position:relative;top:50%;transform:translate(0, -50%);}
#pl-filter-results i {color:#34495E;}
@@ -425,7 +425,6 @@ input[type='range'].vslide2::-webkit-slider-thumb {background:#fff;background-im
.alphabits ul {display:table;height:100%;margin:0 !important;border-spacing:.2em;}
.alphabits ul li {display:table-row !important;font-size:.7em;text-align:center !important;text-transform:uppercase;opacity:.75;line-height:normal;}
/* playback ellipsis context menu */
-#context-menu-playback .dropdown-menu > li > a {/*float:left;*/}
#context-menu-playback .dropdown-menu {min-width:12rem;}
#menu-check-consume, #menu-check-repeat, #menu-check-single {display:none;float:right;color:var(--adapttext);line-height:2.75em;position:absolute;right:.5em;}
/* playbar */
diff --git a/www/eqg-config.php b/www/eqg-config.php
index f83c7c304..2b9c6b36e 100755
--- a/www/eqg-config.php
+++ b/www/eqg-config.php
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
@@ -76,7 +76,7 @@
$_search_curve = 'Flat';
}
elseif (isset($_POST['rmcurve'])) {
- $result = sdbquery("DELETE FROM cfg_eqalsa WHERE curve_name='" . $_POST['rm-curve'] . "'", $dbh);
+ $result = sdbquery("DELETE FROM cfg_eqalsa WHERE curve_name='" . $_GET['curve'] . "'", $dbh);
$_search_curve = 'Flat';
$_SESSION['notify']['title'] = 'Curve removed';
}
diff --git a/www/eqp-config.php b/www/eqp-config.php
index f9c7d1084..4a1e1f2d5 100755
--- a/www/eqp-config.php
+++ b/www/eqp-config.php
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
@@ -75,12 +75,13 @@
$_SESSION['notify']['title'] = 'Playing curve';
}
+//workerLog('newcurvename=(' . $_POST['newcurvename'] . '), rmcurve=(' . $_POST['rmcurve'] . '), curve=(' . $_GET['curve'] . ')');
// add, remove, change, refresh
if (isset($_POST['newcurvename'])) {
$_search_curve = 'Default';
}
elseif (isset($_POST['rmcurve'])) {
- $result = sdbquery("DELETE FROM cfg_eqfa4p WHERE curve_name='" . $_POST['rm-curve'] . "'", $dbh);
+ $result = sdbquery("DELETE FROM cfg_eqfa4p WHERE curve_name='" . $_GET['curve'] . "'", $dbh);
$_search_curve = 'Default';
$_SESSION['notify']['title'] = 'Curve removed';
}
diff --git a/www/footer.php b/www/footer.php
index f83a1ba87..c45457af2 100644
--- a/www/footer.php
+++ b/www/footer.php
@@ -19,7 +19,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
- * 2019-04-12 TC moOde 5.0
+ * 2019-05-07 TC moOde 5.2
*
*/
-->
@@ -31,7 +31,7 @@
Moode Audio Player is a derivative of the wonderful WebUI audio player client for MPD originally designed and coded by Andrea Coiutti and Simone De Gregori, and subsequently enhanced by early efforts from the RaspyFi/Volumio projects.
Release Information