Alex Palaistras
d9c991e325
Return error when no matching cover is found
...
When checking stored references to cover images (whether embedded or
external), it's possible that configured patterns do no match, and a
valid error should be returned in those cases.
2020-06-24 20:48:42 -04:00
Alex Palaistras
08cd28af2d
Load cover art from file directory
...
This commit adds support for loading cover art from media file
directories, according to configured filename priorities (of which an
additional, special choice of `embedded` is given).
Cover art paths are resolved during scanning and stored in the database
as part of the `album.cover_art_path` column; if embedded cover art is
matched, this will default to the path of the media file itself, and if
no cover art is matched at all.
Similarly, the `album.cover_art_id` column will default to a reference
to `media_file.id` if embedded cover art is wanted, but if an external
cover art file is matched, this will instead be set to a reference to
the `album.id` value itself, prefixed with the `al-` constant.
Stored cover art paths are once again resolved and matched against
configuration when covers are requested; that is, any change in
configuration between scanning and requesting cover art may not return
correct data until a re-scan is complete.
Tests will be added in future commits.
2020-06-24 20:48:42 -04:00
Deluan
6563897692
Restore volume level after a refresh
2020-06-24 15:33:59 -04:00
Deluan Quintão
04d598819d
Update tr.json (POEditor.com)
2020-06-23 16:53:55 -04:00
Deluan Quintão
965c04469e
Update it.json (POEditor.com)
2020-06-23 16:53:55 -04:00
Deluan Quintão
416ca2c063
Update de.json (POEditor.com)
2020-06-23 16:53:55 -04:00
Deluan Quintão
ab35586b0c
Update fr.json (POEditor.com)
2020-06-23 16:53:55 -04:00
Deluan Quintão
acb5985127
Update cs.json (POEditor.com)
2020-06-23 16:53:55 -04:00
Deluan
9b75b729ba
Convert function to arrow-function
2020-06-22 19:55:04 -04:00
dependabot-preview[bot]
e1968b0953
Bump @testing-library/user-event from 11.2.0 to 12.0.6 in /ui
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 11.2.0 to 12.0.6.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v11.2.0...v12.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 10:58:37 -04:00
Deluan
f36e15cfeb
Upgrade dependencies
2020-06-22 10:23:26 -04:00
Deluan
7547c775fa
Bump React-Admin version to 3.6.1
2020-06-22 10:17:55 -04:00
dependabot-preview[bot]
ad21b5f0d0
Bump react-drag-listview from 0.1.6 to 0.1.7 in /ui
...
Bumps [react-drag-listview](https://github.com/raisezhang/react-drag-listview ) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/raisezhang/react-drag-listview/releases )
- [Commits](https://github.com/raisezhang/react-drag-listview/compare/0.1.6...0.1.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:31:30 -04:00
Deluan
4427900d84
Fix formatting
2020-06-22 08:56:55 -04:00
Deluan
0ca70b1e4d
Add back Artist column header to Album List View. Fixes #363
2020-06-22 08:50:41 -04:00
Deluan
0292a334fe
Fix mistranslation
2020-06-22 00:11:19 -04:00
Deluan
f93e2d0c04
Use memoization to avoid re-renders
2020-06-19 19:43:33 -04:00
Deluan
3a9324c6ef
Enable autoPlay in React Player
2020-06-19 16:32:54 -04:00
Deluan
cf692140a9
Revert "Upgrade to React Player 4.15.1"
...
This reverts commit de693b8206
. (+1 squashed commit)
Squashed commits:
[cc80cb8] Revert "Simplify handle"
This reverts commit 83b8fa14c6
.
2020-06-19 16:31:38 -04:00
Deluan
83b8fa14c6
Simplify handle
2020-06-19 12:37:26 -04:00
Deluan
de693b8206
Upgrade to React Player 4.15.1
2020-06-19 12:24:11 -04:00
Deluan
1686e358fe
Simplify PlayQueue store
2020-06-19 11:32:24 -04:00
Deluan
804d969427
Clear play queue on login and logout
2020-06-19 11:32:23 -04:00
Deluan
9d23b191b5
Show indicator on current playing song. Fixes #128
2020-06-19 11:32:23 -04:00
Deluan
eb4c0f0b84
go mod tidy
2020-06-18 12:51:15 -04:00
dependabot-preview[bot]
c507e344ff
Bump github.com/onsi/ginkgo from 1.12.3 to 1.13.0
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.12.3 to 1.13.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v1.12.3...v1.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 09:16:51 -04:00
Deluan
a6af46dbad
Always use lowercase username, as it is used for referential integrity. Fixes #352
2020-06-14 20:20:10 -04:00
Deluan
2d1d992e17
Support Windows paths
2020-06-14 03:11:16 -04:00
Deluan
653b5ea9d3
Replace map[string]bool with map[string]struct{}
2020-06-14 03:11:16 -04:00
Deluan
e73b71aaf7
Remove tracks from DB that were deleted while Navidrome was not running. Fixes #151
2020-06-14 03:11:16 -04:00
Deluan
01919661e9
Skip unreadable directories. Fixes #328
2020-06-14 03:11:16 -04:00
Deluan
3190611ec8
Call ffmpeg
in batches
2020-06-14 03:11:16 -04:00
Deluan
6a3dabbb06
Optimize queries by path
2020-06-14 03:11:16 -04:00
Deluan
238020c839
Handle folders with lots of albums and/or artists
2020-06-14 03:11:16 -04:00
Deluan
72b2e756f7
Revert "Show indicator on current playing song. Fixes #128 "
...
This implementation causes performance issues
2020-06-13 16:41:11 -04:00
Deluan
86bc8d97a0
Support dark themes in "Playing" indicator
2020-06-13 14:38:25 -04:00
Deluan
003b73fe1a
Remove invalid propType
2020-06-13 14:04:45 -04:00
Deluan
be2afb94ae
Show indicator on current playing song. Fixes #128
2020-06-13 14:04:45 -04:00
Deluan
f8a18b59b0
Add link to album from player's song title. Fixes #324
2020-06-12 17:02:13 -04:00
Deluan Quintão
c216b14655
Add total downloads badge
2020-06-12 14:21:02 -04:00
Deluan
4702c5abbd
Add track/artist being played to the page title. Closes #317
2020-06-11 22:40:35 -04:00
Deluan
c742ae0843
Remove unused feature toggles
2020-06-11 22:11:59 -04:00
Deluan
0033966c25
No need to delete the playlist tracks explicitly
2020-06-10 18:07:10 -04:00
Deluan
f072ffd377
Add confirmation when deleting user
2020-06-10 18:07:10 -04:00
Deluan
94d88395e7
Add referential integrity to player and playlist tables
2020-06-10 18:07:10 -04:00
Deluan
c9bcb333ae
Add more options to Players list
2020-06-10 18:07:10 -04:00
Deluan Quintão
84ed3eb427
Update README.md
2020-06-10 11:34:51 -04:00
Deluan
8bd9787c51
Fix function naming
2020-06-09 20:45:53 -04:00
Deluan
1c466d6083
Fix formatting
2020-06-09 20:34:36 -04:00
Deluan
a64b15c174
Fix navigation issues caused by the use of useListParams
2020-06-09 20:29:12 -04:00