Commit Graph

4731 Commits

Author SHA1 Message Date
ejurgensen
ddb27108ac
Merge pull request #697 from chme/spotify_playlist_uri
Switch to new Spotify web api playlist uris and support adding artist tracks to queue
2019-02-20 11:54:46 +01:00
chme
2e70d39a3a [htdocs] Rebuild player web interface v0.5.0
- Support links to album, artist and genre from queue item modal (#686)
- Improve podcasts views in player web interface (#689)
- Add play stream option in menu (pr #693)
- Add button to open details dialog in artist/album/playlist views (pr
- Fix links to genre page (pr #693)
- Update dependencies
2019-02-20 10:36:51 +01:00
chme
6c546b522c [web-src] Update dependencies and set internal version to 0.5.0 2019-02-20 10:35:35 +01:00
chme
7a30a50bd7 [web-src] Add info button to artist tracks, genre and spotify pages 2019-02-20 10:34:15 +01:00
chme
3bfc8d49ee [web-src] Fix audio context creation in Safari 2019-02-20 10:34:15 +01:00
chme
38611f2a77 [web-src] Fix genre link in queue item dialog 2019-02-20 10:34:15 +01:00
chme
435df3fe8f [spotify] Add support for adding spotify artist tracks to the queue 2019-02-20 10:10:53 +01:00
chme
3d494d5f58 [spotify] Switch to new web api playlist endpoints
The old playlist endpoints containing the user are deprecated and will
eventually be removed
(https://developer.spotify.com/community/news/2019/01/15/update-changes-to-playlist-uris/).
2019-02-20 09:30:02 +01:00
ejurgensen
a5674cb403
[docs] Add note about installing avahi-daemon
Closes #696
2019-02-20 08:52:48 +01:00
chme
d0ee68b8e5 [web-src] Remove console log 2019-02-18 13:27:39 +01:00
Christian Meffert
09c1cf1563
Merge pull request #693 from chme/web_player
Add option to stream audio from web interface
2019-02-18 13:18:14 +01:00
chme
427bce765f [web-src] Fix missing master volume icon 2019-02-18 13:06:09 +01:00
chme
c8f6cdd3d6 [web-src] Add link to mp3 stream in menu 2019-02-18 12:54:43 +01:00
chme
66cd6ca19f [web-src] Support stream playback in chrome/firefox on android 2019-02-18 12:47:09 +01:00
chme
5c5c3e4a47 [web-src] Add links to Spotify artist/album in track details dialog 2019-02-18 11:18:55 +01:00
ejurgensen
a8ddbc64ac
[docs] Update INSTALL
Fixes #694
2019-02-18 09:43:07 +01:00
chme
99e0cfe6bb [web-src] Fix error following genre links (add missing url encoding of genre name in url) 2019-02-17 11:33:23 +01:00
chme
d51f9b0722 [web-src] Add info buttons to album/artist/playlist/files pages
Adds a button to open the modal details dialog for 
album/artist/playlist/directory
2019-02-17 11:24:30 +01:00
chme
dec916a7eb [web-src] add mute button 2019-02-16 06:48:45 +01:00
chme
3b718ffb16 [web-src] Add option to stream audio from player web interface
The audio implementation is based on
https://github.com/rainner/soma-fm-player and makes use of the  HTML5
Web Audio Context API.
2019-02-14 12:19:29 +01:00
chme
7a2ba572f8 [streaming] Remove timeout for mpeg stream requests
Remove the need for clients to regularly reconnect to the mp3 stream. As
long as the connection is open, we are sending mp3 stream data.
2019-02-14 12:15:11 +01:00
Christian Meffert
98421aae4d
Merge pull request #692 from chme/web_player
Small fixes/adjustments to the queue item model
2019-02-14 09:56:42 +01:00
chme
0caa98d8ff [REAMDE] Update JSON API readme (add new queue item attributes) 2019-02-14 08:24:36 +01:00
chme
19c92df825 [web-src] Improve modal for queue items, if item is not part of the
library and adjust after renaming to "album_artist_id"
2019-02-14 08:24:03 +01:00
chme
3343e9cfc8 [jsonapi] Rename queue item "albumartist_id" to "album_artist_id"
Keeps it in sync with the naming in the track object. Also introduce a
helper function to add an int64 as a json string.
2019-02-14 08:22:50 +01:00
Christian Meffert
90a7c120c3
Merge pull request #689 from chme/web_podcasts
Improve podcasts views in player web interface
2019-02-13 15:47:22 +01:00
Christian Meffert
a38a21e21e
Merge pull request #686 from whatdoineed2do/db-q-now-playing-modal
[db,web-src] support links to album,artist from queue item modal like others modals
2019-02-13 15:46:51 +01:00
whatdoineed2do/Ray
b730a22408 [web-src] make consistent with other modals for links for album,album artist,genre 2019-02-12 09:21:39 +00:00
whatdoineed2do/Ray
17022c9103 [jsonapi] expose albumid/artistid persistent id on queue object 2019-02-12 09:21:39 +00:00
whatdoineed2do/Ray
7e02eb510d [db] add songartistid to queue tbl 2019-02-12 09:21:39 +00:00
chme
46995197ff [web-src] Only include media_kind music in music browse page 2019-02-10 08:21:15 +01:00
chme
72792d1e31 [web-src] Show progressbar for podcast track in progress 2019-02-10 08:21:15 +01:00
chme
52d685d6be [web-src] Add buttons to mark podcast track as new/played 2019-02-10 08:21:15 +01:00
chme
78ca795814 [web-src] Show new (unplayed) episodes in podcasts page 2019-02-10 08:21:15 +01:00
chme
8840a65ee6 [smartpl] Add "songalbumid" as valid query field 2019-02-10 08:21:15 +01:00
ejurgensen
b1622b5b91
Merge pull request #687 from chme/spotify_artwork_2
[spotify/artwork] Add spotify webapi as an additional artwork source
2019-02-09 11:07:47 +01:00
chme
9b8bff45ab [artwork/http] Check response code and content type
Extends the http_client_ctx to hold the response code for a request.
Also adds the content type header, if it was a https request (using
libcurl instead of libevent)
2019-02-09 08:35:20 +01:00
ejurgensen
cb49554608 [raop] Fix forgotten include of conffile.c in commit 18acb73 (fixes #688) 2019-02-07 21:14:13 +01:00
chme
733a521df8 [spotify/artwork] Add spotify webapi as an additional artwork source 2019-02-05 16:04:08 +01:00
chme
0ded6d63bf [db/jsonapi] New admin value for Last-Modified in JSON API header
This adds a new timestamp value "db_modified" into the admin db table.
In addition to the existing "db_update" admin value, this value is also
updated if rating, play-/skip-count or seek changes for a
media_info_file (files db table).

This should improve the caching behavior in clients of the JSON API
(especially the player web interface) in refreshing its data if some of
this values changes.
2019-01-31 09:42:53 +01:00
chme
694e1874ae [README] Update JSON API documentation (new endpoint for tracks, fix for
player/previous)
2019-01-31 09:42:53 +01:00
chme
3bc15e1278 [jsonapi] Add endpoint to update a tracks rating and/or play_count
New endpoint is PUT api/library/tracks/[id] and supported query
parameters are:
- rating: with values between 0 and 100
- play_count: with values "reset" (resets play_count and skip_count) or
"increment" (increments play_count)
2019-01-31 09:42:53 +01:00
chme
7d0e48eb0e [db] Add support for resetting play- and skip-count 2019-01-31 09:42:53 +01:00
chme
b9a7ce7dd2 [jsonapi] Add endpoint to retrieve details for a single track by its id 2019-01-31 09:42:53 +01:00
ejurgensen
c70f96fdec [db] Fix integer overflow in bind_mfi (ref issue #683)
Also drop DB_TYPE_CHAR since it's not really being used.
2019-01-30 23:34:00 +01:00
ejurgensen
7abf68200d [scan] Fix parsing of iTunes "Play Date" tag (fixes #683)
"Play Date" tag was seconds since 1904 (an Apple Mac HFS+ timestamp), not a
Unix timestamp as we assumed. Seems Apple themselves realised that wasn't a
great idea (+ not a proper plist date type), and therefore provide "Play Date
UTC" as an alternative.
2019-01-30 22:32:46 +01:00
chme
81753d44a7 [mpd] Report support for protocol version 0.20 2019-01-28 22:40:25 +01:00
chme
f77c216650 [mpd] Refactor parsing filter/window arguments and add support for
"group" argument in "list" command
2019-01-28 22:40:25 +01:00
chme
e015032292 [mpd] Add duration attribute with millisecond precision 2019-01-28 22:40:25 +01:00
chme
5bd94df4a6 [mpd] Add listfiles command
For now listfiles simply returns the same result as lsinfo (no support
for listing files not part of the library)
2019-01-28 22:40:25 +01:00