Deluan
7073d18b54
Make private methods unpublished
2023-01-19 09:34:39 -05:00
Deluan
7fc964aec5
Don't wake CacheWarmer every 10 seconds, let it sleep :)
2023-01-18 19:31:15 -05:00
Deluan
136d5f9a83
Add config option to show album participations under artists in Subsonic clients
2023-01-18 14:20:06 -05:00
vlfldr
8ae0bcb459
Add Gruvbox Dark color theme ( #2092 )
...
* Added Gruvbox Dark color theme
* Correct formatting by running prettier
2023-01-18 13:23:36 -05:00
Deluan
127c75e34b
Don't try to downsample if requested bitrate is equal or greater than original. Fix #2066
2023-01-18 13:20:51 -05:00
Deluan
d5c9cf07bd
Fix Playlist show
2023-01-18 09:43:07 -05:00
Deluan
701e301d48
Increase timeout for obtaining login background image list
2023-01-17 22:57:14 -05:00
Deluan
580e9ae4bd
Fix timer going awry
2023-01-17 22:04:09 -05:00
Zane van Iperen
feb774a149
Change genre.Put() to upsert. Fix #1918 and #1564 ( #1920 )
...
* persistence/genre: change Put() to upsert
Absolutely disgusting hack to work around [1]. Try to insert the genre,
but if it conflicts, ignore it and update the genre with the existing
ID.
[1]: https://github.com/navidrome/navidrome/issues/1918 .
* scanner: remove cached genre repository
Not needed anytmore. And remember:
"Many Small Queries Are Efficient In SQLite" [1].
[1]: https://www.sqlite.org/np1queryprob.html
* Revert "scanner: remove cached genre repository"
This reverts commit c5d900aa43e1c86b69f923b408e11ab8df8d815c.
* Use squirrel to build SQL, to reduce risk of SQL injection
Co-authored-by: Deluan <deluan@navidrome.org>
2023-01-17 21:04:18 -05:00
Deluan
17eab6a88d
Fix resized image cache key
2023-01-17 20:58:38 -05:00
Deluan
bedd2b2074
Implement better artwork cache keys
2023-01-17 20:37:10 -05:00
Kendall Garner
93adda66d9
Get album info (when available) from Last.fm, add getAlbumInfo endpoint ( #2061 )
...
* lastfm album.getInfo, getAlbuminfo(2) endpoints
* ... for description and reduce not found log level
* address first comments
* return all images
* Update migration timestamp
* Handle a few edge cases
* Add CoverArtPriority option to retrieve albumart from external sources
* Make agents methods more descriptive
* Use Last.fm name consistently
Co-authored-by: Deluan <deluan@navidrome.org>
2023-01-17 20:22:54 -05:00
Deluan
5564f00838
Some refactor, log message changes
2023-01-17 17:26:48 -05:00
Kendall Garner
1324a16fc5
ReplayGain support + audio normalization (web player) ( #1988 )
...
* ReplayGain support
- extract ReplayGain tags from files, expose via native api
- use metadata to normalize audio in web player
* make pre-push happy
* remove unnecessary prints
* remove another unnecessary print
* add tooltips, see metadata
* address comments, use settings instead
* remove console.log
* use better language for gain modes
2023-01-17 15:57:19 -05:00
Deluan
9ae156dd82
Remove unused prop
2023-01-17 14:31:17 -05:00
Deluan
438d45c176
Change Internet Radio UX
2023-01-17 14:22:10 -05:00
Deluan
e76080809d
Fix pipeline lint error help message
2023-01-17 11:02:07 -05:00
Deluan
0a65bf171b
Change Players icon, to distinguish it from Internet Radios
2023-01-16 20:51:18 -05:00
Deluan
e40da183bb
Move artwork id encoding to public package
2023-01-16 15:24:25 -05:00
Deluan
13ba08157a
Add Size column to Album Songs view
2023-01-16 15:13:05 -05:00
Deluan
7682fddec0
Add Size column to Artist and Album views
2023-01-16 15:00:50 -05:00
Deluan
4a054de3d5
Hide togglable columns when in Album Grid view mode. Fixes #2064
2023-01-16 15:00:33 -05:00
dependabot[bot]
b6233e57b3
Bump @material-ui/styles from 4.11.4 to 4.11.5 in /ui ( #2093 )
...
Bumps [@material-ui/styles](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui-styles ) from 4.11.4 to 4.11.5.
- [Release notes](https://github.com/mui-org/material-ui/releases )
- [Commits](https://github.com/mui-org/material-ui/commits/HEAD/packages/material-ui-styles )
---
updated-dependencies:
- dependency-name: "@material-ui/styles"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 12:17:12 -05:00
dependabot[bot]
c00040d94e
Bump github.com/dustin/go-humanize from 1.0.0 to 1.0.1 ( #2094 )
...
Bumps [github.com/dustin/go-humanize](https://github.com/dustin/go-humanize ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/dustin/go-humanize/releases )
- [Commits](https://github.com/dustin/go-humanize/compare/v1.0.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: github.com/dustin/go-humanize
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 12:16:39 -05:00
Deluan
c748d669d6
Sort radio stations by name
2023-01-15 16:12:22 -05:00
Deluan
d319b66ff3
Make Radio Create and Edit forms consistent
2023-01-15 15:43:46 -05:00
Deluan
a8478ca74c
Fix Subsonic XML Internet Radio response
2023-01-15 15:38:38 -05:00
Kendall Garner
8877b1695a
Add Internet Radio support ( #2063 )
...
* add internet radio support
* Add dynamic sidebar icon to Radios
* Fix typos
* Make URL suffix consistent
* Fix typo
* address feedback
* Don't need to preload when playing Internet Radios
* Reorder migration, or else it won't be applied
* Make Radio list view responsive
Also added filter by name, removed RadioActions and RadioContextMenu, and added a default radio icon, in case of favicon is not available.
* Simplify StreamField usage
* fix button, hide progress on mobile
* use js styles over index.css
Co-authored-by: Deluan <deluan@navidrome.org>
2023-01-15 15:11:37 -05:00
Gil Desmarais
aa21a2a305
Respect prefers-reduced-motion browser configuration ( #2090 )
...
Signed-off-by: Gil Desmarais <git@desmarais.de>
Signed-off-by: Gil Desmarais <git@desmarais.de>
2023-01-14 18:42:23 -05:00
Deluan
e3496c7eea
Fix artist folder detection. Now works when the artist has only one album.
2023-01-14 14:36:27 -05:00
Deluan
d3e4a5287d
"Touch" playlists to force some clients to reload cover art
2023-01-14 12:21:31 -05:00
Deluan
12dd219e16
Don't refresh artistInfo when setting artist's love/rating
2023-01-14 10:52:03 -05:00
bornav
1d6b04e3ad
Replace the LoveButton with ArtistContextMenu in the artist page - #1979
2023-01-14 10:52:03 -05:00
Deluan
dfbf86c577
Allow any HTTP methods for public images endpoint. Fix artist covers in Subtracks
2023-01-14 10:17:21 -05:00
Deluan
16c869ec86
Optimize playlist cover generation
2023-01-13 22:18:34 -05:00
Deluan
c46a2a5f5f
New dev options to control getCoverArt throttling
2023-01-13 22:18:34 -05:00
Deluan
ab7668f562
Use a custom artist image cache key.
...
Invalidate when `Agents` config changes. This should solve https://github.com/navidrome/navidrome/issues/1601#issuecomment-1241702797
2023-01-13 22:18:34 -05:00
Deluan
94c6d47181
More descriptive error when artist.jpg not found
2023-01-13 22:18:34 -05:00
Deluan
0ffef05cc3
Remove "Biography not available" when agents are not available
2023-01-13 22:18:34 -05:00
Deluan
3f2d24695e
PreCache artist images
2023-01-13 22:18:34 -05:00
Deluan
cbe3adf987
Don't show error when it is nil
2023-01-13 22:18:34 -05:00
Deluan
c90468b895
Find artist.*
image in Artist folder
2023-01-13 22:18:34 -05:00
Deluan
69e0a266f4
Remove size from public image ID JWT
2023-01-13 22:18:34 -05:00
Deluan
8f0d002922
Add local TopSongs
2023-01-13 22:18:34 -05:00
Deluan
77a99a735b
Always access artist images through Navidrome (proxy calls to external URLs)
2023-01-13 22:18:34 -05:00
Deluan
918fee3ea3
Artwork reader for Artist
2023-01-13 22:18:34 -05:00
Deluan
bf461473ef
Add local agent, only for images
2023-01-13 22:18:34 -05:00
Deluan
387acc5f63
Add public endpoint to expose images
2023-01-13 22:18:34 -05:00
Deluan
7fbcb2904a
Add function number.RandomInt64
2023-01-13 21:40:24 -05:00
Deluan
7a617d3a1d
Remove unused "embed" build tag
2023-01-13 21:35:54 -05:00