Commit graph

1327 commits

Author SHA1 Message Date
Konstantin Seiler
17821b26aa Rename variable to be in line with existing code. 2020-01-23 19:32:00 +11:00
Konstantin Seiler
113bb92c9d Prevent spirc from crashing when the queue is empty. 2020-01-23 19:26:47 +11:00
Konstantin Seiler
719943aec9 Don't panic if spirc terminates prematurely.
Instead attempt to reconnect and wait for new client connections.
2020-01-23 01:24:59 +11:00
Konstantin Seiler
ea1e0925dc Enable proper shutdown of the channels. 2020-01-23 01:23:34 +11:00
Konstantin Seiler
04b52d7878 Have player handle Mercury errors while loading tracks. 2020-01-23 01:15:30 +11:00
Konstantin Seiler
3fe3849588 Enable Mercury to be shut down and all pending requests being cancelled. 2020-01-23 01:14:43 +11:00
Konstantin Seiler
b6c676ad60 Prevent librespot from panicking if server connection is lost. 2020-01-22 21:55:45 +11:00
Konstantin Seiler
362106df62 Fix error handling for closed channel.
fixes #417
2020-01-22 16:58:21 +11:00
marcelbuesing
c9147d31ab
Turn child crates into rust 2018 edition 2020-01-17 20:54:05 +01:00
marcelbuesing
38d82f2dc2
Rerun rustfmt on full codebase 2020-01-17 18:47:30 +01:00
ashthespy
d26590afc5
Update to Rust 2018
- Fix deprecated Error::cause warnings and missing dyn
- Reset max_width
- Add rustfmt to Travis
- Run rustfmt on full codebase
 with `cargo fmt --all`
- Add rustfmt to Travis
- Complete migration to edition 2018
- Replace try! shorthand
- Use explicit `dyn Trait`
2020-01-17 18:11:52 +01:00
marcelbuesing
be2ad9059a
Migrate to rust 2018 edition 2020-01-17 15:54:42 +01:00
Ash
2a1482c880
Merge pull request #421 from ashthespy/autoplay
Don't panic when no autoplay uri is obtained
2020-01-08 13:13:49 +01:00
ashthespy
6c6ba88590 Don't panic when no autoplay uri is obtained
For example from Liked Songs (`spotify:user:xxx:collection`)
2020-01-07 12:13:49 +01:00
Sasha Hilton
f610436641
Merge pull request #416 from dbr/patch-1
Update readme regarding libspotify deprecation
2020-01-02 00:13:02 +00:00
dbr/Ben
becb314666
Update deprecation link to better summary 2019-12-28 23:06:55 +10:30
dbr/Ben
63a5c4de7f
Update readme regarding libspotify deprecation 2019-12-28 20:33:06 +10:30
Sean McNamara
d30ffcd1c0 Mostly fix play/pause/stop behavior. Pause is latent. 2019-12-25 17:51:22 -05:00
Sean McNamara
664c76b201 Fix playback on track change. Pause/resume is still weird. 2019-12-25 16:36:30 -05:00
Sean McNamara
ed04c049cc Working proof of concept with up to date gstreamer bindings and Rust 2018. 2019-12-25 12:19:48 -05:00
Sean McNamara
6707389732 Forward port plietar's WIP gstreamer backend. 2019-12-25 06:19:12 -05:00
Sasha Hilton
b634117fbf
Merge pull request #361 from HEnquist/playlists
Playlist metadata
2019-12-17 03:32:15 +01:00
henenq
f9511217ed Fix last merge conflict 2019-12-16 13:00:04 +01:00
henenq
50ab5af557 Fix merging 2019-12-16 12:57:45 +01:00
henenq
3b5f9ac64c Rebase, fix broken things 2019-12-16 12:47:52 +01:00
henenq
5d2897f6f6 Fixing merge requests 2019-12-16 11:56:34 +01:00
HEnquist
4f0033e81c Various changes following review 2019-12-16 11:38:46 +01:00
HEnquist
e2e52c78c0 Regenerate playlist protocol files 2019-12-16 09:57:59 +01:00
Henrik Enquist
6d8a53e888 Remove forgotten println 2019-12-16 09:57:59 +01:00
HEnquist
c530ee6e82 Some more cleaning 2019-12-16 09:57:59 +01:00
HEnquist
e1322474fa Clean up playlist example 2019-12-16 09:57:59 +01:00
HEnquist
65d07579ec Make standard metadata get handle also playlists 2019-12-16 09:57:59 +01:00
HEnquist
c7c24951d9 Remove unused code from metadata lib 2019-12-16 09:57:59 +01:00
HEnquist
9468ab7eec Remove unused code from example 2019-12-16 09:57:59 +01:00
HEnquist
e6295a6f9c Use new hm endpoint for playlists 2019-12-16 09:57:59 +01:00
HEnquist
9faaaae6d2 Add basic support for playlists 2019-12-16 09:57:59 +01:00
HEnquist
abd6ad6b25 Some more cleaning 2019-12-16 09:57:59 +01:00
HEnquist
abfcce282e Clean up playlist example 2019-12-16 09:57:59 +01:00
HEnquist
eb9ab4885f Make standard metadata get handle also playlists 2019-12-16 09:57:59 +01:00
HEnquist
d72eb38d62 Remove unused code from metadata lib 2019-12-16 09:51:43 +01:00
HEnquist
ae0585eb5b Remove unused code from example 2019-12-16 09:51:43 +01:00
HEnquist
d8fda8f79c Use new hm endpoint for playlists 2019-12-16 09:51:43 +01:00
HEnquist
5b26529811 Add basic support for playlists 2019-12-16 09:51:43 +01:00
Sasha Hilton
78bd0a1f7b
Merge pull request #394 from ashthespy/autoplay
Autoplay similar songs when your music ends
2019-12-12 19:04:48 +01:00
Sasha Hilton
ef0064b21b
Merge pull request #409 from artmg/dev
readme related project rpi-audio-receiver
2019-12-12 19:04:19 +01:00
Sasha Hilton
229649a21b
Merge pull request #405 from willstott101/libmdns-0.2.4
libmdns 0.2.4
2019-12-12 19:03:40 +01:00
ArtMG
b17f2d4b44 readme related project rpi-audio-receiver 2019-12-07 12:13:56 +00:00
Sasha Hilton
f67a38d373
Merge pull request #402 from kaymes/limit-request-number
Limit number of requests for pre-fetching
2019-12-03 00:49:27 +01:00
Will Stott
a497d694d2 libmdns 0.2.4 2019-11-26 21:16:15 +00:00
Ash
bcb1789d68
Merge pull request #395 from xMordax/dev
Added ansible-role-librespot to related projects
2019-11-24 23:12:55 +01:00