Thomas Bächler
014533a583
playback: Only send a packet to the audio backend if it isn't empty
...
The lewton decoder sometimes delivers empty packets, especially after skipping inside a
track or switching tracks. This caused the pulseaudio backend to fail since it expects
a non-empty packet. There is no need to handle empty packets in the audio backend, so
we can skip them entirely.
2018-03-20 14:14:44 +01:00
Sasha Hilton
e92bb451b5
[ci skip] Add related projects note to bottom of readme
2018-03-18 21:33:01 +01:00
Sasha Hilton
0f80d80205
[ci skip] Update links and documentation.
2018-03-16 04:13:12 +01:00
Sasha Hilton
085f76162f
Merge pull request #188 from thekr1s/linear-volume-control
...
Add optional linear volume contol
2018-03-15 23:43:44 +01:00
thekr1s
d6b82cd732
revert file mode to original mode
2018-03-14 23:19:49 +01:00
thekr1s
b1f2a412ad
fir rustfmt issues
2018-03-11 13:34:30 +01:00
Colm
9d9c3117ed
Merge pull request #184 from ashthespy/armv6hf
...
Add a armv6hf crossbuild target
2018-03-11 11:14:18 +00:00
thekr1s
b3966b0e08
Add optional linear volume contol
2018-03-11 11:27:28 +01:00
ashthespy
24cd9aa581
Add a armv6hf crossbuild target
...
Tweak `armv6hf` crossbuild script
Fix example typo in Dockerfile
Changed File permissions
2018-03-10 19:10:34 +01:00
Sasha Hilton
8f8eb8cc23
Merge pull request #173 from librespot-org/base62
...
Add to_base62 method
2018-02-28 15:47:02 +01:00
Sasha Hilton
f830322e14
Fix spotify URI logging
2018-02-28 13:35:31 +01:00
Sasha Hilton
cbc4ee7554
Add to_base62 method
2018-02-28 13:29:24 +01:00
Sasha Hilton
a7334b6c23
Add to_base62 method
2018-02-28 13:28:57 +01:00
Sasha Hilton
593dfa04b6
Merge pull request #170 from librespot-org/plietar-patch-1
...
Remove TODO list from README
2018-02-27 01:53:34 +01:00
Paul Liétar
8cd1ab4218
Remove TODO list from README
...
This is just bound to become out of date, and is what GH issues are for.
2018-02-27 01:44:14 +01:00
Sasha Hilton
8e0d75891d
[ci skip] Create CONTRIBUTING.md
...
Create initial contribution guidelines and setup instructions.
2018-02-26 18:13:41 +01:00
Sasha Hilton
aa880f8888
Merge pull request #165 from librespot-org/rustfmt
...
Format according to rustfmt guidelines
2018-02-26 03:59:52 +01:00
Sasha Hilton
53387a3889
Update travis to run rustfmt against all crates
2018-02-26 02:53:45 +01:00
Sasha Hilton
237ef1e4f9
Format according to rustfmt
2018-02-26 02:50:41 +01:00
Sasha Hilton
c3745a958a
Merge pull request #166 from librespot-org/apireview
...
API review
2018-02-26 02:46:16 +01:00
Sasha Hilton
79a1d9abe1
Merge pull request #167 from librespot-org/fix_enum
...
Add kSupportsPlaylistV2 enum
2018-02-25 22:09:16 +01:00
Sasha Hilton
80e0bdaa39
Add kSupportsPlaylistV2 enum
2018-02-25 21:23:32 +01:00
Sasha Hilton
197d80edbf
Fix formatting
2018-02-25 16:33:32 +01:00
Sasha Hilton
0abad9a8f8
Add custom SpotifyIdError type
2018-02-25 15:47:57 +01:00
Sasha Hilton
084646e21b
Use prompt for password in main.rs
2018-02-25 05:40:00 +01:00
Sasha Hilton
4fb8c71b0a
Set SpotifyId methods to return Result
2018-02-25 03:04:07 +01:00
Sasha Hilton
21d7b618cb
Merge pull request #154 from Spotifyd/events-on-prev-next
...
Run onstart/onstop when a new song is loaded
2018-02-25 01:03:51 +01:00
Sasha Hilton
bde157fad7
Merge branch 'master' into events-on-prev-next
2018-02-24 20:16:28 +01:00
Sasha Hilton
eed2bb6938
Merge pull request #162 from librespot-org/normalisation
...
Add volume normalisation support
2018-02-24 18:54:03 +01:00
Anton Voyl
58ea1baa98
Issue 130 ( #164 )
...
* Core API: device_id
* Core API: u128
2018-02-24 16:34:04 +01:00
Sasha Hilton
542ec9d3b5
Minor style changes to normalisation code
2018-02-24 16:30:24 +01:00
Simon Persson
8c3f587f30
Assignment instead of mem::repalce()
2018-02-24 10:50:48 +01:00
Sasha Hilton
127f8b7bab
Add constant for readability
2018-02-23 20:52:28 +01:00
Sasha Hilton
fc6c414e71
[ci skip] Correct spelling
2018-02-23 20:33:58 +01:00
Simon Persson
1518459048
Minor fixes after review.
2018-02-23 20:16:03 +01:00
Sasha Hilton
f8db550e5e
Add volume normalisation support
2018-02-23 20:08:20 +01:00
Sasha Hilton
685fb4e345
Merge pull request #156 from kingosticks/fix/update-context-uri
...
Include updating context_uri along with tracks and current index
2018-02-22 16:30:32 +01:00
akosel
3ce22113cf
Fix example use declarations ( #160 )
2018-02-22 13:24:04 +01:00
Simon Persson
9ff6fe900c
Don't log messages when sending player events over channel.
2018-02-20 23:31:33 +01:00
Simon Persson
23d3c1593f
Just spawn event handlers, don't wait for exit code.
2018-02-20 23:17:06 +01:00
Simon Persson
93af49aadf
Send player event messages over futures aware channel.
2018-02-20 23:12:29 +01:00
Simon Persson
2eb4aa61d3
Use single program on events, and pass events in envars.
2018-02-20 22:45:14 +01:00
Simon Persson
081a282e12
Removed unreachable cases.
2018-02-20 22:09:53 +01:00
Simon Persson
ef48afbf41
Simplify match with if let.
2018-02-20 22:05:05 +01:00
Simon Persson
3e2e6d63f7
Send Changed event after song change even if we stop playback.
2018-02-20 22:03:21 +01:00
Simon Persson
0a6825ba61
Add playing_to_end_of_track method to PlayerState.
2018-02-20 21:58:02 +01:00
Simon Persson
1b943d069f
Move PlayerEvent into player.
2018-02-20 21:57:42 +01:00
Sasha Hilton
4f3a594229
Merge pull request #155 from awiouy/protobuf_macros_2
...
connect: dispose of protobuf_macros
2018-02-17 18:06:39 +01:00
Nick Steel
a463633956
Also update repeat and shuffle status.
2018-02-17 15:59:04 +00:00
Nick Steel
edabd042e4
Include updating context_uri along with tracks and current index.
...
This allows remote clients to show the green now-playing indication (#57 ).
2018-02-17 15:17:05 +00:00