Commit graph

871 commits

Author SHA1 Message Date
Konstantin Seiler
a52092e094 Convert another panic to error handling.
Compatibility fix for Rust 1.33.
2020-01-24 10:12:16 +11:00
Konstantin Seiler
0e22678a28 Workaround for Rust 1.33 borrow checker. 2020-01-23 21:10:55 +11:00
Konstantin Seiler
dadab486d2 Don't exit if too many spirc failures. 2020-01-23 19:51:09 +11:00
Konstantin Seiler
f26db01110 Rate-limit automatic re-connection attempts when spirc shuts down. 2020-01-23 19:32:06 +11:00
Konstantin Seiler
17821b26aa Rename variable to be in line with existing code. 2020-01-23 19:32:00 +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
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
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
Ash
b193e9883a
Merge pull request #388 from ashthespy/dev_process
Update Readme and Contributing to be more consistent
2019-11-20 13:18:16 +01:00
Konstantin Seiler
e550b7f729 rustfmt 2019-11-18 11:08:34 +11:00
Konstantin Seiler
db0e4a0422 Limit number of prefetch requests. 2019-11-18 10:54:44 +11:00
ashthespy
a4de22d595 [ci skip] Link to Compiling in Readme 2019-11-15 11:53:50 +01:00
Sasha Hilton
05b281f085
Update Travis shield 2019-11-12 23:03:27 +00:00