Commit Graph

6058 Commits

Author SHA1 Message Date
Alain Nussbaumer
aef1c5aa3b [web] Generate index.css and index.js 2023-06-29 22:52:21 +02:00
Alain Nussbaumer
0e0eb474eb [web] Fix a bug preventing the options to be correctly hidden on the composer pages.
Now, when using the chevron (up and down), the option menu is revealed or hidden properly.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
82db8141ea [web] Use constant for interval
Instead of having the number 1000 written in multiple places, it is now a constant.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
979e60630e [web] Fix spacing of pages due to changes in the Now Playing Page
The top and bottom spacing for all the pages have been streamlined. Moreover, CSS styles have been reduced.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
181a0f171d [web] Make slider handle bigger on mobile devices
The handle of sliders - volume and progress - is now better reachable on mobile devices
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
395dd0e3d4 [web] Make a bigger hit box for the slider
The sliders can now be grabbed more easily.
2023-06-29 22:52:21 +02:00
Alain Nussbaumer
eeb4d328c8 [web] Improve user interaction with sliders for output volume and music progress bar #1620
The sliders for output volume and the music slider have been optimised and simplified (one library less) to ensure easier user interaction.
2023-06-29 22:52:21 +02:00
ejurgensen
b7a52d1761 Fix address error generated by mkdocs - mk2
Fix "does not appear to be an IPv4 or IPv6 address"
2023-06-22 22:21:27 +02:00
ejurgensen
dcdf4eacdc
Fix address error generated by mkdocs
Fix "does not appear to be an IPv4 or IPv6 address"
2023-06-22 16:30:13 +02:00
Alain Nussbaumer
38090bd73d [web] Fix missing translation in the search page
Translation of the placeholder in the search bar (library and Spotify) is now translated.
2023-06-21 20:34:39 +02:00
Alain Nussbaumer
f87c9d510f [web] Fix paths in generated index.html
Wrongly generated paths in the index.html had been committed.
2023-06-11 19:24:56 +02:00
Alain Nussbaumer
7f1febe9e1 [web] Replace custom styles with standard Bulma styles
Wherever possible, out of the box Bulma styles are now used instead of custom defined ones.
2023-06-11 08:44:45 +02:00
Alain Nussbaumer
6bb5578c3a [web] Use of Bulma color variables wherever possible
Avoid hard coded colors in the style sheet by using Bulma variables.
2023-06-11 08:32:52 +02:00
Alain Nussbaumer
36d76d7e3e [web] Fix for elongated cover artworks being distorted
Elongated cover artworks were distorted when displayed on album lists.
2023-06-11 08:27:45 +02:00
Alain Nussbaumer
bbe29a7a63 [web] Fix icon when track is not playable
Spotify tracks that are not playable have now a "not allowed" cursor when hovered.
Moreover, the Bulma CSS class is now used for clickable items instead of a custom one.
2023-06-10 19:22:29 +02:00
Alain Nussbaumer
6a2f85e04f [web] Fix for Spotify playlist not being played properly
If a Spotify playlist is containing unplayable tracks (e.g., wrong market), the position of the subsequent tracks in the playlist must be changed accordingly.
Moreover, the album property was provided for no reason.
2023-06-10 18:25:12 +02:00
Alain Nussbaumer
3b81791cd0 [web] Fix missing translations in modal dialog playlist view
The path and the playlist types are now translated.
2023-06-10 13:48:58 +02:00
Alain Nussbaumer
0bc13e7c63 [web] Fix for Spotify playlists with incorrect count of tracks and missing market data
Some Spotify playlists contain null tracks, thus provoking an incorrect count of track.
Moreover, the market data was missing in the API request.
2023-06-10 13:46:33 +02:00
Alain Nussbaumer
6183fafaea [web] Rename Audio Files to Files only
For consistency with the rest of the pages, the "Audio Files" setting is renamed "Files"
2023-06-08 22:17:55 +02:00
Alain Nussbaumer
9494f49147 [web] Fix missing translations
In the Spotify pages FeaturedPlaylists and NewReleases, their titles are now translated.
2023-06-08 21:51:03 +02:00
Alain Nussbaumer
387e531d64 [web] Cleanup of code to simplify
Useless methods have been removed and code has been partially cleaned up.
2023-06-07 21:25:54 +02:00
Alain Nussbaumer
3a1cc63e8f [web] Fix cover artwork display on different pages #1506
On some pages, the cover artwork was overlapping or not displayed properly. Moreover, the use of the component CoverArtwork has been generalised.
2023-06-07 18:55:44 +02:00
Alain Nussbaumer
931c7477c3 [web] Align the presentation of list of tracks
Makes the list of Spotify tracks ressemble the standard list of tracks.
2023-06-07 15:06:02 +02:00
Alain Nussbaumer
a38da31d17 [web] Fix of wrong French translation
In the page listing the artists, the count of them was not properly translated.
2023-06-05 20:38:15 +02:00
Alain Nussbaumer
65b16c60fb [web] Add hint on buttons of the audio player when hovering them #1512
When hovering the buttons of the player, a short description is displayed. Moreover, the seek buttons are explicit now.
2023-06-04 18:25:47 +02:00
Alain Nussbaumer
f454e9229e [web] Remove never called method
The method scrollToTop was a relic of the past and has been removed. The scrolling is now done in ContentWithHeading.
2023-06-04 15:59:21 +02:00
Alain Nussbaumer
a1046f3913 [web] Fix for items not displaying because of their name
Albums, artists, composers, genres, and any other items listed on page where they appear sorted by names are now all displayed properly.
2023-06-04 13:54:01 +02:00
Alain Nussbaumer
d6dd790569 [web] Generate htdocs
htdocs directory content has been generated.
2023-06-03 19:50:52 +02:00
Alain Nussbaumer
78b50bc088 [web] Bump to newer versions of packages
Newer versions of JavaScript packages are now used.
2023-06-03 19:49:22 +02:00
Alain Nussbaumer
0fcf99c8e9 [web] Remove unused play_track function
The play_track function was useless because already present in the ListTracks component.
2023-06-03 19:23:43 +02:00
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
8e4a3fe16a [web] Add missing translation
The French translation for the word "Search" was missing.
2023-06-03 08:40: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
784de0c4a1 [web] Fix for translations not being displayed
In the Now Playing page, translations for an empty queue where not displayed.
2023-06-02 22:22:32 +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
ejurgensen
82fdb7f121
Merge pull request #1610 from owntone/streaming_ffmpeg6
Refactor mp3 streaming/fix for ffmpeg 6
2023-05-12 23:20:17 +02:00
ejurgensen
f998b1f3dd [streaming] Change how metadata is delivered to http streaming
This gets rid of player locks + the special header file outputs/streaming.h
2023-05-12 22:35:10 +02:00
ejurgensen
6364515fb7 [streaming] Use player_streaming_register() for thread safety
Also means we might be able to drop the special header file for
outputs/streaming.c making it a bit more like a regular output module.
2023-05-11 22:30:36 +02:00
ejurgensen
dedd4a95c2 [player] Add player_streaming_register() and _deregister() 2023-05-11 22:30:36 +02:00
ejurgensen
537012440b [streaming] Fix mp3 streaming not working with ffmpeg 6
ffmpeg 6 requires fixed size frames for the encoder, so this commit refactors
the mp3 streaming to do support that. Also uses outputs_quality_subscribe which
potentially has better performance (e.g. a 48000 sample rate source will only
be resampled once if both airplay and mp3 streaming want 44100), and makes it
easier to create fixed size frames.

Resolves #1601
2023-05-11 22:30:36 +02:00
ejurgensen
701bad466e [outputs] Add helpers for output buffer copy and free 2023-05-11 22:30:36 +02:00
ejurgensen
cd62070fdb [xcode] Add "samples_per_frame" query parameter 2023-05-11 22:30:36 +02:00
Alain Nussbaumer
0d095b3037 Fix for #1606 2023-05-11 11:24:34 +01:00
ejurgensen
4df644eb3a [mdns] Fix possible deref of null *addr in browse_resolve_callback()
Regression from PR #1599, commit e7a7355

Fixes #1604
2023-05-04 22:39:22 +02:00
ejurgensen
2318739a58 [evrtsp] Proper enum return type for evrtsp_parse_headers + evrtsp_parse_firstline
Fixes compiler warnings
2023-04-25 23:09:25 +02:00
ejurgensen
580ba924a4 [httpd] Remove needless test (always true) 2023-04-25 23:04:44 +02:00