Fix login/logout problem in spotify.c (see issue #68)
Remove misplaced quotes in db_group_type_bypersistentid()
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().
improve selects for files table by removing the join to the groups table
db update v16 and cache update v2
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.
Improve select for files table by removing f.media_kind = 32 from the
queries (forked_daapd has no media_kind = 32).
Optimize the indexes on the files table to speed up select queries
optimize queries and indexes for composer/genre