Paul Lietar
38351c9a87
Make dns-sd optional
2016-01-02 02:28:54 +01:00
Paul Lietar
0984ad0bf0
Update protobuf-macros
2016-01-02 01:18:07 +01:00
Paul Lietar
bead9daf78
Add zeroconf based authentication.
2016-01-02 00:27:08 +01:00
Paul Lietar
4806f3e85a
mercury: Register subscription for all channel aliases
...
When subscribing to a channel, we may actually end up subscribed to other
alias channels. We must track these as well in order to redirect received
messages properly.
2016-01-02 00:02:22 +01:00
Paul Lietar
877f4f7b93
Merge pull request #23 from JayRod12/master
...
Use canonical username when subscribing to spirc.
2015-12-31 01:00:09 +01:00
Paul Lietar
3219460666
Add travis build file.
2015-12-31 00:51:37 +01:00
Jaime Rodriguez
e321379501
Use canonical username when subscribing to spirc.
...
Uses canonical username that APWelcome message
contains once authenticated instead of username
provided by user. SpircManager now accesses it via
its Session field.
Fixes #15
2015-12-30 20:11:46 +01:00
Paul Lietar
525b27df98
Fix formula for the number of chunks.
...
It was rounding to the nearest boundary as opposed to rounding up. This
caused the last chunk to not always be downloaded.
2015-12-30 12:42:47 +01:00
Paul Lietar
654a403459
Improve handling of missing audio keys by failing the future rather than crashing.
2015-12-29 23:12:02 +01:00
Paul Lietar
8c2aa28d43
Use the correct country when checking for track availability.
2015-12-29 13:13:26 +01:00
Paul Lietar
22d586e473
Block player thread when nothing is playing.
2015-12-28 18:45:13 +01:00
Paul Lietar
17d4534260
Play an alternative track if selected one is not available.
2015-12-28 17:47:59 +01:00
Paul Lietar
4f518fc445
Get track availability and alternatives
2015-12-28 17:47:32 +01:00
Paul Lietar
5db141066a
Use eventual’s futures in metadata instead of rolling our own.
...
For now the object cache has been removed. It may be added back later.
2015-12-28 16:53:54 +01:00
Paul Lietar
009d4e9019
Bump dependencies. Use eventual from registry again.
2015-12-28 01:44:08 +01:00
Paul Lietar
0ebe8b9e82
Fox subscription URL for spirc.
...
For some reason the old URL doesn’t work in new clients.
Can’t remember where it came from.
2015-12-28 01:41:29 +01:00
Paul Lietar
09e180b0e2
Remove deprecation warnings.
2015-12-28 01:29:53 +01:00
Paul Lietar
a2db3151bc
Add authentication docs.
2015-12-28 01:29:16 +01:00
Paul Lietar
a604e9d679
Add documentation about low level protocol
2015-12-23 19:28:26 +01:00
Paul Lietar
5cbd53fef2
Update dependencies, use git version of eventual.
2015-12-22 18:05:13 +01:00
Paul Lietar
2b420fa81d
Merge pull request #13 from lawrencejones/up-and-running
...
Runs against nightly build v1.7.0
2015-12-18 20:57:43 +00:00
Lawrence Jones
85c1925f8d
Fixes compilation errors
2015-12-18 19:59:10 +00:00
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
Paul Lietar
ab7b5ba69d
Merge pull request #6 from SimonPersson/master
...
Add information about facebook accounts.
2015-07-27 23:44:19 +02:00
Simon Persson
541c6816d4
Add information about facebook accounts.
2015-07-27 19:36:13 +00:00
Paul Lietar
3fb56e9c3d
Merge pull request #5 from ChristianHersevoort/patch-1
...
Update README.md
2015-07-21 09:49:38 +01:00
ChristianHersevoort
985e8bed68
Update README.md
...
Incorrect argument in documentation
2015-07-20 22:11:48 +02:00
Paul Lietar
8bbd7023bf
Merge pull request #4 from SimonPersson/master
...
Make command line parsing more robust
2015-07-20 17:50:09 +01:00
Simon Persson
ef1c86df18
Make command line argument parsing more robust.
2015-07-20 16:31:59 +00:00
Paul Lietar
17fdca40dd
Fix path to main binary in README.md
2015-07-14 23:52:38 +01:00
Paul Lietar
9b924d1c47
Add README with build and run instructions.
2015-07-14 23:27:03 +01: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
Paul Lietar
0b6351df8d
Merge pull request #3 from torarnv/move-to-lib
...
Move librespot into lib.rs and let main.rs be the test binary
2015-07-09 20:06:27 +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
f0bb24d23f
Fix build on latest nightly.
2015-07-02 22:00:30 +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