Commit Graph

762 Commits

Author SHA1 Message Date
chme
8ae382d818 [web-src] Show composer in "now playing" page depending on the settings
for "show_composer_now_playing" and "show_composer_for_genre"
2019-08-31 08:08:36 +02:00
chme
9ab1677f1f [web-src] Add a settings page to the player web interface to change web
interface specific options
2019-08-31 08:08:36 +02:00
chme
92fdb4e5f9 [htdocs] Rebuild player web interface (v0.5.4) 2019-07-14 10:21:31 +02:00
Chris Lenfert
d63632635c [htdocs] updates web app icons using new custom logo and includes
version number to refresh idevice homescreen icon
2019-07-14 10:21:31 +02:00
chme
883ded7077 [web-src] Fix lint error 2019-07-14 07:29:48 +02:00
chme
24d9dbdc0f [web-src] Allow pausing all http streams 2019-07-14 07:28:35 +02:00
chme
7794716350 [web-src] Update dependencies 2019-07-14 07:20:05 +02:00
Christian Meffert
e608b763ef
Merge pull request #752 from whatdoineed2do/db-queue-quality
db queue to incl media quality info
2019-07-09 20:19:10 +02:00
whatdoineed2do/Ray
19abbe5d5d [htdocs/web-src/README] review comments fixes 2019-07-09 13:54:59 +02:00
whatdoineed2do/Ray
e0a18082f7 [web-src/jsonapi] move endpoint /api/update as PUT operation 2019-07-09 13:54:59 +02:00
whatdoineed2do/Ray
8c024387ae [web-src/jsonapi] endpoint GET /api/update/meta -> PUT /api/rescan 2019-07-09 13:54:59 +02:00
whatdoineed2do/Ray
bf7c96d23f [web-src] forced meta rescan 2019-07-09 13:54:59 +02:00
chme
f5c94ace76 [web-src] Rename component for consistency 2019-07-07 08:24:34 +02:00
chme
03c50ba81e [web-src] Fix navbar links not working with burger menu visible 2019-07-06 15:21:29 +02:00
chme
5fff68bb13 [web-src] Consolidate burger menu handling on route change in router/index.js 2019-07-06 12:54:33 +02:00
chme
79f3faf991 [web-src] Dirty hack to avoid page jumping during navigation
Without this vue (router) renders the page navigating to in the center first and then the page jumps to the top.
2019-07-06 10:21:37 +02:00
chme
7d9f6738eb [web-src] Add helper function to append max size to artwork url 2019-07-06 09:21:47 +02:00
chme
02478becf0 [web-src] Small styling changes for the navbar/burger menu
- remove arrows from volume and setting dropdown links
- display categories in burger menu with bold text for better visual seperation
2019-07-06 08:31:00 +02:00
chme
9ea7af0215 [web-src] Opening burger menu should not change scroll position of current page 2019-07-06 08:11:30 +02:00
chme
f6e5e742be [htdocs] Rebuild player web interface (v0.5.3) 2019-06-15 13:34:53 +02:00
chme
eaea9bd4f8 [web-src] Fix missing pause-button for spotify songs 2019-06-15 13:26:18 +02:00
chme
9b90e0d376 [web-src] Update passing options to vue-draggable
Old way to pass options is deprecated
2019-06-15 13:12:04 +02:00
chme
acaf3d01f7 [web-src] Update dependencies in package.json 2019-06-15 13:08:54 +02:00
whatdoineed2do/Ray
48568678ea [web-src] queue/track modal displays codec type/bitrate/samplerate/channels 2019-06-12 16:53:48 +01:00
chme
3650a7573f [web-src] Restyling of queue save modal dialog 2019-05-30 11:23:22 +02:00
whatdoineed2do/Ray
ed9f05ac30 [web-src] 'save playlist' from PageQueue functionality 2019-05-30 07:24:39 +02:00
chme
f70ef3ad66 [htdocs] Rebuild web interface v0.5.2 2019-05-28 22:54:14 +02:00
chme
509141ebe3 [web-src] change styling of url-modal, default to play the stream and
set focus after showing the modal
2019-05-28 22:48:58 +02:00
chme
4c15c40b07 [web-src] Update dependencies 2019-05-28 21:31:54 +02:00
whatdoineed2do/Ray
18f4888bfc [web-src] missing modal display for URL stream (20c36cb48) 2019-05-19 15:44:15 +01:00
Christian Meffert
cbd8d8a44d
Merge pull request #740 from whatdoineed2do/library-https-stream
[library] accept https:// streams
2019-05-18 07:36:45 +02:00
whatdoineed2do/Ray
20c36cb48f [web-src] PageQueue: new button to add URL streams outside of library to queue 2019-05-12 11:21:34 +01:00
whatdoineed2do/Ray
fb32eca430 [web-src] url/http streams with known length are pausable 2019-05-12 11:08:59 +01:00
chme
aa0fd5b0cb [web-src] Update dependencies and increase version to 0.5.1 2019-02-23 11:02:12 +01:00
chme
d1f866bd76 [web-src] Add data/media kind to queue item dialog with links to spotify 2019-02-23 11:02:12 +01:00
chme
df455ce069 [web-src] Make use of extended queue/item/add endpoint
Should speed up starting playback from the web ui (reduces number of web 
api requests)
2019-02-23 11:02:12 +01:00
chme
d931385886 [web-src] Show track title for streams in bottom navbar
If queue item is a radio stream, title contains the radio stream name, 
artist contains the artist of the current streaming song and album 
contains the title of the current streaming song.
2019-02-23 11:02:12 +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
d0ee68b8e5 [web-src] Remove console log 2019-02-18 13:27:39 +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
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
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
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
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
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
d0e11457ee [htdocs] Rebuild player web interface v0.4.2
- Updated dependencies
- Allow connecting to websocket over wss://
2019-01-23 09:51:13 +01:00
Tyler Ball
0da24a3f90 support serving web interface via https proxy 2019-01-23 09:51:13 +01:00
chme
d45c7961af [htdocs/web-src] Update dependencies and rebuild player web interface
Fixes vulnerability in webpack-dev-server
2019-01-05 08:32:07 +01:00
chme
4ebf77896a [htdocs] Rebuild player web interface v0.4.0
- Only add/play tracks matching the genre in the genre pages
- Add new files page
- Workaround for the issue that forked-daapd cannot pause playback for
stream or a pipe
- Listen for "database" events to properly update the library stats and
display the correct links on the top nav bar
2019-01-05 07:43:08 +01:00
chme
9198dbc8a9 [web-src] Update library stats after "database" event
Fixes missing display of audiobooks/podcasts link in top navbar after 
adding the first audiobook/podcast (library updated through inotify and 
not with a full scan)
2019-01-05 07:43:08 +01:00
chme
f2ea608a49 [web-src] Stop playback if playing a stream or a pipe
forked-daapd can not pause playback from a stream or a pipe and returns 
an error and aborts playback in that case. This works around this issue 
by stopping playback if the now playing item is a stream or a pipe.
2019-01-05 07:43:08 +01:00
chme
c4cfbe024f [web-src] Files view 2019-01-05 07:43:08 +01:00
whatdoineed2do/Ray
b39e472e2a [web-src] genre play/add to Q uses genre track lists and not the album tracks (which may incl tracks of other genres) 2019-01-05 07:43:08 +01:00
chme
ef68e00b03 [htdocs] Rebuild player web interface v0.3.0
- fix for play shuffle
- index based navigation for artists, albums, genres, genre
albums/tracks
- dedicated genre tracks page
- refactor modal dialogs into separate components
- refactor list item components into functional components
- show queue item modal dialog in now playing page
- add composer to track and queue item modal dialog
- show cover artwork in album modal dialog
- reduce timeout for scroll behavior (should reduce ugly jumps
navigating to different routes)
2018-12-24 06:38:45 +01:00
chme
427772e3c8 [web-src] Add rating to track details 2018-12-24 06:38:45 +01:00
chme
7d4bf8e75e [web-src] Fix building index list for genre/album tracks (use title_sort instead of title) 2018-12-24 06:38:45 +01:00
chme
67af2cc6a9 [web-src] Refactor showing notification after queue add action 2018-12-23 10:35:34 +01:00
chme
b0bfa6be60 [web-src] Change style for info button in now playing page 2018-12-23 09:31:05 +01:00
chme
2a3bcead37 [web-src] Fix generating id for index nav (name_sort instead of name) 2018-12-23 09:31:05 +01:00
chme
7714558043 [web-src] Update dependencies 2018-12-23 09:31:05 +01:00
chme
c423266b73 [web-src] Add visual indication that for index nav 2018-12-23 09:31:05 +01:00
chme
7b07d9cee7 [web-src] Fix margin/padding top for media item lists in pages with index navigation 2018-12-23 09:31:05 +01:00
chme
11179f7ac5 [web-src] Add index navigation to artist tracks page 2018-12-23 09:31:05 +01:00
chme
8b37039b15 [web-src] Rename PageTracks to PageArtistTracks 2018-12-23 09:31:05 +01:00
chme
bb9bf36de7 [web-src] Reduce size of icon + text for actions in dialog footer 2018-12-23 09:31:05 +01:00
chme
63be54313f [web-src] Show cover art in spotify album dialog 2018-12-23 09:31:04 +01:00
chme
1d5d6f4858 [web-src] Add index button list to genre album/tracks page and generate index-id-tag in ListItemXXX 2018-12-23 09:31:04 +01:00
chme
1d21b7cc1d [web-src] Only show index button list if more than one entry is present 2018-12-23 09:31:04 +01:00
chme
f8f23ced86 [web-src] Reduce timeout for scroll behavior to 10 ms 2018-12-23 09:31:04 +01:00
chme
eefacbbf55 [web-src] Play single podcast track and do not add whole podcast as
context
2018-12-23 09:31:04 +01:00
chme
4fdc2e26d4 [web-src] Remove debug logging to js console 2018-12-23 09:31:04 +01:00
chme
e874276bdb [web-src] Refactor spotify modal dialogs into a separate components 2018-12-23 09:31:04 +01:00
chme
6e61c703be [web-src] Cleanup ListItemQueue and ModalDialogAlbum 2018-12-23 09:31:04 +01:00
chme
8f391ecd6a [web-src] Make ListItemXXX functional components 2018-12-23 09:31:04 +01:00
chme
219d9df024 [web-src] Add composer to track and queue item dialogs 2018-12-23 09:31:04 +01:00
chme
0358094908 [web-src] Add margin left/right to modal dialogs 2018-12-23 09:31:04 +01:00
chme
55e75dc850 [web-src] Show queue item details in now playing page
Make the cover artwork clickable to open the details dialog modal.
2018-12-23 09:31:04 +01:00
chme
382036687a [web-src] Refactor ListItemAlbum to be a functional component
This should improve performance of long album lists.
2018-12-23 09:31:04 +01:00
chme
6cd714a4f8 [web-src] Add cover artwork to album dialog 2018-12-23 09:31:04 +01:00
chme
5e85e0b024 [web-src] Refactor details modal dialogs into separate components
This will allow to open a dialog outside of the ListItem component. Also
reduces the size of the generated DOM tree by only including one dialog
per page (per object type) and not for each list item.
2018-12-23 09:31:04 +01:00
chme
0cc4699128 [web-src] Update package-lock.json 2018-12-23 09:31:04 +01:00
chme
73d9bf3ff1 [web-src] Fix styling of genre tracks/albums links 2018-12-23 09:31:04 +01:00
whatdoineed2do/Ray
df2b422a0c [web-src] handle 'context_uri' that have no direct db entries, such as smartpl generated 'all tracks' or 'all genre tracks' 2018-12-23 09:31:04 +01:00
whatdoineed2do/Ray
69c73e249d [web-src] dedicated 'genre tracks' page 2018-12-23 09:31:04 +01:00
chme
95b1cfc70b [web-src] Index based navigation for artists, albums, genres 2018-12-23 09:31:04 +01:00
chme
a1a8864270 [web-src] Do not set default position parameter
Starting shuffle playback results in starting playback in the middle of 
the shuffle queue
2018-12-23 09:31:04 +01:00
chme
7ef4e9dd74 [web-src] Make artwork responsive, change error handling if
an item has no artwork plus some small styling changes
2018-11-23 14:11:16 +01:00
whatdoineed2do/Ray
357a0e611a [web-ui] 'now playing' page displays artwork if available otherwise displays 'default non artwork' image located under htdocs/artwork-default.png 2018-11-23 14:11:02 +01:00
chme
c97f94fec2 [web-src] Starting playback now explicitely turns shuffle mode on/off
Additionally some small refactoring to make starting playback for an uri
easier.
2018-11-23 14:11:02 +01:00
chme
42e04177af [web-src] Add play button to PageArtist 2018-11-23 14:11:02 +01:00
chme
075c4cdb45 [web-src] Keep PageTracks in line with PageArtist 2018-11-23 14:11:02 +01:00
whatdoineed2do/Ray
08a370966d [webui] list all tracks for artist 2018-11-23 14:11:02 +01:00
whatdoineed2do/Ray
ef9a275c78 [webui] add genre tab mirroring album/artist functionality 2018-11-23 14:11:02 +01:00
chme
6578f60f01 [web-src] Reduce reconnect interval for web socket connection to 3s and
show number of reconnection attempts in notification message
2018-11-23 14:11:02 +01:00
chme
388c8868d5 [web-src] Update spotify-web-api and adapt to simpified playlist
endpoints
2018-11-23 14:11:02 +01:00
chme
e72fd88fb9 [web-src] Add "Add next" button to modal dialogs for
album/artist/track/playlist details
2018-11-23 14:11:02 +01:00
chme
6a520dee98 [web-src] Update dependencies 2018-11-23 14:11:02 +01:00
chme
fc3317c445 [web-src] Remove links to forked-daapd-web 2018-11-23 14:11:02 +01:00
chme
e4f288c5b4 [web-src] Change player web interface build system to use vue-cli v3
Also bumps the player web interface version to 0.2.0.

Previously the build was based on the vue.js webpack template. The
template is deprecated and the recommended method for setting up a vue
application is vue-cli. This also changes the build from using webpack
v3 to webpack v4.
2018-11-23 14:11:02 +01:00
chme
d5ab294172 Merge forked-daapd-web into forked-daapd 2018-10-01 12:54:15 -07:00