chme
32ac6c2ea9
[commands] Rename commands_cmdloop_break to commands_base_destroy and
...
free commands_base after breaking the libevent loop
2016-06-11 10:56:27 +02:00
chme
5258ee712c
[commands] Added functionality to break the event loop of a command base
2016-06-11 09:52:31 +02:00
chme
5dc1cba5c8
On deinit free event base before freeing command base and pipes
2016-05-21 06:48:02 +02:00
chme
85d57394e5
[cache] Use generic inter thread commands util
2016-05-15 08:42:15 +02:00
ejurgensen
9a56044c77
[misc] Explicitly check for pthread_setname_np/pthread_set_name_np
...
Seems there is no pthread_setname_np in OpenWrt
2016-05-05 19:39:15 +02:00
ejurgensen
b454a2fd60
[general] Put back support for platforms without pipe2(), see issue #239
2016-03-17 22:20:16 +01:00
chme
98d6db002f
Set thread names to make it easier to identify threads during debugging
2016-03-12 14:01:08 +01:00
chme
532e9c3a32
[spotify/artwork] Remove spotify songs after playlist update and delete
...
cached artwork for removed spotify songs
2016-01-16 17:02:57 +01:00
ejurgensen
0f58495e0d
[cache] Prevent log errors if cache disabled
2016-01-09 01:26:59 +01:00
ejurgensen
599fb20e0b
[cache] Fix return values in cache_artwork_get_impl
2016-01-03 12:24:20 +01:00
ejurgensen
55104015e0
Full removal of libevent 1 legacy code. Also drop pipe() in FreeBSD, since pipe2 is available now.
2015-10-19 21:15:29 +02:00
ejurgensen
50bcdd2551
Plug minor memleaks in cache.c
2015-09-23 22:29:17 +02:00
ejurgensen
879c2ef350
Avoid cache regeneration triggering during db_query_run (in case the query is long running, like db_files_update_songalbumid might be)
2015-06-08 23:07:56 +02:00
ejurgensen
335517a2e8
Prevent this database deadlock:
...
1. bulk scan begins transaction, locking the db
2. cache regeneration is triggered, but waits for db to unlock
3. bulk scan calls cache_artwork_ping, which can't return because cache thread is waiting
-> scan thread is waiting for cache thread, which is waiting for scan thread
2015-06-08 22:24:33 +02:00
chme
4bf30239bc
Remove query from daap cache if rebuild failed
2015-04-27 19:44:03 +02:00
chme
afcc84a790
do not execute individual delete queries for artwork files during bulk
...
scan
2015-04-24 17:37:48 +02:00
ejurgensen
5fa908cd9c
Add an artwork "stash" in cache.c so we avoid making redundant http artwork requests
2015-04-18 22:55:00 +02:00
ejurgensen
c2bc05cb16
Minor adjustments to cache.c, mostly adjusted log messages
2015-01-18 00:32:07 +01:00
ejurgensen
0d7ec13ede
Merge branch 'ownartwork' of @couteau and various modifications (see pr #75 )
2015-01-03 00:31:48 +01:00
ejurgensen
d55d194201
Remove misplaced quotes
2015-01-01 22:28:26 +01:00
Stuart C. Naifeh
9e9ffe6809
Update cache api, version, and logic to support caching of individual as
...
well as group artwork
2014-12-27 10:48:12 -05: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