Commit Graph

3214 Commits

Author SHA1 Message Date
ejurgensen
a69619a5a7 Implement is_remote() and change how transcode_needed() is used
transcode_needed() was getting called needlessly in http_daapd.c,
because 1) once it is determined that a given codec needs transcoding
for a given client there is no reason to call and check again, 2)
transcoding is irrelevant for remotes. Also some cleaning up of
user_agent_filter().
2014-12-28 23:37:12 +01:00
ejurgensen
3e412b5e65 Remove misplaced quotes in db_group_type_bypersistentid() 2014-12-28 23:32:21 +01:00
ejurgensen
4de5f7c19c Fix login/logout problem in spotify.c (see issue #68) 2014-12-28 21:08:52 +01:00
ejurgensen
ea2938f54d Merge pull request #76 from chme/transcode
Identify "android" user-agent as a remote client in transcode_needed()
2014-12-28 12:52:16 +01:00
chme
7889d92a81 Identify "android" user-agent as a remote client in transcode_needed()
(similar to the check in user_agent_filter())
2014-12-28 09:37:19 +01:00
ejurgensen
a7ee8483b4 Merge pull request #74 from chme/spotify
fix delete query for removing files if a spotify playlist is deleted
2014-12-27 22:00:26 +01:00
chme
3208315503 fix delete query for removing files if a spotify playlist is deleted 2014-12-27 21:44:25 +01:00
Stuart C. Naifeh
431ecdb197 Cache individual artwork 2014-12-27 11:40:52 -05: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
Stuart C. Naifeh
2171a1f2b3 Re-add support for individual artwork 2014-12-27 09:44:16 -05:00
ejurgensen
647eae17ee Merge pull request #72 from couteau/master
Fix detection of eventfd
2014-12-23 20:52:42 +01:00
Stuart C. Naifeh
ee902a1a68 Fix for bug introduced by commit 67c092828d 2014-12-23 11:34:11 -05:00
ejurgensen
2a99c78c47 Merge pull request #70 from jmaggard10/fixes-20141217
Fixes misc bugs
2014-12-18 16:35:54 +01:00
Justin Maggard
cdb0048082 Fix invalid read on empty string queries. 2014-12-17 15:03:23 -08:00
Justin Maggard
4efca3660f Fix bad free when encountering an error fetching query results. 2014-12-17 15:03:23 -08:00
Justin Maggard
e431b04310 Lower log level for missing revision-number in client update request. This is some clients' normal behavior, so we shouldn't need to need to see a message about it in the error log. 2014-12-17 15:03:23 -08:00
ejurgensen
6cfb37fb10 Merge pull request #67 from chme/artwork4
Updated artwork section in the readme
2014-12-14 15:23:55 +01:00
chme
6ceb3ebb43 Updated artwork section in the readme 2014-12-14 08:41:37 +01:00
ejurgensen
9b7a22ab0a Avoid threading issue in both ffmpeg and libav that prevents decoding embedded png's 2014-12-09 22:31:41 +01:00
ejurgensen
2b16dd493e Merge pull request #66 from chme/artwork3
[artwork] do not add cache entry if reading artwork failed
2014-12-08 19:13:40 +01:00
chme
2e5d234ac5 [artwork] do not add cache entry if reading artwork failed 2014-12-07 07:39:27 +01:00
ejurgensen
6489d717b6 Bump version to 22.1 2014-11-22 23:04:22 +01:00
ejurgensen
8bc17c1f8b ChangeLog for forked-daapd 22.1 2014-11-22 23:03:57 +01:00
ejurgensen
6f2f44168d Some config file polish (now that it's being updated anyway) 2014-11-17 22:53:52 +01:00
ejurgensen
9d9c82b6b1 Shorten timeout waiting for audio to Spotify 2014-11-11 20:22:39 +01:00
ejurgensen
5e4f449179 Add a timeout waiting for audio to Spotify 2014-11-11 11:59:40 +01:00
ejurgensen
f74774f5f7 Be more generous with Spotify image resolution now that the cache protects against poor reponse times 2014-11-11 11:37:03 +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
61a4da215c Revert special ffmpeg linker handling - not required any more
- ref https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758337#11
2014-10-16 22:16:25 +02:00
ejurgensen
f24ab29098 Extend cache rebuild to 60 seconds so we are more certain that the library is 'idle' 2014-10-16 22:15:35 +02:00
ejurgensen
f0e1d919c4 Bump version to 22.0 2014-10-14 21:24:39 +02:00
ejurgensen
22b3f2ac6c ChangeLog for forked-daapd 22.0 2014-10-14 21:23:51 +02:00
ejurgensen
81fdcbf552 README update 2014-10-08 09:28:51 +02:00
ejurgensen
9508eba62e Return silence if the pipe read was blocked (credit bfitz) 2014-10-07 19:55:28 +02:00
ejurgensen
d61dc295e8 Fix for previous commit which would not work when PKG_CONFIG also returned -L flags 2014-10-02 23:31:30 +02:00
ejurgensen
d0685aed6f Use pkg-config to determine FFmpeg linker flags (for Debian, see #758337) 2014-10-02 23:08:38 +02:00
ejurgensen
88fcfa061d Add compability with ffmpeg's libswresample 2014-10-02 22:48:50 +02:00
ejurgensen
4857f21644 Merge branch 'freebsd': New timing mechanism (issue #46)
- also some libevent 2 adjustments
2014-09-30 21:39:02 +02:00
ejurgensen
376f0ed1c0 Minor fix 2014-09-30 18:55:32 +02:00
ejurgensen
495aebec40 Fix bug where it would hang because it looked for artwork in named pipes
- also some refactoring of the artwork code to diminish redundancy
2014-09-29 23:40:38 +02:00
ejurgensen
513e38dcda Proper update to libevent 2 (artwork, avio_evbuffer, dmap_common, transcode) 2014-09-28 22:44:45 +02:00
ejurgensen
661a557500 Proper update to libevent 2 in spotify.h and pipe.h 2014-09-28 22:26:23 +02:00
ejurgensen
a3a689573f Better define in player.c 2014-09-28 22:14:30 +02:00
ejurgensen
1ffbfd8c45 Proper update to libevent 2 in player.c 2014-09-28 22:09:22 +02:00
ejurgensen
ed177ff0e6 A note about AirPlay video 2014-09-28 21:12:20 +02:00
ejurgensen
965df4fdfc Delete event after disarming timer (maybe not necessary, but for safety) 2014-09-28 15:30:52 +02:00
ejurgensen
cf5b702460 Fix malplaced declaration 2014-09-27 23:12:18 +02:00
ejurgensen
4078542eb4 Forgot an include 2014-09-27 23:08:43 +02:00
ejurgensen
29265d6170 Drop special FreeBSD stream period 2014-09-27 23:08:24 +02:00
ejurgensen
861635eb4d timer_delete() instead of close() for FreeBSD timer 2014-09-27 23:05:22 +02:00