Commit Graph

256 Commits

Author SHA1 Message Date
Alain Nussbaumer
1b71cf2a15 [web] Fix inability to start from a specific track of an album
In the album view, whatever the chosen track, the player always started from the first track of the album.
2023-06-03 19:22:02 +02:00
Alain Nussbaumer
6bf40c139d [web] Remove console logging
Console logging has been removed from all the pages.
2023-06-03 18:58:11 +02:00
Alain Nussbaumer
fc5d284588 [web] Remove useless condition
No action is taken from this conditional test and therefore can be removed.
2023-06-03 18:53:39 +02:00
Alain Nussbaumer
aa3127167b [web] Beautify code
The source code has been beautified to follow the coding standards.
2023-06-03 18:52:17 +02:00
Alain Nussbaumer
025a1c73a8 [web] Fix non-closing album modal dialog
When clicking on the artist name in the album modal dialog, the dialog was not close.
2023-06-03 18:44:49 +02:00
Alain Nussbaumer
9bd68ca306 [web] Fix an issue preventing removal of RSS podcasts #1616
RSS podcasts can now be removed. Moreover, the remove option is not shown anymore to non-RSS podcasts.
2023-06-02 23:13:44 +02:00
Alain Nussbaumer
b0f418abda [web] Add missing translations
Translations were missing for the remove podcast feature. A cleanup of the German translation files has been done as well.
2023-06-02 22:13:38 +02:00
Alain Nussbaumer
c6b4f565a5 #1473 Add sort by rating for composer, genre, and artist tracks. 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
879feab518 [web] Fix for error messages not displaying #1500 2023-01-23 04:37:43 -08:00
whatdoineed2do/Ray
dd1b39b347 [web] directory modal handling fix 2023-01-21 21:46:14 +00:00
chme
431ad51b66 [web] Fix linting error (vue/no-v-text-v-html-on-component) 2022-06-16 06:45:26 +02:00
chme
f167f3c2fc [web] Fix display of path in directory modal 2022-06-15 20:04:54 +02:00
chme
58c6b2891c [web] Revert icon changes (fixes ignored size attribute) 2022-06-15 20:04:54 +02:00
Alain Nussbaumer
c020905f2e [web] #1493 Fix directory modal dialog not showing up 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
f11c66c42d [web] Fix missing translation. Detect user locale 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
afb897aa47 [web] Fix translation for genre page. Alignment of logic between artist, composer, and genre pages when navigating to albums or tracks. 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
6221f40e96 [web] Fix missing translation in audiobook page. Reorganise some translations to be more coherent. 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
ba7cea01e4 [web] Missing translations in search page 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
76a9339605 [web] Missing translations in track dialog 2022-06-09 10:43:03 +02:00
Alain Nussbaumer
38ad945ec4 [web] Fix broken album dialog 2022-06-09 10:43:03 +02:00
chme
3788994307 [web] Delay loading of album artwork in lists
Avoids fetching artwork that is only visible for a very short time while fast scrolling through the list.
2022-06-03 07:45:48 +02:00
Alain Nussbaumer
b788273e4c Code formatting, translation mistakes, and removal of useless libraries. 2022-05-29 18:49:00 +02:00
Alain Nussbaumer
167ba86211 #1458 Translation of Web UI 2022-05-20 13:44:22 +02:00
chme
45b192255a [web] Show stream playlists (rss, radio) only if config option "radio_playlists" is set to true 2022-04-17 10:05:50 +02:00
chme
7fff11ef30 [web] Only include icons in bundle that are used in the web interface 2022-04-17 10:05:50 +02:00
chme
81491367fc [web] Replace date library moments.js with luxon 2022-04-15 20:17:16 +02:00
chme
c714592a31 [web] Do not show audiobooks in genre/composer listings for music 2022-04-08 17:53:16 +02:00
chme
0772997e27 [web] Add album/track count to composer pages 2022-04-08 17:53:16 +02:00
chme
01f4f8b137 [web] Add album/track count in genre views 2022-04-08 17:53:16 +02:00
Ben Willmore
decea8be66 Use vuex mutation instead of manipulating state directly 2022-03-19 07:04:37 +01:00
Ben Willmore
f484f1194b Search page: remember whether library or spotify is selected 2022-03-19 07:04:37 +01:00
chme
27e2274d8a [web] Refactor lists to improve performance
Reduces the number of Vue components that need to be created/managed.
Instead of a Vue component for each item, we now only have one Vue
component for the whole list of items.
2022-03-19 07:04:37 +01:00
chme
6519b18aa0 [web] Fix linting errors 2022-03-19 07:04:37 +01:00
chme
c78f861f45 [web] Format web sources with prettier and run fix linting errors 2022-03-19 07:04:37 +01:00
chme
de097fcf94 [web] Migration to Vue 3 and Vite 2022-03-19 07:04:37 +01:00
chme
ad96321c24 [web-src] Add option to only update a single library source 2022-01-22 12:12:41 +01:00
chme
b0037afa05 [web-src] Fix spotify playlist tracks not showing 2022-01-16 11:14:49 +01:00
whatdoineed2do/Ray
269842d30a [web-src] add composer support 2021-12-29 13:46:30 +00:00
chme
791d3610fd [web] Display info text if spotify track is not playable
Additionally set market query parameter for albums and tracks. According to the spotify documentation, this should not be necessary, as the market for the user account should be used if not set.
2021-12-26 19:52:00 +01:00
chme
4bc8719aaa [web] Fix http stream button not clickable in mobile view 2021-12-26 19:50:16 +01:00
whatdoineed2do/Ray
af91d99468 [web-src] podcast handling of propogated 'play_count_changed' event 2021-09-30 12:52:53 +01:00
chme
acddb378b9 [web-src] Add "comment" field to track details 2021-07-04 14:59:05 +02:00
chme
55a92e84c2 [web-src] Rename forked-daapd to OwnTone 2021-05-13 16:03:10 +02:00
chme
d5f8129b71 [web-src] Fix for wrong AirPlay output icon 2021-01-11 20:00:06 +01:00
chme
e168918b95 [web-src] Remove now unused ModalDialogAlbums 2021-01-11 19:40:05 +01:00
chme
1a6c76d990 [web-src] Refactor "recently added" - group in JS instead of doing 3 queries against the back end 2021-01-11 19:40:05 +01:00
whatdoineed2do/Ray
eacb6a17eb [web-src] Settings int field hanlder 2021-01-11 19:40:04 +01:00
whatdoineed2do/Ray
a9e365eb3e [web-src] modal for multiple albums 2021-01-11 19:40:04 +01:00
chme
b7369afc50 [web-src] Fix switching to Spotify search with empty query 2020-11-22 10:17:37 +01:00
chme
94bdd18648 [web-src] Fix missing cover update for streams 2020-11-21 11:59:28 +01:00
chme
cbfea854d2 [web-src] Search tab buttons now trigger search 2020-11-21 11:06:18 +01:00
whatdoineed2do/Ray
2057d8cf0a [web-src] random playlist playlist modal fix
the 'uris' is passed from page/PagePlaylist.vue to handle a dynamic 'random'
smartpl playlist - we cannot add via 'playlist.uri' because when it will ask
the server for that uri it will generate another set of tracks, different to
the ones on display of the playlist page
2020-10-26 11:27:15 +00:00
chme
c5275e4428 [web-src] Hide burger menu on showing "Update library" dialog 2020-10-18 09:58:03 +02:00
chme
d6d6e93c3b [web-src] Use kebap-case for events
Otherwise ESLint will report errors
2020-10-18 09:44:59 +02:00
chme
3b5e08331b [web-src] Show release date in music album listings 2020-10-18 09:44:59 +02:00
chme
bd099dc4be [web-src] Turn "Update library" into an action 2020-10-18 09:44:59 +02:00
chme
5c3c0be348 [web-src] Rename "About" to "Update Library" 2020-10-17 07:43:40 +02:00
chme
6fcdab08ee [web-src] Add metadata to artist details 2020-10-11 07:53:52 +02:00
chme
efb647d013 [web-src] Artists/albums list sort + filter 2020-10-11 07:53:52 +02:00
chme
1384aef891 [web-src] Move option "up" button out from IndexButtonList component 2020-10-11 07:53:51 +02:00
chme
ee4ec0c9eb [web-src] Refactor track and playlis listings 2020-10-11 07:53:51 +02:00
chme
886754e6ad [web-src] Audiobooks index list 2020-09-27 19:24:39 +02:00
chme
91ec155ecd [web-src] Refactor albums lists to use new ListAlbums component 2020-09-27 19:13:07 +02:00
chme
dbcd391331 [web-src] Refactor album+artist lists and add audiobooks artist page 2020-09-27 19:13:07 +02:00
chme
bfa2497dd5 [web-src] Add metadata fields to album dialog 2020-09-27 19:13:07 +02:00
whatdoineed2do/Ray
ee49d48fbc [web-src] Apply patch from whatdoineed2do for playlist dialog 2020-09-27 19:13:07 +02:00
Tucker Kern
39b14ff8d4 Use relative paths in web interface to ease reolcation or proxying 2020-09-27 19:13:07 +02:00
chme
6f4970545f [web-src] Turn "radio" into top level item and allow customization of
visible menue items
2020-09-27 19:13:07 +02:00
chme
4e353d4c36 [web-src] Lazy creation of generated cover artwork
This should improve the performance in large album listings by only creating the generated image for covers that are displayed.
2020-09-27 19:13:07 +02:00
chme
d0e4153859 [web-src] Show cover artwork in Spotify album listings 2020-09-27 19:13:07 +02:00
chme
48e766e1ae [web-src] Show cover artwork in album listings 2020-09-27 19:13:07 +02:00
chme
9c4c25f507 [web-src] Start implementing audiobooks authors page 2020-09-27 19:13:07 +02:00
chme
93a170690e [web-src] Remove link to "admin" page
All functionality of the admin page has been moved to the "settings" page
2020-07-01 07:32:12 +02:00
chme
66e482d629 [web-src] Add radio page listing all radio streams 2020-07-01 07:32:12 +02:00
chme
b15b5c88fa [web-src] Only show quality informations if they are available 2020-07-01 07:32:12 +02:00
chme
a36cd47f24 [web-src] Localize dates in dialogs/pages for Spotify tracks 2020-06-30 08:28:32 +02:00
chme
d2b5e82837 [web-src] Show album cover artwork in album page 2020-06-30 08:28:32 +02:00
chme
cea0bf09d0 [web-src] Add cast icon for chromcast outputs 2020-05-03 07:12:54 +02:00
chme
691fff20bf [web-src] Add spacing in touch top menu to fix scrolling issue in iOS 2020-05-03 07:12:54 +02:00
chme
4188a54e37 [web-src] Fix missing scrollbars in navbar menus 2020-05-02 08:15:03 +02:00
chme
fe0ca815a7 [web-src] Always show cover artwork in album dialog
If no artwork is available or not yet loaded, falls back to the
generated cover artwork. Avoids jumping of dialog after loading of
remote image finished.
2020-04-20 19:24:25 +02:00
chme
4b1688ceb8 [web-src] Generate cover image if not available for now playing page,
and some styling changes for the navbars
2020-04-18 07:02:45 +02:00
chme
bbacf3e406 [web-src] Add seek forward/backward buttons for podcasts/audiobooks 2020-04-18 07:02:03 +02:00
whatdoineed2do/Ray
45e7816637 [web-src] skip fwd/back only for non url/pipe 2020-04-18 07:02:03 +02:00
whatdoineed2do/Ray
cb6b1919a8 [web-src] add fast skip fwd/back on now playing
Conflicts:
	web-src/src/pages/PageNowPlaying.vue
2020-04-18 07:02:03 +02:00
chme
b298fc1170 [web-src] Restyling of navbars and now playing page 2020-04-18 07:02:03 +02:00
chme
1d24622c99 [web-src] "add podcast" dialog updates 2020-04-15 20:17:24 +02:00
chme
af2c79a2f4 [web-src] Refactor "remove podcast" handling 2020-04-15 20:17:24 +02:00
chme
77b4ea657a [web-src] Move "mark all played" to album modal 2020-04-15 20:17:24 +02:00
chme
52d37b883c [web-src] Update to Vue CLI 4 and fix linter issues 2020-04-12 09:41:01 +02:00
whatdoineed2do/Ray
7481365dc2 [web-src] RSS feed maintainence updates to podcast pages and new add/remove RSS modal 2020-04-11 18:34:52 +02:00
chme
baf90f689f [web-src] Show pop up dialog for remote pairing requests 2020-04-11 18:34:52 +02:00
chme
a0cf9560a4 [web-src] Add settings page for artwork providers 2020-04-11 18:34:52 +02:00
chme
5281b66688 [web-src] Show playlist folders 2020-03-08 19:13:17 +01:00
chme
cbd7001fb3 [web-src] Show album type and release date for spotify albums 2020-01-12 10:45:10 +01:00
chme
ccb54322c4 [web-src] Add online services and pairing/verification settings pages 2020-01-12 10:45:10 +01:00
chme
f1742b18b3 [web-src] Fix multiple triggering of navbar-links routes 2019-10-27 07:43:42 +01:00
chme
7a236a21b8 [web-src] Disable play/pause/etc. buttons if queue is empty 2019-10-26 10:08:38 +02:00
chme
e8ead500c5 [web-src] make outputs and settings buttons clickable 2019-10-26 09:23:51 +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
24d9dbdc0f [web-src] Allow pausing all http streams 2019-07-14 07:28:35 +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
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
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
eaea9bd4f8 [web-src] Fix missing pause-button for spotify songs 2019-06-15 13:26:18 +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
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
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
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
38611f2a77 [web-src] Fix genre link in queue item dialog 2019-02-20 10:34:15 +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
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
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
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
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
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
2a3bcead37 [web-src] Fix generating id for index nav (name_sort instead of name) 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
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
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
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