Commit graph

1135 commits

Author SHA1 Message Date
Åke Forslund
9b6b55ee7d Update subscription uri
This fixes an issue loading new tracks probably caused by an update on spotify's side. The fix was suggested by @worleydl, all glory to them for figuring it out.
2019-02-22 14:09:01 +01:00
Tristan Stenner
113fed5c42 Update rand to 0.6 2019-02-12 08:02:44 +01:00
Tristan Stenner
b320c4b2af Run cargo update 2019-02-05 20:08:02 +01:00
newpavlov
54974d8bd0 update Cargo.lock 2018-12-06 12:58:40 +03:00
newpavlov
4bd0fc8b36 update aes-ctr to 0.3 2018-12-06 12:49:23 +03:00
newpavlov
57065620ef update deps 2018-12-06 12:39:41 +03:00
Artyom Pavlov
772591576a
Merge branch 'master' into master 2018-12-06 09:38:33 +00:00
Sasha Hilton
d2cadec419
Merge pull request #262 from librespot-org/seek-eof
Fix seek past EOF panic for some tracks
2018-11-19 15:03:35 +01:00
Sasha Hilton
74e0adac15 Fix seek past EOF panic for some tracks 2018-11-10 21:31:03 +01:00
Anton Voyl
96557b4ec1
Merge pull request #260 from StopMotionCuber/fix_232
Changed TRACK_ID from base16 to base62 so that it is equal with the official Spotify app
2018-11-07 07:32:19 +01:00
Anton Voyl
3441ef8f32
Merge pull request #259 from awiouy/lewton-0.9.3
update lewton to 0.9.3
2018-11-04 23:14:32 +01:00
ruben
81e7c9b9d3 Changed TRACK_ID from base16 to base62 so that it is equal with the official Spotify app 2018-11-04 18:41:33 +01:00
Sasha Hilton
0331a7f592
Remove contrib from .dockerignore
See https://github.com/librespot-org/librespot/issues/243 for reason. Causes docker to fail for RPi builds.
2018-11-03 16:20:52 +01:00
awiouy
7cbf6d173b update lewton to 0.9.3 2018-11-01 14:03:51 +01:00
Sasha Hilton
d12640fb47
Merge pull request #251 from ashthespy/master
Update protobuf
2018-10-31 03:07:55 +00:00
Sasha Hilton
473fc188cd Bump minimum version for Travis Builds 2018-10-30 17:57:24 +00:00
Sasha Hilton
8d53c80481
Merge pull request #255 from wfraser/wfraser/child-exit-wait
reap the exit statuses from 'onevent' child processes using futures
2018-10-21 15:18:36 +02:00
Sasha Hilton
3614404f18
Merge pull request #248 from devgianlu/master
Add librespot-java to related projects
2018-10-16 15:26:44 +02:00
William R. Fraser
9fa138a116 implement using tokio-process instead 2018-10-16 02:34:56 -07:00
William R. Fraser
eaac599ce3 reap the exit statuses from 'onevent' child processes 2018-10-16 00:24:33 -07:00
Артём Павлов [Artyom Pavlov]
06266556de
update dependencies 2018-10-15 05:07:58 +03:00
ashthespy
96b432aa4c Implement support for dynamic playlists (Radio) 2018-10-12 19:15:26 +02:00
ashthespy
c5fcdfd43c Upgrade protobuf to 2.0 and use protoc-rust to compile proto files 2018-10-03 15:06:44 +02:00
ashthespy
37c588d6a1 Set proper name for kUnknown enum 2018-09-26 17:11:32 +02:00
Gianlu
be6910f720
Added librespot-java to related projects 2018-09-17 15:00:30 +02:00
Colm
a4e0f582a8
Merge pull request #237 from romerod/master
Docker file to create an RPI image
2018-08-17 13:30:12 +01:00
Sasha Hilton
ee87904ac1
Merge pull request #236 from haroldmrt/master
Add option to specify preferred AP port
2018-08-06 20:44:27 +01:00
newpavlov
2ae5589318 bump min Rust version to 1.27 2018-07-30 14:24:25 +03:00
newpavlov
1f1cd116e7 aes-ctr 2018-07-30 14:18:43 +03:00
newpavlov
e4677027d2 replace rust-crypto's hashes, HMAC and PBKDF2 2018-07-23 16:41:39 +03:00
Daniel Romero
4f8ea66207 Add Dockerfile.Rpi which creates a librespot docker image which can be used on the RPI directly. 2018-07-13 10:21:31 +02:00
Daniel Romero
861515e208 Add contrib to .dockerignore for the docker cache to work, when modifying the docker files 2018-07-13 10:21:31 +02:00
Harold
4fb3d5f271 Add ap-port option to specify preferred port 2018-07-03 13:09:22 +02:00
Harold
00e89343fb Formatting 2018-07-03 13:08:42 +02:00
Harold
f61bbd87a8 Change documentation to reflect code behavior 2018-07-03 13:07:29 +02:00
Dawid Dziurla
431be9e847 Add kUnknown enum (#224) 2018-05-18 01:20:41 +02:00
Brice
d40c0f50db Cache volume across restarts (#220)
* create Volume struct for use with Cache

* add "volume" file to Cache

* load cached volume on start, intial overrides cached overrides default

* amend volume_to_mixer function to cache the volume on every change

* pass cache to Spirc and SpircTask so volume_to_mixer has access

* rustfmt changes

* revert volume_to_mixer function and Spirc/SpircTask cache variable

* Volume implements Copy, pass by value instead of reference

* clamp volume to 100 if cached value exceeds limit

* convert Volume to u16 internally, use float and round to convert hex->dec

* convert initial_volume and ConnectConfig.volume to u16 as well

* add cache_volume function to SpircTask

* remove conversion to/from percentage on cached volume

* consolidate device.set_volume, mixer.set_volume, and caching

* streamline intial volume logic
2018-05-17 03:15:17 +02:00
StopMotionCuber
21f1ccfb5a Fixed Jackaudio compiling (#222) 2018-05-15 20:33:58 +02:00
Reinier Balt
deb240c02f reverse #212 since it does not address the real problem (#213) 2018-05-01 21:39:49 +02:00
Sasha Hilton
817dff06bf
Merge pull request #211 from lrbalt/remove-warning
remove deprecated and unused import
2018-04-30 16:48:49 +02:00
Sasha Hilton
b86ffa9e7c Update Cargo versions 2018-04-30 16:12:13 +02:00
Sasha Hilton
92835af007
Merge pull request #212 from lrbalt/shutdown
return from Main loop on Ctrl-C/shutdown
2018-04-30 15:46:12 +02:00
Reinier Balt
870afdb4b6 fix deprecation warning for bytes 2018-04-30 14:28:43 +02:00
Reinier Balt
6a4e9e8bec return from Main loop on Ctrl-C/shutdown 2018-04-30 14:22:45 +02:00
Reinier Balt
e6fff8003f remove deprecated and unused import 2018-04-26 09:15:01 +02:00
Sasha Hilton
59cff3d4c5
Merge pull request #202 from kbrah/master
Fixes player initialization in the play.rs
2018-04-25 20:16:46 +02:00
Sasha Hilton
d76d9725e0
Remove rust fmt from Travis
From #208 rust fmt has been removed as it is still somewhat unstable.
2018-04-25 20:15:32 +02:00
Sasha Hilton
ffb7714cb4
Merge pull request #206 from lrbalt/master
Do not panic on connection reset
2018-04-25 20:11:51 +02:00
Reinier Balt
ab70e6ec40 run rustfmt --all 2018-04-25 19:29:50 +02:00
Reinier Balt
2aea0e8fe6 do not panic on connection reset 2018-04-21 17:46:29 +02:00