Commit Graph

3043 Commits

Author SHA1 Message Date
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
chme 1981237638 Improve select for files table by removing f.media_kind = 32 from the
queries (forked_daapd has no media_kind = 32).
2015-01-08 22:44:09 +01:00
chme 46f770b52d Improve selects for files table by removing the (f.album <> '' AND
f.album IS NOT NULL) from the where clause for album and artist. These
are unnecessary because forked-daapd makes sure that an artist or album
name exists.
2015-01-08 22:43:29 +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
ejurgensen b8d5e32160 Merge branch 'db' of git://github.com/chme/forked-daapd into chme-db
Conflicts:
	src/artwork.c
2015-01-08 22:34:45 +01:00
ejurgensen 5a02f926e3 Fix bug in float to string conversion of raop volume (credit @andreas-p, issue #84) 2015-01-08 22:03:53 +01:00
ejurgensen 70f05049e8 Change text for severity log from ERROR to LOG
To avoid this startup message:
[ERROR]     main: Forked Media Server Version 22.1 taking off
2015-01-07 21:50:24 +01:00
ejurgensen 3b38bee45b Fix wrong log domain 2015-01-06 23:26:29 +01:00
ejurgensen a9bc1a21dc Merge pull request #75 from couteau/ownartwork (and additional artwork.c overhaul) 2015-01-04 22:41:00 +01:00
ejurgensen 103ce0887a Misc artwork fixup 2015-01-04 19:38:13 +01:00
ejurgensen 73bbe831e6 artwork.c overhaul and avoid "Error reading artwork" message when there is no artwork
- try to align return values in artwork.c
2015-01-04 15:12:46 +01:00
chme 6a2dc2d538 log severity in logfile and console 2015-01-03 18:00:31 +01:00
ejurgensen 0d7ec13ede Merge branch 'ownartwork' of @couteau and various modifications (see pr #75) 2015-01-03 00:31:48 +01:00
ejurgensen 2879458e98 Fix for issue #62 (slow internet streams), credit @chme 2015-01-02 23:24:44 +01:00
ejurgensen d55d194201 Remove misplaced quotes 2015-01-01 22:28:26 +01:00
ejurgensen bb9c4b6001 Merge pull request #78 from chme/readme
Pass the foreign option to automake thus omitting README is not an error
2014-12-31 10:42:59 +01:00
chme 0ef1819f02 Pass the foreign option to automake thus omitting README is not an error 2014-12-31 10:12:28 +01:00
Stuart C. Naifeh f3e21956c4 Add configuration option to disable individual artwork 2014-12-30 10:38:03 -05:00
ejurgensen 11eac845a3 Merge pull request #77 from chme/readme
Rename README in README.md to make use of the autoformating in github
2014-12-29 15:42:00 +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 12b46ad94d Improve select for files table by removing f.media_kind = 32 from the
queries (forked_daapd has no media_kind = 32).
2014-12-29 09:24:29 +01:00
chme fedf571d34 Improve selects for files table by removing the (f.album <> '' AND
f.album IS NOT NULL) from the where clause for album and artist. These
are unnecessary because forked-daapd makes sure that an artist or album
name exists.
2014-12-29 09:24:28 +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
chme e7228782dc Rename README in README.md to make use of the autoformating in github 2014-12-29 09:05:09 +01:00
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