Commit Graph

3774 Commits

Author SHA1 Message Date
ejurgensen ad4cdc2216 [httpd] Silence compiler warning about unused var 2016-12-09 21:49:22 +01:00
ejurgensen d7b63ebc6a Merge pull request #319 from chme/dbgetint
[db] Rename db_get_count
2016-12-09 19:29:01 +01:00
ejurgensen 2f6131091b Merge pull request #318 from chme/mpdconsume
[mpd] Add support for the 'consume' player mode
2016-12-09 19:28:03 +01:00
chme c4732b835f [db] Remove unused function db_file_id_byfilebase 2016-12-09 16:20:50 +01:00
chme 588fe120b7 [db] Rename db_get_count to db_get_one_int 2016-12-09 16:20:03 +01:00
chme 1221244eed [mpd] Implement consume command and return consume mode in
status command
2016-12-09 14:48:24 +01:00
chme c3e8568782 [player] Add 'consume' mode
If consume mode is active the current song is removed from the queue at
eof or if the next song action is triggered.
2016-12-09 14:48:24 +01:00
ejurgensen 6f0e50add1 Merge pull request #317 from chme/dbupgrade1901
[db] Fix upgrade to v19.01
2016-12-09 07:22:13 +01:00
chme 94f450769d [db] Fix upgrade to v19.01 2016-12-09 07:08:14 +01:00
ejurgensen 9ba512a340 Merge pull request #309 from chme/persistentqueue3
Persistent queue
2016-12-08 21:06:17 +01:00
chme 2d1e5f6d60 [player/db] Remove function "db_file_get_seekpos" 2016-12-04 17:48:35 +01:00
chme d339f5bcd2 [db] fixup 2016-12-04 11:34:54 +01:00
chme edc609b531 [db] Queue fetch functions should end the query after start and fetch 2016-12-04 09:32:50 +01:00
chme 09c2e7ca76 [db] Add missing free of query_param.filter 2016-12-04 09:16:49 +01:00
chme fb55960b0a [db] Remove db_queue_enum struct and use generic query_params 2016-12-04 08:18:33 +01:00
chme b9117f9abd [db] Remove unnecessary setting of query param fields to 0 2016-12-04 07:42:38 +01:00
chme d431ace5c4 [db] Use a minor version update for the new queue table (v19.01 instead
of v20.00)
2016-12-04 07:28:06 +01:00
chme fdd85ccf66 [raop/dmap] Build raop metadata from queue item 2016-12-03 20:40:54 +01:00
ejurgensen 81412af1ee Merge pull request #316 from chme/savedtracks
[spotify] Add missing virtual path to "Saved Tracks" playlist
2016-12-03 15:05:49 +01:00
chme ea56ee91bd [spotify] Add missing virtual path to "Saved Tracks" playlist 2016-12-03 14:53:47 +01:00
chme 6c6f02fdfa Rename "queue_item.item_id" to "queue_item.id" 2016-12-03 11:14:03 +01:00
chme eb896a1085 [db] Fix loglevel 2016-12-03 11:12:19 +01:00
chme 0251f3c514 [db] Rename "queue_add_mediafileinfo" to "queue_add_file" 2016-12-03 11:12:19 +01:00
chme b5bf1928ff [db] Rename "plversion" to "queue_version", add missing init query for
queue_version
2016-12-03 11:12:19 +01:00
chme 6c7df96371 [db] Remove forward declaration of queue_fetch_byitemid 2016-12-03 11:12:19 +01:00
chme cef4fedfb4 Remove unused structs and player arguments 2016-12-03 11:12:19 +01:00
chme 6c66d39d91 [player] Fix segfault if player reaches end of queue, fix repeat single 2016-12-03 11:12:19 +01:00
chme a0590ce548 [db/player] Icy metadata update 2016-12-03 11:12:19 +01:00
chme e08b4f3b01 [rng] Cleanup: remove unused function 'shuffle_ptr' 2016-12-03 11:12:19 +01:00
chme a023595b6f [queue] Remove queue.c/.h 2016-12-03 11:12:19 +01:00
chme c504abe451 Use queue db table instead of in memory queue struct 2016-12-03 11:11:33 +01:00
chme 8ebf2f9307 [db] Add functions to access/modify the queue table 2016-12-03 10:58:26 +01:00
chme 0beb68e1f1 [db] Upgrade db to v20.00
- New table 'queue' for persisting the queue/current playlist
- New entry 'plversion' in admin table for queue version
2016-12-03 10:58:26 +01:00
chme faaeb92ce5 [player] Reading media_file_info is not necessary in source_pause 2016-12-03 10:58:26 +01:00
chme 2d27636644 [rng] Add function to shuffle an int array 2016-12-03 10:57:56 +01:00
ejurgensen 3921cf5732 Merge branch 'spwebapi2' 2016-11-27 22:54:06 +01:00
ejurgensen 7239d39c5f [httpd] UI apology 2016-11-27 22:52:59 +01:00
ejurgensen f11a094d82 [spotify] Add oauth instructions to README 2016-11-27 20:21:56 +01:00
ejurgensen 51e6008ef6 Merge pull request #305 from chme/streamsetup
Reduce dependency to media file in stream setup methods
2016-11-26 17:43:24 +01:00
ejurgensen 633d297936 Merge pull request #314 from chme/pipeoutputsync
Sync output to fifo
2016-11-20 08:45:15 +01:00
ejurgensen 40621a9429 Merge pull request #313 from chme/scanbuild
Fix issues found by scanbuild
2016-11-20 08:43:35 +01:00
chme 27b9ee16c9 [fifo] Try to keep in sync with airplay speakers 2016-11-20 06:55:55 +01:00
chme fcbd88c56c [fifo] Fix: flush must return the number of pending events 2016-11-20 06:55:55 +01:00
chme 5bc52d7bc7 [rsp] Fix nullpointer dereference found by scan-build 2016-11-20 06:38:53 +01:00
chme a95da7966b Fixes issues found by scan-build in mpd.c and queue.c 2016-11-20 06:27:45 +01:00
ejurgensen 94a55d9fc9 [scan] readdir_r deprecated, use readdir instead 2016-11-19 23:50:14 +01:00
ejurgensen bdd6bab982 [-] Lots of housekeeping thanks to scan-build and input from @acmay 2016-11-19 23:08:50 +01:00
ejurgensen 8525c278ec [http] Fix crash with URLs without any "." chars in the path (issue #311, @credit acmay) 2016-11-17 19:24:55 +01:00
ejurgensen bb2a73ddab [spotify] Keep saved tracks through restarts + misc fixing up 2016-11-13 22:13:35 +01:00
ejurgensen fb808bd36a Merge pull request #310 from chme/dbcleanup
[db] Small code improvements (avoid hard coded values in query strings)
2016-11-12 22:58:54 +01:00