ejurgensen
892fd9c402
Send mpco in daap playlist reply, even when 0 (like iTunes)
2015-03-29 23:34:36 +02:00
ejurgensen
e5a1495b49
Add DAAP logic for the Radio item
2015-03-16 23:33:42 +01:00
ejurgensen
cf6d94eda2
Fixup dblist for Radio item
2015-03-15 16:26:06 +01:00
chme
d7f7a746a2
Added item for "Radio" to DAAP-reply to "/databases" request
2015-03-14 23:44:17 +01:00
ejurgensen
9fdb8a5247
Add DB and DAAP support for nested playlists
2015-03-14 22:00:57 +01:00
ejurgensen
6df734f497
Cleanup libevent 2 calls in httpd_daap.c/.h
2015-03-06 21:22:05 +01:00
ejurgensen
684de40be2
Minor change of log severity ("Done with group")
2015-03-05 21:24:27 +01:00
ejurgensen
3a5d2d560f
Remove libavl dependency from httpd_daap.c and also introduce random session id's
2015-02-24 22:58:47 +01:00
ejurgensen
df9bcade5a
Embed libavl (v0.3.5), it is no longer available upstream and the dependency is a hassle
2015-02-14 20:58:01 +01:00
ejurgensen
ebfff85afa
Fix problems with iTunes 12.1, see issue #100
...
- don't announce group support to iTunes
- support for absolute http url streaming requests
2015-02-06 22:14:26 +01:00
ejurgensen
3b38bee45b
Fix wrong log domain
2015-01-06 23:26:29 +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
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
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
d157aca620
Save response times in DB and show in log (for debugging)
2014-08-24 12:43:32 +02:00
ejurgensen
31ef4d4e13
Add slow DAAP queries to cache automatically
2014-08-24 01:23:23 +02:00
ejurgensen
cf091e8d8b
Adjust daapcache so it serves User-Agent to httpd_daap's reply handlers
2014-08-23 00:02:01 +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
76231cac0f
Experimental caching of playlist 1
2014-08-21 10:01:47 +02:00
ejurgensen
f3a19fce8e
Add DAAP cache backend
2014-08-20 00:21:48 +02:00
ejurgensen
5b4ef31758
Migrate all evhttp to non-deprecated libevent2
...
- well except a troublemaker in httpd_daap.c (req->flags &= ~EVHTTP_PROXY_REQUEST)
2014-05-29 23:22:00 +02:00
ejurgensen
748ce1413f
Revert msed to 0 for now
2014-04-20 23:34:04 +02:00
chme
2391838ea1
announce support of playlist editing by setting "msed" to 1
2014-04-20 07:33:28 +02:00
ejurgensen
d722b18817
Add optional request-session-id to login request
...
- should make it easier to write curl scripts to control forked-daapd
since you avoid the need to parse the replies just to find a valid
session id
2014-04-01 22:47:04 +02:00
ejurgensen
7e2f47f9ca
Minor adjustment so Valgrind is happy with string handling in user_agent_filter
2014-04-01 21:51:07 +02:00
ejurgensen
aef908b093
Don't announce support for playlist editing
2014-03-28 20:44:19 +01:00
ejurgensen
7d410fb6e7
Disable aeMk in databases reply since we don't calculate it properly
2014-03-28 19:25:15 +01:00
ejurgensen
35f8dd4233
DAAP modifications to properly show media kind shares in iTunes
2014-03-26 23:59:28 +01:00
ejurgensen
3ff4fa77be
Merge branch 'libevent2' into dev
2014-03-24 04:59:08 +01:00
ejurgensen
7c3da47eb7
Small DAAP changes to align with iTunes
2014-03-23 00:23:34 +01:00
ejurgensen
687f349927
Let configure check libevent version and include according to version
2014-03-13 23:33:35 +01:00
ejurgensen
7ed6cc98c3
Add support for Spotify (squashed commit), and:
...
- Try to not return items which a client can't play
- Remove inotify subscription to IN_MODIFY and IN_CREATE
- Fix crash on unknown codec type in transcode.c
- Probably added some new bugs...
2014-03-11 23:20:29 +01:00
ejurgensen
21fe5ac3a6
Don't reject daap login if no user-agent (for Roomie remote)
2014-01-27 20:43:22 +01:00
ejurgensen
02a73e3638
Artwork support for iTunes 11 (credit @torta) and related improvements
2013-12-25 23:06:41 +01:00
ejurgensen
ab86e30be4
Fix bug where sort fields were not implemented in group replies
2013-12-18 19:14:39 +01:00
ejurgensen
392f34bf85
Don't announce smart playlists with no items
2013-12-17 23:27:37 +01:00
ejurgensen
e79e11108e
Ignore duplicate tags in DAAP requests
2013-12-16 22:09:18 +01:00
ejurgensen
d1a51ef45d
1) Protect against uninitialised fl in daap_sort_build and 2) Don't
...
add blank items in daap group reply
2013-12-12 23:27:50 +01:00
ejurgensen
34a5fdb2ab
Sort by name if sort=releasedate (Podcasts)
...
We don't know release date, so use name since it's better than random
2013-12-04 21:29:58 +01:00
ejurgensen
c6119c5aa5
Force sane sorting in group replies
...
(because Hyperfine Remote will ask for artists sorted by album...)
2013-12-03 23:35:36 +01:00
ejurgensen
a30069c0c7
Honor sorting in more daap replies and some minor restructuring of http_daapd.c
2013-12-03 23:16:07 +01:00
ejurgensen
10e4a138a3
Fix crash after special (malformed?) TunesRemote SE daap request
...
Request has comma before &query:
/databases/1/containers/1/items?session-id=100&meta=dmap.itemname,[...],daap.songcompilation,&query=('com.apple...
2013-12-02 20:55:16 +01:00
ejurgensen
d85eb171cb
Lower log level to spam for metadata message in httpd_daap.c
2013-11-16 22:52:53 +01:00
ejurgensen
7bb2fef25f
Lower log level to spam for DMAP investigation and add dmap_add_raw_uint32() for later use
2013-11-14 23:08:20 +01:00
ejurgensen
28b485c595
Fix malformed DAAP packages
2013-11-10 12:35:24 +01:00
ejurgensen
9b190fe282
Fix group-type-type
2013-08-29 22:43:59 +02:00
ejurgensen
95fc525beb
Add support for artist group request (experimental)
...
The purpose of this is mainly to support Hyperfine Remote for Android
2013-08-29 22:00:37 +02:00
Craig Markwardt
c2e6eeda32
Fixes for Amarok and Banshee clients which don't send
...
revision-number in their update request.
Details: Banshee (v1.6.1) and Amarok client players send an
update request but do not send the revision-number parameter.
iTunes version 10 (and perhaps earlier) does send this parameter.
See: https://github.com/jasonmc/forked-daapd/issues/78
Fix: function daap_reply_update() now warns when revision-number
is not submitted by the client, but does not reply with an error.
In that case the server assumes a revision-number which insures
an update is sent back to the client.
Testing:
I verified that the following clients were able to connect succesfully
and retrieve a library listing:
* iTunes 10.5.2
* iTunes 10.4.2
* iTunes 9.7.1
* Rhythmbox 0.12.8
* Banshee 1.6.1
I can't test with Amarok since I don't have this client.
2012-01-02 04:22:39 -05:00