136 Commits

Author SHA1 Message Date
Brian Schrameck
4264a5c6ef
BPM metadata enhancement (#1087)
* BPM metadata enhancement

Related to #1036.

Adds BPM to the stored metadata about MediaFiles.

Displays BPM in the following locations:
- Listing songs in the song list (desktop, sortable)
- Listing songs in playlists (desktop, sortable)
- Listing songs in albums (desktop)
- Expanding song details

When listing, shows a blank field if no BPM is present. When showing song details, shows a question mark.

Updates test MP3 file to have BPM tag. Updated test to ensure tag is read correctly.

Updated localization files. Most languages just use "BPM" as discovered during research on Wikipedia. However, a couple use some different nomenclature. Spanish uses PPM and Japanese uses M.M.

* Enhances support for BPM metadata extraction

- Supports reading floating point BPM (still storing it as an integer) and FFmpeg as the extractor
- Replaces existing .ogg test file with one that shouldn't fail randomly
- Adds supporting tests for both FFmpeg and TagLib

* Addresses various issues with PR #1087.

- Adds index for BPM. Removes drop column as it's not supported by SQLite (duh).
- Removes localizations for BPM as those will be done in POEditor.
- Moves BPM before Comment in Song Details and removes BPM altogether if it's empty.
- Omits empty BPM in JSON responses, eliminating need for FunctionField.
- Fixes copy/paste error in ffmpeg_test.
2026-01-02 19:26:43 +00:00
Deluan
3ca2c5d0f6
Fix missing translation error in console. Closes #1038 2026-01-02 19:26:43 +00:00
Deluan
092ae1f986
Fix Song details row height 2026-01-02 19:26:40 +00:00
Deluan
ea3f12493c
Change size and position of QualityInfo in the Player 2026-01-02 19:26:38 +00:00
Neil Chauhan
263fffc067
Add 5-star rating system(#986)
* Added Star Rating functionality for Songs

* Added Star Rating functionality for Artists

* Added Star Rating functionality for AlbumListView

* Added Star Rating functionality for AlbumDetails and improved typography for title

* Added functionality to turn on/off Star Rating functionality for Songs

* Added functionality to turn on/off Star Rating functionality for Artists

* Added functionality to turn on/off Star Rating functionality for Albums

* Added enableStarRating to server config

* Resolved the bugs and improved the ratings functionality.

* synced repo and removed duplicate key

* changed the default rating size to small, and changed the color to match the theme.

* Added translations for ratings, and Top Rated tab in side menu.

* Changed rating translation to topRated in albumLists, and added has_rating filter to topRated.

* Added empty stars icon to RatingField.

* Added sortable=false in AlbumSongs and added sortByOrder=DESC in all List components.

* Added translations for rating, for artists and albums, and removed the sortByOrder=DESC from SimpleLists.
2026-01-02 19:26:36 +00:00
Deluan
b60dd45761
Fix console errors for QualityInfo component 2026-01-02 19:26:36 +00:00
Deluan
60e66ad6d6
Get lossless format list from server 2026-01-02 19:26:36 +00:00
Himanshu maurya
9399873f4c
Added quality info (#918)
* added quality info

* fixed formatting

* implemented various suggestions

* npm run prettier

* applied suggestions

* npm run prettier

* corrected lossless formats and other suggestions

* moved losslessformats into consts.js

* added some test

* typo while resolving conflicts

* fetch

* removed a bug causing component (as suggested)

* Update PlayerToolbar.js

* implemented suggestions

* added few more tests

* npm run prettier

* added size

* updated qualityInfo

* implemented suggestions

* added test for when no record is recieved

* Update QualityInfo.js
2026-01-02 19:26:36 +00:00
Shishir A S
a906e99573
Fixes play icon color in "Light" theme (#972)
* fix(ui/src/album): White play button on hover for all themes - #960

* fix(PlayButton) : White play button for light theme - #960

* fix(PlayButton) : White play button for light theme - #960

* bug(AlbumGridView.js) - Album play button defaults to white, can be overridden - #960

Signed-off-by: Shishir <shishir.srik@gmail.com>

* bug(AlbumGridView.js) - Album play button defaults to white, can be overridden - #960

* Reverted package.json and package-lock.json - #960

Signed-off-by: Shishir <shishir.srik@gmail.com>

* Missing lint script added - #960

Signed-off-by: Shishir <shishir.srik@gmail.com>

* Removed color, added className and made record required in PlayButton.propTypes - #960
2026-01-02 19:26:36 +00:00
Balaguru Ragupathi
ddf4739384
Improved Header Readability for Songs List (#985)
* style(SongDataGrid): Table Header Definition - #943

Signed-off-by: Balaguru4580 <balaguru4580@gmail.com>

* style(SongDataGrid): Improved Header Readability - #943

Signed-off-by: Balaguru4580 <balaguru4580@gmail.com>

* Shadow Effect

* Shadow Effect Opacity Adjustment

* Fixed Songs Context Menu

* Fixed the Songs Context Menu
2026-01-02 19:23:06 +00:00
Deluan
18dd523419
Revert "style(SongDataGrid): Improved Header Readability (#954)"
This reverts commit 3d58c5ab. It broke the SongContextMenu
2026-01-02 19:23:06 +00:00
Balaguru Ragupathi
9ae9d6ffae
style(SongDataGrid): Improved Header Readability (#954)
* style(SongDataGrid): Table Header Definition - #943

Signed-off-by: Balaguru4580 <balaguru4580@gmail.com>

* style(SongDataGrid): Improved Header Readability - #943

Signed-off-by: Balaguru4580 <balaguru4580@gmail.com>

* Shadow Effect

* Shadow Effect Opacity Adjustment
2026-01-02 19:23:06 +00:00
Aldrin Jenson
f9c3d7c6e8
Fix extra multiline Prop error (#966)
* Fix extra multiline Prop error

* Remove multiline prop from MultiLineTextField
2026-01-02 19:23:06 +00:00
rochakjain361
b40596a2cc
Album details UI fix (#922)
* Fix the Album Details UI to look similar to Song Details UI

* Remove the unused components

* Fix the gap between row and the first field in the details view

* Fix the width of the row of Album Details UI
2026-01-02 19:23:05 +00:00
Neil Chauhan
3fd88cc913
Enable turn on/off Favorites/Loved feature. (#917)
* Added option to enable/disable favorites in Song

* Added option to enable/disable favorites in Artist

* Added option to enable/disable favorites in Albums and Favorites tab in sidebar

* Added option to enable/disable favorites in Player

* Set default value of enableFavourites as true

* Improved the functionality to enable/disable Favorites

* Add `EnableFavourites` config option

Co-authored-by: Deluan <deluan@navidrome.org>
2026-01-02 19:23:04 +00:00
Neil Chauhan
bbab943623
Refactored the current ⭐️/Star feature to ❤️/Love/Favourite feature. (#908)
* Added setRating feature to AlbumListView

* Refactored the iconography from ⭐ to ❤️

* Refactored the current component from StarButton to LoveButton

* Refactored all translations from Starred to Loved, and all props from showStar to showLove

* Refactored useToggleStar hook to useToggleLove

* rebased repository from master and removed stray commmits

* Refactored handler name from TOGGLE_STAR to TOGGLE_LOVE in PlayerToolbar.js

* Change "starred" translation to "Favorite"

Co-authored-by: Deluan <deluan@navidrome.org>
2026-01-02 19:23:04 +00:00
Arbaz Ahmed
c0fa78c7a4
New component for mobile Artist List (#891)
Fixes #890
2026-01-02 19:23:04 +00:00
Deluan
0259d427bb
Add lint script to UI project 2026-01-02 19:23:03 +00:00
Arbaz Ahmed
b9e15a1436
New component for song display in song list (#833)
* added new component SONGSIMPLELIST for smaller displays

* added new component SONGSIMPLELIST for smaller displays

* added new component SONGSIMPLELIST for smaller displays

* Updated songsimplelist

Removed truncation

* removed garbage code

* refactored some issues of overlapping

* refactored some issues of overlapping

* changed the song ui design

* refactored some bugs in artist display

* refactored some bugs in artist display

* removed garbage dependencies

* removed div bugs

* added all the logic to the component itself
2026-01-02 19:23:03 +00:00
Deluan
a59f2c1e4b
Don't break if it tries to render ContextMenu without data. Fix #776 2026-01-02 19:21:28 +00:00
Deluan
dc7eaaeae6
Remove option to download discs of a set 2026-01-02 19:20:16 +00:00
Deluan
8d2b5bd259
Don't explode when record is not loaded yet 2026-01-02 19:20:09 +00:00
Deluan
1546d7fb15
Add hotkey s to toggle star.
Refers to #585
2026-01-02 19:20:09 +00:00
Deluan
8b11940dba
Remove possible undefined error 2026-01-02 19:20:09 +00:00
Deluan
37a197442b
Hide star completely if in Playlist view 2026-01-02 19:20:09 +00:00
Deluan
1ae1ce3d32
Also use PureDatagridRow to speed up SongDatagrid 2026-01-02 19:20:08 +00:00
Deluan
834f8dd5cd
Make SongDatagrid faster by using PureDatagridBody 2026-01-02 19:20:08 +00:00
Deluan
0489cb4680
Hide row when reordering playlist 2026-01-02 19:20:08 +00:00
Deluan
b445df8047
Fix song context menu "on hover" visibility 2026-01-02 19:20:08 +00:00
Deluan
2738ea1e4a
Fix Album View 2026-01-02 19:20:08 +00:00
Deluan
436ce67e8a
Fix artists 2026-01-02 19:20:08 +00:00
Steve Richter
c0abb785bb
Fix default getPerPage for 'md' widths 2026-01-02 19:20:07 +00:00
Deluan
e9686570ec
Fix test 2026-01-02 19:19:36 +00:00
Deluan
c9d2218249
Add Album comment to Album details 2026-01-02 19:19:36 +00:00
Deluan
a24d3b9ff0
Don't display "Comment" field in details if it is empty 2026-01-02 19:19:35 +00:00
Deluan
003111872a
Fix some JS console errors 2026-01-02 19:19:35 +00:00
Deluan
8faa4e0b99
Detect different discs, even when missing the first track of the disc. Fix #620. 2026-01-02 19:19:35 +00:00
Deluan
f2e55be47e
Fine tune scan status behaviour 2026-01-02 19:19:35 +00:00
Deluan
b9b3539a27
Display comments in SongDetails and AlbumList's details 2026-01-02 19:19:35 +00:00
Deluan
4010cb839c
Add tests for formatters 2026-01-02 19:19:34 +00:00
Deluan
02e513201c
Use a better notation for exporting JS components and functions 2026-01-02 19:19:34 +00:00
Deluan
f8161f88f2
Fix download single track from Playlist 2026-01-02 19:19:34 +00:00
Deluan
2c79e4dc86
Add config option to globally enable/disable downloads 2026-01-02 19:19:34 +00:00
Deluan
d67ed93f26
Moved all reducers and actions to their own folders 2026-01-02 19:19:33 +00:00
Deluan
29982bc687
Make sure we don't get durations with decimals 2026-01-02 19:19:33 +00:00
Deluan
772ef6547c
Fix "Something went wrong" error when deleting a playlist 2026-01-02 19:19:33 +00:00
JorisL
d0405db71b
Fixed duration formatter to properly count lengths longer than 24 hours (#612)
* Fixed durationfield formatter to properly count lengths longer than
24 hours.

* formatted DurationField.js with npm prettier
2026-01-02 19:19:33 +00:00
Deluan
fd984b8897
Remove hardcoded color 2026-01-02 19:18:28 +00:00
Deluan
a768cebe05
Fix BulkActions contrast once and for all(?) 2026-01-02 19:18:28 +00:00
Deluan
c4b7193419
Improve bulk actions color contrast 2026-01-02 19:18:28 +00:00