Commit Graph

4540 Commits

Author SHA1 Message Date
Wolfgang Scherer bbc5d3787e [mpd] rating sticker translator 2017-12-15 19:08:32 +01:00
ejurgensen 7c12ea1209
Merge pull request #461 from chme/addqueueitem
[db] Fix adding urls to the queue that are not in the library
2017-12-13 23:24:55 +01:00
chme 88f7d4601d [db] Fix adding urls to the queue that are not in the library 2017-12-13 22:02:38 +01:00
chme 4ebc6da0ee [ws] Notify about player status, options, volume, queue changes 2017-12-13 21:44:33 +01:00
chme 5cb33189df [jsonapi] New endpoints for player.html
- control playback and retrieve player status
- get current queue
- set shuffle, repeat, consume mode
- set volume
2017-12-13 21:44:33 +01:00
ejurgensen 10233dcad3 [chromecast] Check for null address from getifaddrs() (credit @yantoz, issue #455) 2017-12-10 19:50:57 +01:00
ejurgensen 55e4350b18
Merge pull request #454 from chme/queue
Unique queue item ids and proper implementation of mpd commands 'plchanges' and 'plchangesposid'
2017-12-09 18:31:36 +01:00
chme 0b07cff633 [player] Only update queue item in metadata_update_cb on changed
metadata. This avoids an unnecessary update query and queue change
notification (leading to clients requesting the unchanged queue).
2017-12-09 11:01:41 +01:00
chme 2ee02d407b [mpd] Add support for version and ranges to 'plchanges' and
'plchangesposid'
2017-12-09 11:01:41 +01:00
chme 912635e737 [db] Update queue_version for changed queue items 2017-12-09 11:01:41 +01:00
chme 91573752d9 [db] Update v19.05 to v19.06
- queue table: define id column as AUTOINCREMENT (requires drop+create)
- queue table: add column queue_version
- files table: update http-stream virtual paths (constructing the
virtual path for http-streams changed in pr #449, this migrates existing
databases to be consistent to the newly created paths)
2017-12-09 11:01:41 +01:00
chme 7083c65314 [main/httpd] Configurable web root directory over cli parameter 2017-12-03 10:46:50 +01:00
chme 8776aa36e2 [player] Trigger SPEAKER event after finishing the command speaker_set 2017-12-03 10:46:03 +01:00
chme d839e8cabb [listener/player] Adjust code comment for LISTENER_SPEAKER event 2017-12-03 10:46:03 +01:00
chme 00e9a4a5d5 [htdocs] Use minified version of vue.js 2017-12-03 10:46:03 +01:00
chme 1689182432 [player/raop] Trigger the SPEAKER event if device verification
succeeded/failed
2017-12-03 10:46:03 +01:00
chme 24782f5d45 [htdocs] List outputs in web interface and support device verification 2017-12-03 10:46:03 +01:00
chme eece4ce768 [ws] Listen and notify about output events 2017-12-03 10:46:03 +01:00
chme 80c1ef3114 [jsonapi] New endpoints for outputs and device verification 2017-12-03 10:46:03 +01:00
chme f696229fff [player/dacp/mpd] Pass additional information to speaker enum callback 2017-12-03 10:46:03 +01:00
Wolfgang Scherer b363c0dac2 [mpd] Consistent playlist name setup (#450) 2017-12-02 16:45:11 +01:00
Wolfgang Scherer bb451802d2 [db] Queue notification when metadata changes (#448) 2017-12-02 16:44:29 +01:00
Wolfgang Scherer 0d006904da [scan] Consistent HTTP virtual paths (#449) 2017-12-02 16:44:01 +01:00
ejurgensen 617a0992d0 [http] Align indentation with the rest of the code 2017-11-27 17:53:59 +01:00
Wolfgang Scherer 8f899f2051 [http] .pls playlists (#447) 2017-11-27 09:48:17 +01:00
Wolfgang Scherer dcc6fcf206 [mpd] Close connection for close command (#444) 2017-11-21 19:29:17 +01:00
chme 4800f9943b [db] Rename 'ADMIN_*' defines to 'DB_ADMIN_*' 2017-11-19 22:08:23 +01:00
chme 96bcaa9102 [mpd] Fix noidle command returning an error; fix format error in stats
command
2017-11-19 22:08:23 +01:00
chme 65444bba47 [mpd] Fix missing free for query_params.filter (mostly in case an error
occured)
2017-11-19 22:08:23 +01:00
chme 360439f448 [mpd] Cosmetic changes: fix indentation, use bool instead of int 2017-11-19 22:08:23 +01:00
chme a0a6b7d473 [mpd] Send correct value for uptime in 'stats' command 2017-11-19 22:08:23 +01:00
chme f49a3c888a [db] Store start time in admin table 2017-11-19 22:08:23 +01:00
chme 38ab4b9676 [db] Functions to read/store int in the admin table and introduce
constants for admin table keys
2017-11-19 22:08:23 +01:00
ejurgensen 5315bdf83e [raop] Make sure to set requires_auth if we get RTSP_FORBIDDEN 2017-11-19 20:11:42 +01:00
ejurgensen e4568e5640
Merge pull request #441 from chme/mpdidle
[mpd] Notify MPD clients of library changes and fix idle command
2017-11-18 20:51:02 +01:00
Wolfgang Scherer fa76b6380c [mpd] correct handling of `noidle` command 2017-11-18 07:15:45 +01:00
chme 8d130cdc7c [listener] Support passing multiple events in a single notify call 2017-11-18 07:15:45 +01:00
chme 1e24b3656a [mpd] Fix idle command (idle events got lost if they happened while the
client was not in idle mode)
2017-11-18 07:15:45 +01:00
chme 4fe4bee809 [db] Only trigger the library update callback, if a query changed at
least one row
2017-11-17 19:40:04 +01:00
chme 1cdb9f450d [library/mpd] Store db update time in admin table and trigger DATABASE
event on init/rescan only if an update/insert occurred
2017-11-17 19:40:04 +01:00
chme ea0cc64aa3 [db] Add functions to read/store int64 values in admin table 2017-11-17 18:12:03 +01:00
Wolfgang Scherer 37aaf73f6a [library] Deferrable library update time with persistence (TBD) 2017-11-17 18:12:03 +01:00
Wolfgang Scherer e7e2b2c9a6 [library] Decrease library update delay and clarify purpose 2017-11-17 18:12:03 +01:00
Wolfgang Scherer 9f11a69c79 [mpd] enable database and update events for idle clients 2017-11-17 18:12:03 +01:00
ejurgensen a6fab4ac0d [httpd/mpd] Adjustments to commit #69ff42f 2017-11-15 23:13:20 +01:00
Wolfgang Scherer 69ff42fc6a [mpd] apply trusted_networks to MPD 2017-11-15 22:29:22 +01:00
Wolfgang Scherer ef767a08a4 [db] Report directory names that end in spaces 2017-11-15 22:25:12 +01:00
Wolfgang Scherer 3d43721cd0 [scan] After rescan, fullrescan inotify must be enabled 2017-11-13 19:52:17 +01:00
ejurgensen f3f24e520c Merge branch 'refactor_daap1' 2017-11-12 21:39:34 +01:00
ejurgensen 3d5aeda7aa [httpd] Implement "trusted_networks" option
Some clients aren't really capable of authenticating + some users probably
don't want to enter a password for the web interface. This option allows
clients on for instance the local network to connect without authentication.
2017-11-12 21:29:57 +01:00