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
2d1d992e17
Support Windows paths
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
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
0033966c25
No need to delete the playlist tracks explicitly
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
29c7513879
Update updated_at
field when modifying the playlist
2020-06-09 07:55:35 -04:00
Deluan
b4e06c416d
Allow toggling a playlist public from the Playlist list view. Closes #344
2020-06-08 18:39:31 -04:00
Deluan
c6f23139bc
Handle playlist's permissions on server
2020-06-05 11:55:29 -04:00
Deluan
331fa1d952
Add ability to reorder playlist items
2020-06-04 19:05:41 -04:00
Deluan
d8699b03bd
Fix album sort fields
2020-05-28 20:48:58 -04:00
Deluan
201a22e613
Change index in playlist to start from 1
2020-05-26 13:50:15 -04:00
Deluan
aaa4f1531e
Ignore brackets in search
2020-05-25 11:05:30 -04:00
Deluan
e811816021
Fix pagination in Songs when filtered by starred
2020-05-23 00:43:45 -04:00
Deluan
9331be67a3
Fix pagination in Songs
2020-05-23 00:17:35 -04:00
Deluan
ec0002e77a
Add a sortable Starred column and a Starred filter to Song List
2020-05-22 23:10:58 -04:00
Deluan
8a68cecdb9
Add ToggleStar to SongContextMenu (WIP)
2020-05-22 15:23:42 -04:00
Deluan
17df63b550
Fix child.size
and directory.playCount
compatibility with Subsonic API. Fixes #304
2020-05-19 23:51:23 -04:00
Deluan
c2d1e9df9f
Remove orphan tracks from playlists after they are removed from library
2020-05-18 20:32:01 -04:00
Deluan
d1a0ffaaee
Check permissions in playlists
2020-05-16 23:14:28 -04:00
Deluan
12cf2f1104
Remove tracks from playlist
2020-05-16 18:35:34 -04:00
Deluan
e81a9dd1b5
Add tracks to playlist
2020-05-16 18:35:34 -04:00
Deluan
8a709c489a
Add playlist views
2020-05-16 18:35:34 -04:00
Deluan
5682d0e721
Remove tracks from Playlist's GetAll
2020-05-16 18:35:34 -04:00
Deluan
8f9601090c
Add helper functions tests
2020-05-16 18:35:34 -04:00
Deluan
aebee651ac
Add nested resource playlist/{id}/tracks
2020-05-16 18:35:34 -04:00
Deluan
a56e588c8e
Create relation table for playlist tracks
2020-05-16 18:35:34 -04:00
Deluan
27de18f8c9
Fix typo
2020-05-16 18:35:34 -04:00
Deluan
4e613be960
Add playlists REST endpoint
2020-05-16 18:35:34 -04:00
Deluan
f8362a4acb
Fix staticcheck's SA1029
2020-05-13 16:49:55 -04:00
Deluan
5ce3135f00
Fix gosec's G601
2020-05-13 15:32:42 -04:00
Deluan
0d9361734f
Import and display disc subtitles
2020-05-12 12:57:53 -04:00
Deluan
0d1e2a92f6
Make MediaFolder ID int32
2020-05-09 22:29:02 -04:00
Deluan
70047fe20e
Add songCount
column to Artist table
2020-05-08 10:05:48 -04:00
Deluan
c585ca7131
Add random
as a valid sort option for song
resource
2020-05-05 16:17:09 -04:00
Deluan
dbde5330bd
Mark helper function as unexported
2020-05-01 09:17:21 -04:00
Deluan
5cd453afeb
Fix all errcheck
warnings
2020-04-26 15:07:36 -04:00
Deluan
03c3c192ed
Fixing static checks about passing nil context
2020-04-26 15:07:36 -04:00
Deluan
8dcca76ec9
Fix various small sort issues
2020-04-24 17:37:28 -04:00
Deluan
e6f798811d
Generate Artist Index using the OrderArtistName
2020-04-24 15:02:20 -04:00
Deluan
69c19e946c
Add sort tags and use them in search
2020-04-24 15:02:20 -04:00
Deluan
80c8d85cb9
Fine tune search functionality
2020-04-19 23:29:07 -04:00
Deluan
69dc4d97b3
Always fill album's min_year if max_year is filled
2020-04-17 21:44:34 -04:00
Deluan
4b1c76e307
Keep the order of the playlist when adding new songs. Also allow adding a song more than once
2020-04-11 21:24:15 -04:00
Deluan
9fb4f5ef52
Removed Playlist.GetWithTracks, not needed anymore
2020-04-11 19:05:51 -04:00
Deluan
e232c5c561
Add created
and changed
fields to playlists responses
2020-04-11 18:58:43 -04:00
Deluan
5265d0234f
Fix tests for Cover service
2020-04-09 12:13:54 -04:00
Deluan
43ce81af67
Add all individual artists from album in searchable full text field. Should fix #94
2020-04-08 23:54:54 -04:00