Commit graph

739 commits

Author SHA1 Message Date
Simon Persson
1518459048 Minor fixes after review. 2018-02-23 20:16:03 +01:00
Sasha Hilton
f8db550e5e Add volume normalisation support 2018-02-23 20:08:20 +01:00
Sasha Hilton
685fb4e345
Merge pull request #156 from kingosticks/fix/update-context-uri
Include updating context_uri along with tracks and current index
2018-02-22 16:30:32 +01:00
akosel
3ce22113cf Fix example use declarations (#160) 2018-02-22 13:24:04 +01:00
Simon Persson
9ff6fe900c Don't log messages when sending player events over channel. 2018-02-20 23:31:33 +01:00
Simon Persson
23d3c1593f Just spawn event handlers, don't wait for exit code. 2018-02-20 23:17:06 +01:00
Simon Persson
93af49aadf Send player event messages over futures aware channel. 2018-02-20 23:12:29 +01:00
Simon Persson
2eb4aa61d3 Use single program on events, and pass events in envars. 2018-02-20 22:45:14 +01:00
Simon Persson
081a282e12 Removed unreachable cases. 2018-02-20 22:09:53 +01:00
Simon Persson
ef48afbf41 Simplify match with if let. 2018-02-20 22:05:05 +01:00
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