Commit graph

933 commits

Author SHA1 Message Date
Colm
03de235d2f
Merge pull request #198 from librespot-org/500_error
Add 5xx error panic
2018-04-12 20:52:47 +01:00
Sasha Hilton
96124c5e18 Add 5xx error panic 2018-04-06 02:44:06 +02:00
Sasha Hilton
8995f7609f
Merge pull request #191 from Fulkerson/master
Add support for HTTP proxy
2018-04-06 01:25:46 +01:00
Johan Anderholm
96a6978016 Update Cargo.lock
librespot now require rust 1.21.0. error_chain is updated to avoid
compilation warnings about unused rustdoc.
2018-03-24 08:45:43 +00:00
Johan Anderholm
3a14e9a6be Validate proxy urls better.
Use the url crate to handle proxies to make sure they conform to a
proper format.
2018-03-24 08:45:43 +00:00
Johan Anderholm
1a04e3b899 Resolve AP through proxy as well 2018-03-24 08:45:43 +00:00
Johan Anderholm
3bdc5e0073 Add support for http proxy
Currently only http proxy (no https) is supported.
2018-03-24 08:45:43 +00:00
Johan Anderholm
612978908f Reformat according to new rustfmt rules 2018-03-24 08:45:43 +00:00
Sasha Hilton
cb61e222d7
Merge pull request #194 from brain0/fix_pulseaudio
Fix pulseaudio playback with Lewton
2018-03-23 23:48:30 +01:00
Thomas Bächler
0c18aa51ad playback: pulseaudio: Panic in write if data is empty 2018-03-20 14:14:44 +01:00
Thomas Bächler
014533a583 playback: Only send a packet to the audio backend if it isn't empty
The lewton decoder sometimes delivers empty packets, especially after skipping inside a
track or switching tracks. This caused the pulseaudio backend to fail since it expects
a non-empty packet. There is no need to handle empty packets in the audio backend, so
we can skip them entirely.
2018-03-20 14:14:44 +01:00
Sasha Hilton
e92bb451b5
[ci skip] Add related projects note to bottom of readme 2018-03-18 21:33:01 +01:00
Sasha Hilton
0f80d80205
[ci skip] Update links and documentation. 2018-03-16 04:13:12 +01:00
Sasha Hilton
085f76162f
Merge pull request #188 from thekr1s/linear-volume-control
Add optional linear volume contol
2018-03-15 23:43:44 +01:00
thekr1s
d6b82cd732 revert file mode to original mode 2018-03-14 23:19:49 +01:00
thekr1s
b1f2a412ad fir rustfmt issues 2018-03-11 13:34:30 +01:00
Colm
9d9c3117ed
Merge pull request #184 from ashthespy/armv6hf
Add a armv6hf crossbuild target
2018-03-11 11:14:18 +00:00
thekr1s
b3966b0e08 Add optional linear volume contol 2018-03-11 11:27:28 +01:00
ashthespy
24cd9aa581 Add a armv6hf crossbuild target
Tweak `armv6hf` crossbuild script

Fix example typo in Dockerfile

Changed File permissions
2018-03-10 19:10:34 +01:00
Sasha Hilton
8f8eb8cc23
Merge pull request #173 from librespot-org/base62
Add to_base62 method
2018-02-28 15:47:02 +01:00
Sasha Hilton
f830322e14 Fix spotify URI logging 2018-02-28 13:35:31 +01:00
Sasha Hilton
cbc4ee7554 Add to_base62 method 2018-02-28 13:29:24 +01:00
Sasha Hilton
a7334b6c23 Add to_base62 method 2018-02-28 13:28:57 +01:00
Sasha Hilton
593dfa04b6
Merge pull request #170 from librespot-org/plietar-patch-1
Remove TODO list from README
2018-02-27 01:53:34 +01:00
Paul Liétar
8cd1ab4218
Remove TODO list from README
This is just bound to become out of date, and is what GH issues are for.
2018-02-27 01:44:14 +01:00
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