Commit graph

477 commits

Author SHA1 Message Date
Paul Lietar fe56604037 Replace GMP by num’s Bignum implementation.
This is awfully slow in debug builds, but simplifies the build process a
lot.
2015-10-20 11:23:41 +01:00
Paul Lietar 10cc523cfd Update to rust nightly 2015-10-20 11:22:08 +01:00
Paul Lietar 1399ea7c32 Remove unused subsystem module. 2015-09-01 16:53:09 +02:00
Paul Lietar 267ccbe65e Fix build on latest rust. 2015-09-01 13:20:37 +02:00
Simon Persson ef1c86df18 Make command line argument parsing more robust. 2015-07-20 16:31:59 +00:00
Paul Lietar 1d76658fdf Support playing multiple tracks in a row 2015-07-09 23:09:40 +01:00
Paul Lietar 506f3e624e Don’t crash on end of track. 2015-07-09 22:35:24 +01:00
Paul Lietar 94503e351b Remove busy waiting in SpircManager. 2015-07-09 22:04:19 +01:00
Paul Lietar 1264394838 Add a SpircDelegate abstraction. 2015-07-09 21:08:14 +01:00
Paul Lietar cdd939e88e Clean up main.rs 2015-07-09 20:08:56 +01:00
Tor Arne Vestbø 22e367214e Move SPIRC into librespot so it can be re-used by other applications 2015-07-08 23:01:15 +02:00
Tor Arne Vestbø cbd414853f Move librespot into lib.rs and let main.rs be the test binary 2015-07-08 23:01:14 +02:00
Paul Lietar e452abce43 Cache audio files to disk. 2015-07-07 22:40:31 +01:00
Paul Lietar 9ae452e22d Keep audio files cached in ram. 2015-07-03 02:23:49 +02:00
Paul Lietar 28a7db26be cache audio keys in memory 2015-07-02 23:05:47 +02:00
Paul Lietar 4fd0b37e2b Initial Spotify Connect receiver.
Supports basic play/pause. Only a single track for now.
2015-07-02 21:42:49 +02:00
Paul Lietar 2a2f227bef Refactor the whole architecture.
Use less threads, makes it much simpler to reason about.
2015-07-02 19:24:25 +02:00
Paul Lietar c1ce87dbbd spirc: Keep track of player status 2015-07-02 13:54:34 +02:00
Paul Lietar df11960946 spirc: Don’t hardcode stuff 2015-07-02 01:27:19 +02:00
Paul Lietar 45491925de Answer to basic Spirc requests. 2015-07-02 00:40:38 +02:00
Paul Lietar 7897070bb7 Add initial Spirc support. 2015-07-01 22:21:22 +02:00
Paul Lietar addc1fce22 Update protocol files. 2015-07-01 20:18:00 +02:00
Paul Lietar caf78992fb Merge AudioFile and AudioFileReader 2015-06-24 01:41:39 +01:00
Paul Lietar 4835d25370 add audio seeking support 2015-06-23 18:34:48 +01:00
Paul Lietar 7ffe996652 Lots of stuff 2015-06-23 15:38:29 +01:00
Paul Liétar 1ad62e6f18 First working version of protocol handshake.
Key exchange and authentication is functional.
Protocol definition has been moved to separate crate to speed up build time.
Various cleanups. Take login info from command line, rather than hardcoded.
2015-05-09 11:16:43 +01:00
Paul Liétar a993b60ffa Initial commit. 2015-04-25 21:32:07 +01:00