Commit graph

739 commits

Author SHA1 Message Date
Paul Lietar
f207d53943 Remove capi.
This was just some unsuccessful attempt at create an API compatible with
libspotify.

One day I’ll make a C API without caring about that compatibility
2016-07-06 00:21:05 +01:00
Elliot Greenwood
4c04737a3d Update README.md 2016-05-27 16:34:40 +01:00
Paul Lietar
4d277e5b75 stream: refactor into a reactor pattern. 2016-05-09 12:22:51 +01:00
Paul Lietar
b753f3b72c travis: disable email notifications 2016-05-06 20:23:26 +01:00
Paul Lietar
ed14c3469b track: Use a linear map to store files by format. 2016-05-04 10:03:46 +01:00
Paul Lietar
c76b7b472f Workaround weird parsing bug 2016-05-04 09:56:23 +01:00
Paul Lietar
ed425292f3 Update to latest nightly 2016-05-04 09:37:09 +01:00
Paul Lietar
dde613e0a0 player: skip unavailable tracks rather than crash
Fixes #74
2016-05-04 09:11:27 +01:00
Paul Lietar
8d8aad8191 Update protobuf definition 2016-05-03 10:04:54 +01:00
Paul Lietar
7a21287311 Merge pull request #80 from marcust/fix-crash-2
Temporary fix for new CapabilityType 0xb (#74)
2016-04-30 22:29:11 +01:00
Marcus Thiesen
3efa42e081 Temporary fix for new CapabilityType 0xb (#74) 2016-04-30 13:53:33 +02:00
Paul Lietar
2439f10ea4 Merge pull request #79 from marcust/fix-crash
Temporary fix for #74
2016-04-29 11:36:10 +01:00
Marcus Thiesen
95c63fec7f Temporary fix for #74 2016-04-28 19:24:39 +02:00
Paul Lietar
f4c409ffa5 Merge pull request #78 from plietar/fix-url
Downgrade url to 0.5
2016-04-25 20:14:54 +01:00
Paul Lietar
4e9e8bb5ce Downgrade url to 0.5
url 1.0 removed the parse_path API we need.
2016-04-25 15:22:22 +01:00
Paul Lietar
a42752af2f Update dependencies. 2016-04-24 15:40:05 +01:00
Paul Lietar
f50fca02ae player: Add seek_at command for precise seeking 2016-04-24 14:48:15 +01:00
Paul Lietar
8c0a37357d Fix static app key with syntex 2016-04-24 14:47:52 +01:00
Paul Lietar
a36325a46a Add a main helper to make it easier to use librespot. 2016-04-24 13:29:26 +01:00
Paul Lietar
edb8a6a766 Cleanup authentication logic 2016-04-24 12:15:53 +01:00
Paul Lietar
c47a1b7ec9 Remove support for password in environment variable.
This is less useful now that saved credentials work.
2016-04-24 09:56:05 +01:00
Paul Lietar
f8cd09e5be Use is_err rather than pattern matching. 2016-04-24 09:54:56 +01:00
Paul Lietar
8bbed4c162 Remove unused eprintln macro and hex dump function. 2016-04-24 09:50:55 +01:00
Paul Lietar
2a5fd26998 Merge commit 'b0ea636179c771eaecfd52a02b3ad754f598c397' 2016-04-24 09:50:04 +01:00
Paul Lietar
823bdb91fe Update last known nightly 2016-04-23 16:01:02 +01:00
Paul Lietar
482a93eddb Bump dependencies. 2016-04-23 15:51:12 +01:00
Marcus Thiesen
b0ea636179 Replace some more println with log 2016-04-23 13:35:00 +02:00
Tor Arne Vestbø
e08ed545ee Use log crate instead of println
Allows more granular control over what gets logged to the console.
2016-04-23 13:35:00 +02:00
Paul Lietar
fcd35564df Merge pull request #73 from moses-palmer/fixup-build
Updated dependency eventual
2016-04-23 00:23:58 +01:00
Paul Lietar
b8b0f9c36e Fix seconds to milliseconds conversion in vorbis_time_tell_ms. 2016-04-23 00:09:19 +01:00
Moses Palmér
0df71962c6 Updated dependency eventual
The new version allows the library to be built using rust nightly.
2016-04-17 21:05:18 +02:00
Paul Lietar
c0f9e40756 libprotoc-dev is protobuf-devel on Fedora 2016-03-26 20:33:37 +00:00
Paul Lietar
45e03c42a4 Enable PortAudio backend by default. 2016-03-21 15:39:48 +00:00
Paul Lietar
cbce6f2ac1 Merge pull request #66 from marcust/pulse_backend_updated
Pulse backend with updated dependencies
2016-03-21 11:44:47 +00:00
Marcus Thiesen
11e62d56d8 Use usize for pointer size 2016-03-21 10:13:28 +01:00
Marcus Thiesen
f587b375e8 Update dependencies 2016-03-21 10:04:18 +01:00
Marcus Thiesen
5ca2c35dbc Pulseaudio backend 2016-03-21 09:39:58 +01:00
Paul Lietar
2b019660fa travis: Build with specific nightly version. 2016-03-20 17:55:20 +00:00
Paul Lietar
968a39a131 Make audio backend configurable at run time. 2016-03-20 16:16:20 +00:00
Paul Lietar
e6dd77fc02 Add missing file from previous commit. 2016-03-20 14:00:59 +00:00
Paul Lietar
01fa099cda Reenable Facebook authentication. 2016-03-20 13:55:20 +00:00
Paul Lietar
5639dae42d Update dependencies. 2016-03-20 13:37:40 +00:00
Paul Lietar
97f6968a2c travis: allow failures on rust nightly 2016-03-18 15:58:44 +00:00
Paul Lietar
423a39dba3 Merge pull request #62 from respotify/build-on-fedora
Add build steps for Fedora systems
2016-03-17 15:22:29 +00:00
Yugo Amaryl
536bbae812 Add build steps for Fedora systems 2016-03-17 13:20:27 +00:00
Paul Lietar
b051bfcc5b Disable Facebook authentication for now.
It got broken when moving to the authentication subdirectory.
2016-03-17 03:45:57 +00:00
Paul Lietar
230c891df0 Print librespot version on startup. 2016-03-17 03:31:57 +00:00
Paul Lietar
0770f6ce61 Move authentication to a different directory, and make discover use hyper. 2016-03-17 03:28:28 +00:00
Paul Lietar
85903a0da5 Split cache handling to separate module.
Use it for audio keys and album covers as well.
2016-03-16 04:20:42 +00:00
Paul Lietar
a7559787df facebook: Use a random, OS-assigned port instead of hardcoded 8001. 2016-03-16 00:38:05 +00:00