From: Andrew Karpow Date: Sat, 22 Feb 2014 01:11:45 +0000 (+0100) Subject: better json generator, various fixups X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=b9a4d83130817ea4b6bc0de6d48447ca16eda0b6;p=ympd.git better json generator, various fixups --- diff --git a/.drone.yml b/.drone.yml index 68d296e..f5bb9cc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,17 @@ image: gcc4.8 script: - sudo apt-get install -y libmpdclient-dev &> /dev/null - - cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr - - make - - cpack -D CPACK_DEBIAN_PACKAGE_MAINTAINER="ympd Team" -G DEB + - cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Debug + - make VERBOSE=1 notify: email: recipients: - andy@ndyk.de + irc: + server: irc.freenode.org + nick: droneBot + channel: '#nicotest' + on_started: true + on_success: true + on_failure: true + diff --git a/CMakeLists.txt b/CMakeLists.txt index df85cb6..2fe5577 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6) project (ympd) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/") set(CPACK_PACKAGE_VERSION_MAJOR "1") -set(CPACK_PACKAGE_VERSION_MINOR "0") +set(CPACK_PACKAGE_VERSION_MINOR "2") set(CPACK_PACKAGE_VERSION_PATCH "0") option(WITH_MPD_HOST_CHANGE "Let users of the web frontend change the MPD Host" ON) @@ -39,6 +39,7 @@ set(SOURCES src/http_server.c src/mpd_client.c src/mongoose.c + src/json_encode.c ) add_executable(ympd ${SOURCES} ${PROJECT_BINARY_DIR}/http_files.h) diff --git a/htdocs/index.html b/htdocs/index.html index 4316113..7a90c25 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -39,7 +39,7 @@ @@ -82,7 +82,7 @@
-
Queue
+
Queue

@@ -116,6 +116,10 @@

+
@@ -192,6 +196,10 @@ data-placement="right" data-toggle="popover" data-content="Password does not match!" data-trigger="manual" />
+
+
MPD Password is set
+
+ @@ -203,6 +211,22 @@ +