quintodrome/ui/src/common
Brian Schrameck 30bb3f7b43
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.
2021-05-05 21:35:01 -04:00
..
AddToPlaylistButton.js Fix some JS console errors 2020-11-12 20:51:26 -05:00
ArtistLinkField.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
ArtistSimpleList.js Add 5-star rating system(#986) 2021-04-07 16:02:52 -04:00
BatchPlayButton.js Fix some JS console errors 2020-11-12 20:51:26 -05:00
BitrateField.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
ContextMenus.js Enable turn on/off Favorites/Loved feature. (#917) 2021-03-28 20:35:49 -04:00
DocLink.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
DurationField.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
index.js Add 5-star rating system(#986) 2021-04-07 16:02:52 -04:00
List.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
LoveButton.js Refactored the current ️/Star feature to ❤️/Love/Favourite feature. (#908) 2021-03-26 23:56:19 -04:00
MultiLineTextField.js Add Album comment to Album details 2020-11-14 00:13:43 -05:00
MultiLineTextField.test.js Add lint script to UI project 2021-03-24 12:05:58 -04:00
Pagination.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
PlayButton.js Fixes play icon color in "Light" theme (#972) 2021-04-06 10:02:44 -04:00
QualityInfo.js Change size and position of QualityInfo in the Player 2021-04-17 22:49:36 -04:00
QualityInfo.test.js Get lossless format list from server 2021-04-06 22:18:48 -04:00
QuickFilter.js Fix missing translation error in console. Closes #1038 2021-05-04 16:01:26 -04:00
QuickFilter.test.js Fix missing translation error in console. Closes #1038 2021-05-04 16:01:26 -04:00
RangeField.js Add tests for formatters 2020-11-10 20:45:04 -05:00
RatingField.js Add 5-star rating system(#986) 2021-04-07 16:02:52 -04:00
sanitizeFieldRestProps.js Display comments in SongDetails and AlbumList's details 2020-11-11 11:58:03 -05:00
ShuffleAllButton.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
SimpleList.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
SizeField.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
SongBulkActions.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
SongContextMenu.js Enable turn on/off Favorites/Loved feature. (#917) 2021-03-28 20:35:49 -04:00
SongDatagrid.js Improved Header Readability for Songs List (#985) 2021-04-05 20:32:57 -04:00
SongDetails.js BPM metadata enhancement (#1087) 2021-05-05 21:35:01 -04:00
SongSimpleList.js Add 5-star rating system(#986) 2021-04-07 16:02:52 -04:00
SongTitleField.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
Title.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00
useAlbumsPerPage.js Fix default getPerPage for 'md' widths 2020-11-21 01:34:36 -05:00
useInterval.js Fine tune scan status behaviour 2020-11-12 16:12:31 -05:00
useRating.js Add 5-star rating system(#986) 2021-04-07 16:02:52 -04:00
useToggleLove.js Refactored the current ️/Star feature to ❤️/Love/Favourite feature. (#908) 2021-03-26 23:56:19 -04:00
useTraceUpdate.js Also use PureDatagridRow to speed up SongDatagrid 2020-11-27 14:24:22 -05:00
Writable.js Use a better notation for exporting JS components and functions 2020-11-10 19:27:28 -05:00