Deluan
f645c4769c
Fix double escaped lyrics and comments
2021-10-26 19:33:21 -04:00
Deluan
5e87280750
Load playlist track genres
2021-10-26 18:46:08 -04:00
Deluan
526b6597c8
Remove duplication for loading tracks
2021-10-26 18:34:21 -04:00
Deluan
5dce499d6d
Fix/Optimized Playlist tracks deletion
2021-10-26 14:05:28 -04:00
Deluan
fbd87ba577
Fix console error "Cannot convert undefined or null to object PlaylistsSubMenu"
2021-10-26 14:05:05 -04:00
Deluan
63b5191ea7
Fix lint
2021-10-26 10:57:59 -04:00
Deluan
af00503b77
Optimize playlist updates
2021-10-26 10:45:14 -04:00
Steve Richter
85185e3b98
Misc small changes ( #1433 )
...
* Fix React key warning in HelpDialog
* Change "lyric" to "lyrics" in en.json
2021-10-26 08:57:20 -04:00
Deluan
83eaafcbfb
Add dateLoved
Criteria field
2021-10-25 16:44:59 -04:00
Deluan
93ce0b5683
Fix Genre field and Contains/NotContains/StartsWith/EndsWith in Criteria (Smart Playlists)
2021-10-25 16:17:03 -04:00
Deluan
47549ecfc1
Increase updatePlaylist chunk to 100 tracks
2021-10-25 13:00:46 -04:00
Deluan
ed1ca65ad5
Show hotkeys as chips, for easier reading
2021-10-25 11:14:43 -04:00
Deluan
8d6b5f9d02
Speed up Subsonic GetPlaylist
(by optimizing loadTracks
)
2021-10-25 11:14:20 -04:00
Deluan
76fdcd112b
Tweak SimilarSongs algorithm to prioritize the requested main artist
2021-10-24 18:04:40 -04:00
Deluan
18e1c169f9
Don't read the whole smart playlist file in memory
2021-10-24 14:41:08 -04:00
whorfin
4bc4daa68f
Improve git-vs-tarball detection ( #1423 )
...
* Extract version from directory name if .git dir is missing
* Avoid using shell
* Remove .gitinfo build from pipeline
* Fix git-detecting rule to be robust in presence of setup-git
2021-10-23 21:27:19 -04:00
Deluan
cc1659aa73
Better way to match top songs from external sources (Last.fm)
2021-10-23 20:26:30 -04:00
Deluan
31c598de07
Fix drag-n-drop from a playlist, also fix useDrag memoization
2021-10-23 20:25:28 -04:00
Deluan
2e2a647e67
Make SmartPlaylists read-only
2021-10-23 20:25:28 -04:00
Deluan
d169f54e7d
Rename hasCoverArt field in criteria
2021-10-23 20:25:28 -04:00
Deluan
1494be9aaa
Add playCount and playDate columns to album songs list
2021-10-23 20:25:28 -04:00
Deluan
c73f64ee3a
Removed unused code
2021-10-23 20:25:28 -04:00
Deluan
806b13cf42
Update stats of Smart Playlist when it is created
...
Also fix loadTracks
2021-10-23 20:25:28 -04:00
Deluan
2c860edeb5
Don't import invalid .nsp
files
2021-10-23 20:25:28 -04:00
Deluan
6a550dab77
Use new Criteria and remove SmartPlaylist struct
2021-10-23 20:25:28 -04:00
Deluan
3972616585
New Criteria API
2021-10-23 20:25:28 -04:00
Deluan
d0ce030386
Add PlayCount and PlayDate columns to PlaylistSongs
2021-10-23 20:25:28 -04:00
Deluan
947353610c
Include never played songs in the "not in the last" operator
2021-10-23 20:25:28 -04:00
Deluan
2b57b98a4b
Fix smart playlist refreshing only after the tracks were loaded
2021-10-23 20:25:28 -04:00
Deluan
1a96e9fe65
Import smart playlists (extension .nsp)
2021-10-23 20:25:28 -04:00
Deluan
21da1df4ea
Cache smart playlist refreshes for 5 seconds
2021-10-23 20:25:28 -04:00
Deluan
d21932bd1b
First version of SmartPlaylists being generated on demand
2021-10-23 20:25:28 -04:00
Deluan
c72add516a
Add methods to Playlist model
...
Also, don't load genres for Playlists tracks (not necessary for now)
2021-10-23 20:25:28 -04:00
Deluan
d200933b68
Reduce number of queries for some playlists operations.
...
Also allow admins to update/delete playlists from other users in the Subsonic API. Closes #1366
2021-10-23 20:25:28 -04:00
Deluan
943082ef4e
Fix time-based tests (again)
2021-10-23 20:25:28 -04:00
Deluan
c3fb4e1282
Fix rules serialization
2021-10-23 20:25:28 -04:00
Deluan
9c8f779f42
Fix time-based tests
2021-10-23 20:25:28 -04:00
Deluan
815623715e
Load SmartPlaylists rules from DB
2021-10-23 20:25:28 -04:00
Deluan
7221b49b98
More tests
2021-10-23 20:25:28 -04:00
Deluan
cf8d08ec26
Initial drafts for Smart Playlists
2021-10-23 20:25:28 -04:00
Deluan
2a756eab88
Show external links on all resolutions but mobile
2021-10-21 10:30:53 -04:00
Deluan
104679ca6e
Guard against record being undefined
. Fix error Cannot read properties of undefined (reading 'id')
2021-10-19 20:22:56 -04:00
Dheeraj Lalwani
5621551dd0
Adds Lyrics Support to Subsonic API ( #1379 )
...
* Add function 'isSynced' that identifies if lyrics are synced or not and add tests for the same
* implement 'getLyrics' which returns lyrics if they exist
Signed-off-by: Dheeraj Lalwani <lalwanidheeraj1234@gmail.com>
* remove timestamps frorom the the lyrics if they are synced, fix filters & clean up code
Signed-off-by: Dheeraj Lalwani <lalwanidheeraj1234@gmail.com>
* add snapshot tests for the 'Lyrics' response & add some clean up
Signed-off-by: Dheeraj Lalwani <lalwanidheeraj1234@gmail.com>
* add tests for 'GetLyrics' function
Signed-off-by: Dheeraj Lalwani <lalwanidheeraj1234@gmail.com>
* update the snapshot test & the test for 'GetLyrics' function
Signed-off-by: Dheeraj Lalwani <lalwanidheeraj1234@gmail.com>
2021-10-19 16:33:06 -04:00
Deluan
3214783ce9
Remove double-retching playlist's tracks
2021-10-19 12:54:21 -04:00
Chirag Lulla
34b01c2cbf
Display lyrics on UI if synced lyrics present in metadata ( #1406 )
...
Signed-off-by: Chirag Lulla <lullachirag239@gmail.com>
2021-10-19 10:21:20 -04:00
Deluan
0d2a8f5338
Enable new Artist Page by default
2021-10-17 11:07:59 -04:00
Deluan
b7fedddfd8
Guard against record being undefined
. Fix error Cannot read properties of undefined (reading 'albumId')
2021-10-16 20:29:31 -04:00
Dnouv
1d742cf8c7
Artist page improvements ( #1391 )
...
* Seperate mobile desktop components
* Fix err
* Rename classes and fix some styles
* Add lastFM button and remove console log
* Add Mbiz Icon
* render bio as dangerouslySetInnerHTML and remove unused css classes
* Add Fav and Stars
* Remove unstandardised class selector
* Remove ext link from m view
* Fix naming and simplify rounded styling
* Refactor ArtistShow:
- Extracted DesktopArtistDetails to its own file
- Removed album count as it was incorrect, it is not considering compilations
- Show bio and image from Native API, if it is available, before calling `getArtistInfo`
Co-authored-by: Deluan <deluan@navidrome.org>
2021-10-15 21:02:11 -04:00
Deluan
7505b5c554
Bump GoLang to 1.17.2
2021-10-13 09:53:44 -04:00
Deluan
174ad9e9da
Fix ffmpeg bitrate parsing for flac files
2021-10-12 22:02:24 -04:00