ejurgensen
e5a1495b49
Add DAAP logic for the Radio item
2015-03-16 23:33:42 +01:00
ejurgensen
8359a9018d
Fixup parent playlist
2015-03-14 23:35:19 +01:00
ejurgensen
e68c6c4932
Change db_pl_add/db_pl_update so input is playlist struct
...
- so they work like db_file_add/update and can accept all the struct data (incl. parent_id)
2015-03-14 22:34:03 +01:00
ejurgensen
9fdb8a5247
Add DB and DAAP support for nested playlists
2015-03-14 22:00:57 +01:00
ejurgensen
6221e24f1b
Support for live ICY metadata for streams (incl. artwork)
2015-03-14 21:42:53 +01:00
chme
f41e7014e4
[mpd] add support for commands 'listplaylists', 'listplaylist',
...
'listplaylistinfo', 'ping'; add support for additional tags
2015-03-10 22:15:33 +01:00
chme
9c979ef584
[mpd] fix issues with utf8 characters when selecting from filelist (lead
...
to an infinite loop in MPoD while importing the library and to missing
or wrong entries in ympd)
2015-03-07 10:05:09 +01:00
chme
1bbfcf61a5
Enclose DB upgrade in a single transaction (improves performance and in
...
case of an error does a rollback, keeping the db in a valid state)
2015-02-26 14:09:14 +01:00
chme
795926605d
db: add missing field "virtual_path" in struct db_playlist_info (fixes
...
segfault when loading playlists)
2015-02-23 20:49:53 +01:00
chme
6f7d9f5b44
db: fix wrong number of elements for purge queries
2015-02-23 20:26:42 +01:00
chme
3eab952867
fixup: rename db_mpd_build_query to db_mpd_start_query, removed unused
...
function from db.h
2015-02-15 13:59:35 +01:00
chme
df5b0f779a
Use view for filelist instead of separate table
2015-02-14 22:38:14 +01:00
chme
ad23c0ff30
Add missing free of virtual_path for playlists
2015-02-14 08:50:18 +01:00
chme
8401d5ad09
Removed unnecessary creation of index on db update
2015-02-14 08:50:18 +01:00
chme
830054bd71
Initial support for mpd protocol
2015-02-14 08:50:18 +01:00
ejurgensen
266d05f5eb
Revert "Don't add duplicates (same fname, artist, album and title), issue #85 "
...
This reverts commit 70365422b4
.
2015-01-16 22:32:23 +01:00
ejurgensen
70365422b4
Don't add duplicates (same fname, artist, album and title), issue #85
2015-01-14 22:07:24 +01:00
ejurgensen
baa3ee63ca
Adjust a few log messages
2015-01-14 20:46:03 +01:00
ejurgensen
da376cbeb9
Upgrade database schema to v15.0 -> 15.1
2015-01-14 20:37:29 +01:00
ejurgensen
d16cf2fe7c
Introduce major and minor schema versioning to improve vers compability
...
- also make database vacuuming on startup optional
2015-01-14 20:32:36 +01:00
ejurgensen
829619be5d
Vacuum on startup and also make index changes possible without schema updates
2015-01-10 22:44:26 +01:00
ejurgensen
1f81b5ce7e
Revert "Upgrade db schema to v16"
...
This reverts commit bfa9f4d5cf
.
2015-01-10 20:31:13 +01:00
ejurgensen
b605dc2fc3
Spelling mistake
2015-01-10 19:19:45 +01:00
ejurgensen
a96af67a30
Some fixing up of prev commit
2015-01-10 00:45:19 +01:00
ejurgensen
bfa9f4d5cf
Upgrade db schema to v16
2015-01-10 00:08:50 +01:00
ejurgensen
2208c021aa
Improve browse queries (credit @chme)
...
Adjusted re-commit of commit ec47c6e730
2015-01-09 23:59:38 +01:00
ejurgensen
27a2fabb56
Modify groups queries and improve index
2015-01-09 23:04:50 +01:00
ejurgensen
ea598bfeaf
Remove upgrade paths for indices (since they don't have any data anyway), and instead implement db_create_indices and db_drop_indices to reduce redundancy
2015-01-09 00:28:06 +01:00
ejurgensen
ad48ccb804
Revert "Merge branch 'db' of git://github.com/chme/forked-daapd into chme-db"
...
This reverts commit b8d5e32160
, reversing
changes made to 5a02f926e3
.
2015-01-08 22:40:47 +01:00
chme
ec47c6e730
optimize queries and indexes for composer/genre
2014-12-29 09:24:29 +01:00
chme
5cb06980e3
Optimize the indexes on the files table to speed up select queries
2014-12-29 09:24:29 +01:00
chme
e321e5137f
db update v16 and cache update v2
2014-12-29 09:24:28 +01:00
chme
31870fe046
improve selects for files table by removing the join to the groups table
2014-12-29 09:24:28 +01:00
ejurgensen
3e412b5e65
Remove misplaced quotes in db_group_type_bypersistentid()
2014-12-28 23:32:21 +01:00
chme
3208315503
fix delete query for removing files if a spotify playlist is deleted
2014-12-27 21:44:25 +01:00
chme
7578bb1205
Artwork caching (pull request #61 ), and also:
...
- introduced new section in config file for sqlite pragma settings,
added config for artwork cache
- added setting of pragma synchronous, cache size and journal mode to
daap cache
2014-11-10 22:53:08 +01:00
ejurgensen
2545aedc2a
Avoid duplicate rows in the admin table
2014-08-27 22:12:42 +02:00
ejurgensen
624dd40c59
Include DAAP queries from Retune and TunesRemote+ for caching
...
+ misc fixing up
2014-08-22 22:51:13 +02:00
ejurgensen
f997aca452
More DAAP cache adjustments
2014-08-21 23:06:52 +02:00
ejurgensen
eac718ea0f
Some more daap cache triggers
2014-08-21 10:14:24 +02:00
ejurgensen
f3a19fce8e
Add DAAP cache backend
2014-08-20 00:21:48 +02:00
ejurgensen
a594455e09
Add db_query_run() to get rid of some redundancy in db.c
2014-08-18 00:20:23 +02:00
ejurgensen
d5efc2dcb3
Add db interface to update the admin table
2014-08-15 22:54:47 +02:00
chme
974c6e6323
add missing "#undef Q_TMPL"
2014-07-27 11:16:00 +02:00
chme
46c0239a79
Added options to modify the operation of the SQLite database (through PRAGMA statements)
...
- set cache size (in number of pages)
- set synchronous flag
- set journal mode
2014-07-13 10:35:38 +02:00
ejurgensen
1bd11d2895
Fix so permission changes in the library are handled (issue #8 )
2014-06-09 23:42:02 +02:00
ejurgensen
b566c41a36
Setting log level to info gave a lot of meaningless db.c messages
2014-06-01 23:58:44 +02:00
ejurgensen
915719f0f8
Fix Spotify exemption from purge during init-rescan
2014-05-14 20:44:07 +02:00
ejurgensen
c1be585469
Extra log message for debugging apparent db locking issue
2014-05-13 22:02:32 +02:00
ejurgensen
a5b2fbc0fe
Wrap bulk scan in a db transaction (credit @chme)
2014-05-11 23:13:09 +02:00