ejurgensen
04d5246cc9
Merge branch 'whatdoineed2do-rss1'
2020-04-04 21:26:16 +02:00
ejurgensen
4fcd0ba781
[daap] Adjust user_agent_filter() so code matches intention
2020-04-04 21:25:14 +02:00
ejurgensen
5651ce7694
[library] Use item title from RSS feed
2020-04-04 21:07:16 +02:00
ejurgensen
dbc798da4f
[-] Workaround for mxml 2.10 memleak
...
2.10's mxmlDelete memleaks, and mxml is used in many parts of forked-daapd. So
to avoid that we ship upstream's fixed version of mxmlDelete and use that.
2020-04-04 21:07:16 +02:00
ejurgensen
2d8521139c
[library] Add action to library_schedule_callback()
...
Makes it possible for the caller to request that a previous callback is
replaced, so we don't end up with more and more callbacks. Also add other
options for future use.
2020-04-04 21:07:16 +02:00
ejurgensen
2af7296723
[library] Ignore RSS items without URL's
2020-04-04 21:07:16 +02:00
ejurgensen
1a45a2acda
[db] Fix db_pl_delete so it won't delete files belonging to other pl's
2020-04-04 21:07:16 +02:00
ejurgensen
16a3b8878f
[jsonapi] Change library_item_add, add delete pl and drop library_item_remove
2020-04-04 21:07:16 +02:00
ejurgensen
59fa33311d
[library] Refactor RSS scanner
2020-04-04 21:07:16 +02:00
ejurgensen
b19314e814
[db] Add cleanup to db_pl_delete(), remove db_pl_purge()
2020-04-04 21:07:16 +02:00
ejurgensen
2ee5f6d747
[library] Change implementation of item_add, event cb and drop item_remove.
2020-04-04 21:07:16 +02:00
whatdoineed2do/Ray
5cddf0e347
[jsonapi] RSS support: new /api/library/item_{add,remove} endpoints for adding items to library - for RSS at this time and extend PL_ search and queries to incl PL_RSS
2020-04-04 21:07:16 +02:00
whatdoineed2do/Ray
10b10f8037
[daap] RSS support: podcasts visible on IOS Remote app
...
IOS appl generates request for itunes.extended-media-kind: 4,36,6,7 when
navigating "Podcasts" item on menu
2020-04-04 21:07:16 +02:00
whatdoineed2do/Ray
d40131d38d
[scan] RSS support: new library source - RSS scanner; periodically updates RSS feeds as found in db once subuscribed. Auto translates apple podcasts to RSS link
2020-04-04 21:07:16 +02:00
whatdoineed2do/Ray
8b02ea9d6b
[library] RSS support: new library interface item_{add.remove} and all library modules to register (timer) events
2020-04-04 21:07:16 +02:00
whatdoineed2do/Ray
57b0626906
[db] RSS support: new PL_RSS db value and new pl purge
2020-04-04 21:07:16 +02:00
ejurgensen
9bb9576849
Merge pull request #927 from neheb/patch-1
...
[websocket] add header for errno
2020-03-30 07:57:08 +02:00
Rosen Penev
08b055dd2b
websocket: add header for errno
...
fixes compilation under newer musl.
2020-03-29 20:51:19 -07:00
ejurgensen
f61dfa0529
[db] db_pl_delete_bypath() must also delete disabled playlists
...
Otherwise we end up with a bunch of disabled playlists in the db.
2020-03-29 00:33:44 +01:00
Christian Meffert
5bd32135ee
Merge pull request #916 from whatdoineed2do/json-playlist-play-count-update
...
[json] enable playlist play_count
2020-03-28 07:41:24 +01:00
ejurgensen
114881cd1c
[misc] Add comment for commit 27138ed
2020-03-25 16:13:55 +01:00
ejurgensen
6f57026f63
Merge pull request #926 from uvjustin/master
...
Update misc.c
2020-03-25 16:09:45 +01:00
uvjustin
27138edd55
Update misc.c
...
Allocate extra byte for null termination of string
2020-03-25 14:57:23 +08:00
ejurgensen
cfecb4a5f5
[scan] Also support nested smart playlists (closes issue #923 )
2020-03-23 23:46:52 +01:00
whatdoineed2do/Ray
a31430f671
[jsonapi] album/playlist inc uses db specific methods
2020-03-23 13:42:46 +00:00
whatdoineed2do/Ray
286525a85c
[db] inc playcount using filter
2020-03-23 13:39:59 +00:00
whatdoineed2do/Ray
1a912d9808
[jsonapi] enable album track play_count update
2020-03-23 13:39:59 +00:00
whatdoineed2do/Ray
42d147af3a
[README] new playlist track update endpoint
2020-03-23 13:39:59 +00:00
whatdoineed2do/Ray
a6d8d55bd4
[jsonap] new PUT /api/library/playlists/[[:digit:]]+/tracks endpoint
...
enable playlist tracks play_count updates: 'increment', 'reset', 'played'
2020-03-23 13:39:59 +00:00
chme
ec8ce91baa
[jsonapi] Use synchronous pairing request command
2020-03-18 14:56:05 +01:00
chme
accab800ac
[pairing] Refactor remote_pairing to use cmdbase
...
This allows to call a sync command that returns the outcome of a pairing
request. And that will be useful for the JSON API and the web interface.
2020-03-18 14:56:05 +01:00
ejurgensen
3b27d50f97
Merge pull request #907 from chme/artwork_remove_libspotify_refactor
...
Remove libspotify as artwork source + refactoring
2020-03-15 18:27:18 +01:00
chme
67fd555b52
[artwork] Refactor artwork_get_dir_image
2020-03-14 07:03:06 +01:00
ejurgensen
9452d3d8d0
Merge pull request #915 from chme/web_pl_folders
...
Show playlist folders in player web interface
2020-03-08 22:58:23 +01:00
chme
130be2cf06
temp! [htdocs] Rebuild web interface
2020-03-08 19:13:17 +01:00
chme
5281b66688
[web-src] Show playlist folders
2020-03-08 19:13:17 +01:00
chme
c75ff89769
[jsonapi] Do not fail on /api/library/playlists/0
...
The root playlist folder does not exist in the DB therefor add special
handling and return some fixed data.
2020-03-08 19:13:17 +01:00
Christian Meffert
1bf094ed81
Merge pull request #906 from chme/playlist_folder2
...
JSON API - Support for Playlist Folders
2020-03-08 07:31:09 +01:00
ejurgensen
51b7a8854c
[scan] Add support for MUSICBRAINZ_ALBUMID tag (fixes issue #914 )
2020-03-06 19:07:06 +01:00
ejurgensen
37510db748
[mdns] Fix possible incorrect library ID in _dacp._tcp ( fixes #899 )
...
If the library ID started with one or more 0's then it would not be printed in
the announcement, which meant that DACP commands would not work due to
incorrect ID.
2020-03-02 19:53:43 +01:00
ejurgensen
eb049489b4
Merge pull request #913 from whatdoineed2do/http-slist-leak
...
[http] leak fix for curl_slist_append()
2020-02-29 18:22:09 +01:00
whatdoineed2do/Ray
81f4834814
[http] leak fix for curl_slist_append()
2020-02-28 21:57:10 +00:00
ejurgensen
64c6007aad
[db] Fix memleak from unexpected return value, closes issue #909
...
On success the function was returning SQLITE_OK = 100, not 0, which made
json_reply_library think that the operation failed.
Credit @whatdoineed2do
2020-02-25 21:58:18 +01:00
chme
6ba45e8d94
[artwork] Remove libspotify based artwork handler
2020-02-25 05:41:49 +01:00
chme
73a9ac16d6
[README] Update JSON API docs with playlist folders support
2020-02-24 21:27:53 +01:00
chme
36ebf7d06c
[jsonapi] Add support for playlist folders
2020-02-24 21:27:53 +01:00
ejurgensen
248f82f3c8
[db] Fixup fixup in commit #00de0a3 (upgrade dbvers to 21.3)
...
Forgot to include db_upgrade to v21.3
2020-02-23 21:26:00 +01:00
ejurgensen
bdc630baca
Merge branch 'artwork_onlinesrc1'
2020-02-23 20:31:40 +01:00
ejurgensen
1ed10771f1
[artwork] Get enablement of online srcs from settings
...
Settings will take care of consulting the cfg file now
2020-02-23 20:30:35 +01:00
ejurgensen
9b9d2d0fb7
[settings] Add handlers to set default settings, e.g. from the cfg file
2020-02-23 20:30:35 +01:00