chme
b7f3e71f7e
[db_upgrade] Fix memory leak in error case
...
db_upgrade.c:72:7: warning: Potential memory leak
2018-12-29 16:34:56 +01:00
chme
42cbd721fd
[db] Minor version upgrade: new column "path" in directories table
2018-12-18 08:28:19 +01:00
whatdoineed2do
488f52b04f
[db] schema v19.11 support composer in queue tbl
2018-11-30 17:22:21 +01:00
ejurgensen
f686756dd8
[db] Upgrade schema to 19.10 to remove invalid time_skipped values from commit fde0a281
2018-09-19 19:40:45 +02:00
ejurgensen
16e375e637
[db/misc] Cast ARRAY_SIZE to unsigned (avoids compiler warnings)
2018-09-04 20:07:05 +02:00
ejurgensen
fde0a28142
Support for skip_count and time_skipped file metadata
2018-08-18 22:56:27 +02:00
chme
6ceede44f4
[db] Use default -1 for playlists.query_limit column
2018-04-15 22:11:40 +02:00
chme
f167e975c2
Unify naming of "order by" clause in structs/table
2018-04-15 22:11:40 +02:00
chme
6bdcda1524
[db/filescanner] Upgrade database to v19.08 and support limit/order by
...
in smart playlist files
2018-04-15 22:11:40 +02:00
ejurgensen
ea6fd1476a
[db] Improve speed of browse queries (issue #478 )
...
Before, we returned either unordered (for RSP, meaning client had to
sort) or ordered by a client selected sort_clause[]. The latter are
multi-purpose and therefore not optimised for browse queries.
To speed up, we predefine the entire set of browse queries, including
order, with matching indices. The predefined queries are used except
if the client explicitly requests a non-default order or query.
As a special bonus, the commit also allows queries with I_SUB that
have an offset but no limit.
2018-03-02 21:11:31 +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
ejurgensen
4d47307a02
[db/filescanner] Add index on fname, change playlist matching (wip)
2017-10-17 23:11:31 +02:00
ejurgensen
f63d103753
[raop] Add support for Apple TV device verification, required by tvOS 10.2 (fix for issue #377 )
...
- also change how speakers are saved/retrieved from the db
- add generic authorization methods in outputs.c and player.c
- let filescanner read *.verification files (containing PIN)
- configure options to enable and disable, since libsodium is required
2017-06-19 21:52:01 +02:00
ejurgensen
0e9bca9e3d
[db] Add column for auth key to speakers table (incl methods for saving/retrieving)
2017-06-18 01:29:40 +02:00
chme
82e216c931
Add missing FALLTHROUGH comments to switch-case statements
...
This allows to suppress code analysis warnings in IDEs for missing break
statements.
2017-02-26 11:04:04 +01:00
ejurgensen
e92152cadb
[db] Upgrade db to 19.03: Add artwork_url column to queue table
2017-01-27 22:36:00 +01:00
chme
e29539fa68
[db] add primary key to admin table
2016-12-10 06:15:43 +01:00
chme
94f450769d
[db] Fix upgrade to v19.01
2016-12-09 07:08:14 +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
b5bf1928ff
[db] Rename "plversion" to "queue_version", add missing init query for
...
queue_version
2016-12-03 11:12:19 +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
ejurgensen
bdd6bab982
[-] Lots of housekeeping thanks to scan-build and input from @acmay
2016-11-19 23:08:50 +01:00
chme
491bf54fdb
[directories/spotify] Init db with disabled spotify-root-directory and
...
enable only on successful login to spotify
2016-01-31 08:14:03 +01:00
chme
8600c21424
[db-upgrade] add column date_released to files table, add column name to
...
speakers table
2016-01-31 08:14:03 +01:00
chme
1a6565e512
[directories] Initialize root directories on db init
2016-01-24 18:51:22 +01:00
chme
7703a997c4
[db/filescanner/spotify] Replace filelist-view with separate
...
directories-table
to increase the performance of the mpd command 'lsinfo'
2016-01-24 18:51:22 +01:00
chme
3740486348
[db] Move database upgrade logic to separate file
2016-01-24 18:51:22 +01:00