Commit graph

608 commits

Author SHA1 Message Date
Sasha Hilton
8e0d75891d
[ci skip] Create CONTRIBUTING.md
Create initial contribution guidelines and setup instructions.
2018-02-26 18:13:41 +01:00
Sasha Hilton
aa880f8888
Merge pull request #165 from librespot-org/rustfmt
Format according to rustfmt guidelines
2018-02-26 03:59:52 +01:00
Sasha Hilton
53387a3889 Update travis to run rustfmt against all crates 2018-02-26 02:53:45 +01:00
Sasha Hilton
237ef1e4f9 Format according to rustfmt 2018-02-26 02:50:41 +01:00
Sasha Hilton
c3745a958a
Merge pull request #166 from librespot-org/apireview
API review
2018-02-26 02:46:16 +01:00
Sasha Hilton
79a1d9abe1
Merge pull request #167 from librespot-org/fix_enum
Add kSupportsPlaylistV2 enum
2018-02-25 22:09:16 +01:00
Sasha Hilton
80e0bdaa39 Add kSupportsPlaylistV2 enum 2018-02-25 21:23:32 +01:00
Sasha Hilton
197d80edbf Fix formatting 2018-02-25 16:33:32 +01:00
Sasha Hilton
0abad9a8f8 Add custom SpotifyIdError type 2018-02-25 15:47:57 +01:00
Sasha Hilton
084646e21b Use prompt for password in main.rs 2018-02-25 05:40:00 +01:00
Sasha Hilton
4fb8c71b0a Set SpotifyId methods to return Result 2018-02-25 03:04:07 +01:00
Sasha Hilton
21d7b618cb
Merge pull request #154 from Spotifyd/events-on-prev-next
Run onstart/onstop when a new song is loaded
2018-02-25 01:03:51 +01:00
Sasha Hilton
bde157fad7
Merge branch 'master' into events-on-prev-next 2018-02-24 20:16:28 +01:00
Sasha Hilton
eed2bb6938
Merge pull request #162 from librespot-org/normalisation
Add volume normalisation support
2018-02-24 18:54:03 +01:00
Anton Voyl
58ea1baa98 Issue 130 (#164)
* Core API: device_id

* Core API: u128
2018-02-24 16:34:04 +01:00
Sasha Hilton
542ec9d3b5 Minor style changes to normalisation code 2018-02-24 16:30:24 +01:00
Simon Persson
8c3f587f30 Assignment instead of mem::repalce() 2018-02-24 10:50:48 +01:00
Sasha Hilton
127f8b7bab Add constant for readability 2018-02-23 20:52:28 +01:00
Sasha Hilton
fc6c414e71 [ci skip] Correct spelling 2018-02-23 20:33:58 +01:00
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