André Andersson
d1211e6901
Only show playlists where the user is allowed to add tracks when trying to add tracks ( #329 )
...
* Only show playlists where the user is allowed to add tracks
* Expose user_id from library and use it to reduce api calls
2020-11-22 19:26:20 +01:00
Henrik Friedrichsen
5fb4eb7af2
fix: update playlist changes in local store
...
Move playlist change logic out of the library while we're at it and notify
the library of changes instead.
fixes #302
2020-10-25 00:09:23 +02:00
JojiiOfficial
6587efdfd2
Add dialog for adding duplicate tracks to a playlist ( #299 )
...
* Add dialog for adding duplicate tracks to a playlist
* use local playlist store to check for duplicates
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org >
2020-10-24 20:41:55 +02:00
Henrik Friedrichsen
013beb245b
refactor: pass globally mutable config reference
...
Before, copies of the configuration were passed over. This change also
causes configuration reloads to affect the entire application and is
easier to maintain but introduces some RwLock overhead.
2020-10-18 13:09:45 +02:00
Henrik Friedrichsen
e1b4892b8a
make album column for tracks configurable
...
introduces new config variable `album_column`
fixes #267
2020-10-17 23:56:23 +02:00
Henrik Friedrichsen
1b1d392ab8
podcast support ( #203 )
...
* implement search for shows/podcasts
* create Playable supertype for queue to contain tracks and episodes
* wip: implement playback of episodes
* load spotify id from uri instead of raw id to fix podcast playback
* show duration for podcast episodes
* implement generic status bar for playables (tracks and episodes)
omit saved indicator for now as the library does not yet support podcasts
* instead of only the last 50 fetch all episodes of a show
* refactor: extract Playable code to separate file
* implement playback/queuing of shows + sharing url
* implement podcast library
* migrate mpris code to Playable supertype
2020-07-14 10:38:22 +02:00
Henrik Friedrichsen
bb89d189ae
migrate to rspotify 0.10.0
...
in preparation for the future release with podcast API support
2020-07-10 21:10:56 +02:00
Henrik Friedrichsen
4e9bfa16a2
Revert "migrate to rspotify 0.9-dev"
...
This reverts commit acc333460b .
2020-06-25 21:11:50 +02:00
Henrik Friedrichsen
acc333460b
migrate to rspotify 0.9-dev
...
in preparation for the future release with podcast API support
2020-06-06 12:01:16 +02:00
Henrik Friedrichsen
dccb36d8e7
update to rust edition 2018 + bump version
2020-03-15 11:06:24 +01:00
Henrik Friedrichsen
d2915316da
various non-functional code cleanups
2020-02-21 23:33:08 +01:00
Henrik Friedrichsen
feee204f9c
sort albums in library by artist -> year -> album title
...
fixes #111
2019-11-30 17:32:33 +01:00
Henrik Friedrichsen
85e9e99d87
rebind + change playlist update command to update entire library
2019-11-30 17:13:41 +01:00
Henrik Friedrichsen
ed1dc2e22e
implement saving selected tracks directly to playlists
...
closes #103
2019-11-02 23:19:12 +01:00
Henrik Friedrichsen
498724e2a4
fix: trigger UI redraw after fetching artist data in separate thread
...
fixes #91
2019-09-08 21:11:59 +02:00
Henrik Friedrichsen
4067155e96
remove unused mutabilities
2019-08-13 11:50:31 +02:00
Henrik Friedrichsen
f4c640ca2b
fix: sort playlists in the same order spotify sends them out
2019-06-24 22:13:52 +02:00
KoffeinFlummi
a98a4645f6
Make library the default view
2019-04-28 11:56:59 +02:00
KoffeinFlummi
662b718a4c
Lazy-load non-library playlists
...
Fix #62
2019-04-28 11:31:32 +02:00
KoffeinFlummi
eed3edfa59
Differentiate between followed and created playlists
...
Fix #56
2019-04-28 11:04:51 +02:00
KoffeinFlummi
754d6d5c04
Move playlist methods out of library.rs
2019-04-28 10:32:54 +02:00
Henrik Friedrichsen
eb2e8322e5
Merge remote-tracking branch 'origin/feature/new_rspotify' into develop
2019-04-24 21:01:15 +02:00
Henrik Friedrichsen
18c2f6466a
fix most of the clippy linter warnings
2019-04-23 22:28:05 +02:00
KoffeinFlummi
eed218d0c3
Implement browsing for albums, artists, playlists
2019-04-23 01:40:00 +02:00
KoffeinFlummi
1a17860957
cargo fmt
2019-04-20 00:11:43 +02:00
KoffeinFlummi
f320b953d6
Implement following playlists
2019-04-19 23:50:36 +02:00
KoffeinFlummi
e68ba60179
Optimize/parallelize library initialization
2019-04-19 22:50:12 +02:00
KoffeinFlummi
3044715362
Lock library until initialization is done
2019-04-19 22:49:30 +02:00
KoffeinFlummi
1e58ca9345
Implement (un)saving tracks, albums; (un)following artists
2019-04-18 15:43:51 +02:00
KoffeinFlummi
adba809327
Display saved/followed checkmark
2019-04-18 14:04:40 +02:00
KoffeinFlummi
d93302a63f
Restore playlist deletion
2019-04-18 13:31:27 +02:00
KoffeinFlummi
d8f3365867
Don't remove artists added via tracks
2019-04-16 20:30:04 +02:00
KoffeinFlummi
210c7d9f4e
Implement saved tracks, albums, and artists
2019-04-16 19:52:22 +02:00