Henrik Friedrichsen
ed1dc2e22e
implement saving selected tracks directly to playlists
...
closes #103
2019-11-02 23:19:12 +01:00
Henrik Friedrichsen
6bf1d662dc
minor code cleanups
2019-11-02 23:18:34 +01:00
Henrik Friedrichsen
31a8119749
draw pagination indicator if applicable
2019-10-31 12:30:25 +01:00
Henrik Friedrichsen
dc427e3ba2
formatting + clippy cleanups
2019-10-31 12:30:25 +01:00
Henrik Friedrichsen
4defded546
fix slicing of playlists when saving large lists
...
playlist updates need to be submitted in batches of max 100 previously, it would
submit the entire rest after submitting the first 100 via
user_playlist_replace_tracks, which was rejected by the server.
fixes #99
2019-10-12 19:28:18 +02:00
Henrik Friedrichsen
d01dad9a57
use spotify user id from librespot session for web api requests
...
fixes broken web api requests for users who logged in with their email address
fixes #98
2019-10-12 16:15:53 +02:00
Henrik Friedrichsen
82a199b5d2
update rspotify to 0.7.0
2019-10-12 16:15:07 +02:00
Henrik Friedrichsen
ec0817c4dc
Merge pull request #93 from xentrick/develop
...
Added additional dbus support
2019-10-09 22:51:58 +02:00
Henrik Friedrichsen
a7b5b926ed
Merge pull request #94 from thiagolopes/develop
...
Add emacs navigation keybindings
2019-10-09 22:51:16 +02:00
Henrik Friedrichsen
0eea154400
update dependencies
2019-10-09 22:48:17 +02:00
thiagolopes
bd52869cce
Add emacs navigation keybindings
2019-10-06 00:13:53 -03:00
Nick Mavis
f48871a98a
Added additional dbus support
2019-10-02 10:50:36 -04: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
b7a6903908
fix: use signed datatypes for length/trackNumber
...
as defined per specs:
https://www.freedesktop.org/wiki/Specifications/mpris-spec/metadata/#index2h4
fixes #89
2019-09-01 21:32:42 +02:00
Henrik Friedrichsen
7aa70fcb6b
fix deprecation warnings caused by old trait object syntax
2019-09-01 01:32:50 +02:00
Henrik Friedrichsen
9a38eaa535
rework mpris notification of PropertiesChanged
...
as sending out PropertiesChanged events was triggered asynchronously by a
message queue, retrieving the metadata during message formatting is too late.
this resulted in two PropertiesChanged messages announcing the new track as
playing.
this should prevent such a scenario.
as discussed in #89
2019-09-01 01:10:35 +02:00
Henrik Friedrichsen
cd80ace4a8
remove debug log spamming + log player events
2019-09-01 01:10:19 +02:00
Henrik Friedrichsen
980f6eb528
move to a separate save/delete binding approach
...
this is to address accidental deletions of playlists/tracks that some users
faced
closes #75
related #15
2019-08-13 21:59:11 +02:00
Henrik Friedrichsen
3151f31137
fix syntax error previously introduced by rustfmt
...
fixes #87
2019-08-13 16:54:21 +02:00
Henrik Friedrichsen
308cdb84c4
fix formatting
2019-08-13 11:56:35 +02:00
Henrik Friedrichsen
4067155e96
remove unused mutabilities
2019-08-13 11:50:31 +02:00
Henrik Friedrichsen
f7458b4137
make sharing to clipboard a feature that can be disabled
...
this is for users that want to eliminate dependences (e.g. libxcb).
the feature is enabled by default and must be explicitly disabled.
fixes #84
2019-08-13 11:49:27 +02:00
Henrik Friedrichsen
f4c640ca2b
fix: sort playlists in the same order spotify sends them out
2019-06-24 22:13:52 +02:00
Henrik Friedrichsen
c7a09dc5f0
extend ContextMenu by sharing item
2019-06-15 17:26:38 +02:00
Henrik Friedrichsen
d213e8a54c
introduce new context menu for simplified controls
...
as outlined in #75
2019-06-10 00:07:18 +02:00
Henrik Friedrichsen
96a0e9f9d6
add type coercion helper to ListItem objects
2019-06-09 23:57:47 +02:00
Henrik Friedrichsen
b59e9b38e6
add CommandResult for modal views
2019-06-09 23:55:12 +02:00
Rasmus Larsen
db7a09c87b
Command parser
2019-05-21 18:11:54 +02:00
Rasmus Larsen
5500b34887
Remove dead code
2019-05-21 16:34:50 +02:00
Rasmus Larsen
4343343ee7
Implement silent default non-behaviour of a few commands
2019-05-21 16:05:12 +02:00
Rasmus Larsen
1e0d9ea952
Handle default command behavior
2019-05-21 16:01:56 +02:00
Rasmus Larsen
0beaa82a1f
Clippy fixes
2019-05-20 22:32:28 +02:00
Rasmus Larsen
1671db14c1
Move to enum-based commands
2019-05-20 22:15:12 +02:00
Henrik Friedrichsen
4b4a027c3c
add basepath cmdline flag
...
this allows a basepath to be set via commandline where ncspot will place
configuration and cache files.
fixes #65
2019-05-16 23:58:05 +02:00
Henrik Friedrichsen
68a2a633f2
match previous mpris action with that of "<" binding
...
fixes #71
2019-05-11 19:48:22 +02:00
Rasmus Larsen
cd4bd627da
Ensure no 'unknown command' error is thrown when no track is played
2019-05-10 20:20:55 +02:00
Rasmus Larsen
9ec80ac668
Remove unused imports
2019-05-10 13:07:12 +02:00
Rasmus Larsen
1a075694af
Break share command into smaller chunks
2019-05-10 13:06:36 +02:00
Rasmus Larsen
641ddf0113
Remove extra trailing comma and reformat
2019-05-10 12:57:31 +02:00
Rasmus Larsen
224597ae92
Move share command handling completely to ListView
2019-05-10 12:55:22 +02:00
Rasmus Larsen
90c1930c39
Fix playlist share url generation
2019-05-10 11:06:46 +02:00
Rasmus Larsen
4897d97931
Move URL handling to relevant structs and share selected song
2019-05-09 16:04:07 +02:00
Rasmus Larsen
a145d73072
Move keybind to
2019-05-08 18:45:10 +02:00
Rasmus Larsen
de1dea5c68
Add a keybind and shortcut to share the currently playing song
2019-05-07 23:39:15 +02:00
KoffeinFlummi
386ac8b896
cargo fmt
2019-04-28 11:59:12 +02:00
KoffeinFlummi
a98a4645f6
Make library the default view
2019-04-28 11:56:59 +02:00
KoffeinFlummi
c96d666481
Clear queue on play command
2019-04-28 11:56:47 +02:00
KoffeinFlummi
dce2f76f6e
Rewind to start on previous cmd
2019-04-28 11:43:15 +02:00
KoffeinFlummi
662b718a4c
Lazy-load non-library playlists
...
Fix #62
2019-04-28 11:31:32 +02:00
KoffeinFlummi
82dee638c5
Display saved status in statusbar
2019-04-28 11:04:59 +02:00