Commit graph

929 commits

Author SHA1 Message Date
Simon Persson
3e2e6d63f7 Send Changed event after song change even if we stop playback. 2018-02-20 22:03:21 +01:00
Simon Persson
0a6825ba61 Add playing_to_end_of_track method to PlayerState. 2018-02-20 21:58:02 +01:00
Simon Persson
1b943d069f Move PlayerEvent into player. 2018-02-20 21:57:42 +01:00
Sasha Hilton
4f3a594229
Merge pull request #155 from awiouy/protobuf_macros_2
connect: dispose of protobuf_macros
2018-02-17 18:06:39 +01:00
Nick Steel
a463633956 Also update repeat and shuffle status. 2018-02-17 15:59:04 +00:00
Nick Steel
edabd042e4 Include updating context_uri along with tracks and current index.
This allows remote clients to show the green now-playing indication (#57).
2018-02-17 15:17:05 +00:00
awiouy
1cd7d4d145 connect: rewrite initial_state and CommandSender 2018-02-17 10:15:09 +01:00
awiouy
15909613e9 connect: dispose of protobuf_macros 2018-02-16 22:43:57 +01:00
Simon Persson
b0ee03112f First attempt at a better playback event system. 2018-02-16 00:16:38 +01:00
Simon Persson
77bea07c4f Run onstart/onstop when a new song is loaded 2018-02-14 23:39:44 +01:00
Sasha Hilton
1257f98915
Merge pull request #153 from ComlOnline/rustformat
Update the Auth panic to be rustfmt
2018-02-14 15:42:48 +01:00
Colm
d0ffb2ecdd
Update for rust format 2018-02-14 04:50:51 +00:00
Colm
63cc63b4b0
Merge pull request #3 from librespot-org/master
Updating personal fork
2018-02-14 04:47:07 +00:00
Sasha Hilton
874cc541de
Merge pull request #138 from librespot-org/authpanic
Add error message to auth failure case
2018-02-13 23:19:05 +01:00
Sasha Hilton
8be88d045f
Merge pull request #150 from plietar/cargo-lock
travis: Use `cargo --locked` everywhere
2018-02-13 23:18:25 +01:00
Sasha Hilton
1de8049a58
Merge pull request #148 from awiouy/sisyphus
core API review changes.
2018-02-13 22:25:17 +01:00
Sasha Hilton
1ff634f86e
Merge pull request #151 from librespot-org/backtrace
Enable backtrace on all builds
2018-02-13 22:08:34 +01:00
Sasha Hilton
17d39dffa9 Make backtrace var conditional 2018-02-13 16:46:10 +01:00
Sasha Hilton
6936825783 [ci skip] Accidentally deleted commit 2018-02-13 15:29:01 +01:00
Sasha Hilton
67dabcdd8e Enable backtrace on all builds 2018-02-13 14:02:37 +01:00
awiouy
a427c8316b metadata.rs is empty 2018-02-13 08:34:52 +01:00
awiouy
edbe00c62b core API: move StrChunks* to metadata 2018-02-13 08:33:50 +01:00
awiouy
0ed4fb1c68 core API: MercuryManager.request() 2018-02-13 08:24:59 +01:00
awiouy
ea597361ff core API: component.new() 2018-02-13 08:18:49 +01:00
awiouy
4c2b641cad core API: move spotify_id to lib.rs 2018-02-13 07:57:28 +01:00
Sasha Hilton
60996d108e Update device usage instructions 2018-02-13 02:35:59 +01:00
Paul Liétar
7dd5a40d21
travis: Use cargo --locked everywhere
This will prevent `Cargo.lock` from getting out of sync
2018-02-13 02:07:28 +01:00
awiouy
6a9084b00c core API: Lazy 2018-02-12 20:20:43 +01:00
awiouy
aed4fe32d8 core API: SessionInternal 2018-02-12 20:13:37 +01:00
awiouy
0fd398e34d core API: SessionData 2018-02-12 20:10:36 +01:00
awiouy
13241496ab Cargo.lock 2018-02-12 20:09:59 +01:00
Anton Voyl
e276d39704 core: remove protobuf_macros (#146)
Fixes #129
2018-02-12 15:58:09 +01:00
Paul Liétar
0cf11dae5c
Merge pull request #147 from librespot-org/replace
Implement [Replace] for rust-crypto
2018-02-12 15:57:14 +01:00
Sasha Hilton
234958672f Implement [replace] for rust-crypto 2018-02-12 14:48:39 +01:00
Sasha Hilton
9dc03b5c34
Merge pull request #144 from librespot-org/awiouy-core_API
Changes in line with API review.
2018-02-12 02:02:05 +01:00
Sasha Hilton
90ae9d713d Fix conflicts from PR #143 2018-02-12 01:12:02 +01:00
Sasha Hilton
2617a9cfe2
Merge pull request #139 from michaelherger/rustify
Rustify some recent changes according to plietar
2018-02-12 00:59:06 +01:00
awiouy
b7c32e9d6d rustfmt: connect 2018-02-11 23:55:41 +01:00
awiouy
d900134114 connect: discovery and spirc 2018-02-11 23:55:41 +01:00
awiouy
191caca518 core API: move Bitrate and PlayerConfig from core to playback 2018-02-11 23:55:41 +01:00
Paul Liétar
685c607c15
Merge pull request #141 from awiouy/rustfmt
rustfmt
2018-02-11 22:47:07 +01:00
awiouy
8658ad3a62 .travis.yml: add rustfmt 2018-02-11 13:28:06 +01:00
awiouy
c9ba73c9ef rustfmt: core 2018-02-11 12:37:08 +01:00
awiouy
0d92ac74d1 Add rustfmt.toml 2018-02-11 12:33:00 +01:00
Michael Herger
4636cb71b9 Print more descriptive error message when we fail to bind zeroconf to the given port. 2018-02-11 06:32:08 +01:00
Michael Herger
5ed4639cca Remove the -z as an alias for the --zeroconf-port parameter 2018-02-11 06:32:07 +01:00
Michael Herger
12487966b2 Somewhat uniform coding style might help myself to better understand Rust :-) 2018-02-11 06:32:07 +01:00
Sasha Hilton
f3bb85c33a
Merge pull request #137 from awiouy/core_API
core API review changes.
2018-02-10 23:14:41 +01:00
awiouy
a35edc6af4 core API: move run_program to player.rs 2018-02-10 17:58:15 +01:00
awiouy
496a802248 core API: move subfile.rs to player.rs 2018-02-10 17:58:15 +01:00