Commit graph

1112 commits

Author SHA1 Message Date
Emanuel Haupt
1b1c22b6bc
Add documentation about official packages (#531)
Many operating systems have already packaged librespot. Add some documentation about the availability of official packages. [Repology](https://repology.org/project/librespot/versions) provides a great overview and nice badges over the package status along with available versions.
2020-10-18 19:11:16 +02:00
Sasha Hilton
a2f832dff1
Merge pull request #529 from willstott101/libmdns-0.2.7
Bump libmdns to 0.2.7 hopefully fixes: #520
2020-10-06 02:09:55 +01:00
Will Stott
dfef2cb433 Bump libmdns to 0.2.7 hopefully fixes: #520 2020-10-05 18:32:25 +01:00
marcelbuesing
a3774632a0
Align PLAYER_EVENT naming 2020-09-25 16:11:30 +02:00
Ash
064359c26e
Add an example to fetch a Spotify API token (#512) 2020-08-25 23:13:46 +02:00
Laurent Louf
5f11ddea50 Main issue is probably when copying the content to the file, not during the file creation, but handle both cases just to be sure 2020-08-04 12:25:32 +02:00
Laurent Louf
9d832baf83 Instead of disabling audio cache, just clean the audio cache and start caching again from the current file 2020-08-03 13:18:23 +02:00
Laurent Louf
b34032690b Don't create directories for the audio cache if it disabled 2020-08-02 10:52:09 +02:00
Sasha Hilton
bf44c8c170 Update publish.sh to rebase dev after publish. 2020-07-29 16:44:48 +01:00
Sasha Hilton
1cd69ab028 Update Cargo.lock 2020-07-29 16:40:24 +01:00
Sasha Hilton
45f4276d68 Update version numbers to 0.1.3 2020-07-29 16:23:41 +01:00
Sasha Hilton
7626a70036
Merge pull request #443 from ashthespy/maped_mixer
[alsa] Implement cubic mapping for hardware mixers
2020-07-29 16:21:37 +01:00
ashthespy
9e7180feb4 Use mixer's mute switch if possible 2020-07-29 15:59:45 +01:00
ashthespy
46328810cb Make alsamixer less verbose 2020-07-29 15:59:45 +01:00
ashthespy
527a4ccbe2 Better alsamixer volume mapping for hardware mixers 2020-07-29 15:59:45 +01:00
ashthespy
3dfad7f788 Implement mapped volume for alsa mixer 2020-07-29 15:59:45 +01:00
Sasha Hilton
4886d4eed2
Merge pull request #504 from librespot-org/build-fixes
General fixes to protobuf bindings, depreciation warnings and publish.sh
2020-07-27 00:17:38 +01:00
Laurent Louf
c14c254c6b Format 2020-07-26 16:11:32 +02:00
Laurent Louf
09bebe5dd7 Fix types 2020-07-25 13:51:45 +02:00
Laurent Louf
77cb66d9a3 Fix syntax 2020-07-25 13:51:34 +02:00
ashthespy
99be49acd2 Set volume control default to log, clean up stray debugs 2020-07-25 09:52:21 +02:00
Ash
f0b3b2c7e8
Refactor Volume control, allow for a fixed volume option (#447)
Refactored the old `--linear-volume` flag to a more generic `--volume-ctrl` flag that takes the options of `[linear, log, fixed]`. It defaults as previously to log.
2020-07-25 09:38:08 +02:00
Sasha Hilton
16462b34e2 Accidentally bumped protobuf version 2020-07-25 04:50:58 +01:00
Sasha Hilton
e97911e3cf Generate proto bindings in OUT_DIR, remove precompiled bindings 2020-07-25 04:43:01 +01:00
Sasha Hilton
dc99cd73c0
Merge pull request #440 from tehcodedninja/SpotfyId-toURI
Ability to get the Spotify URI from a SpotifyId
2020-07-25 03:19:44 +01:00
Sasha Hilton
60ee4609da
Merge pull request #456 from allquixotic/gst1.0-2020
Add gstreamer backend to librespot
2020-07-25 03:18:20 +01:00
Sasha Hilton
a45695c9d3 Merge dev to current branch, fix Cargo.lock error 2020-07-25 02:52:37 +01:00
Sasha Hilton
732bb1ce82 Merge branch 'dev' into gst1.0-2020 2020-07-25 02:52:21 +01:00
Laurent Louf
f075a75aee Disable audio cache when there is an error trying to create a file 2020-07-25 01:20:08 +02:00
Laurent Louf
8fc9ebfa8c Add the option to specify the system cache for credentials and volume files and adapt Cache to use two cache directories instead of one 2020-07-24 23:18:29 +02:00
Sasha Hilton
e3abb87da1 Merge branch 'master' into dev 2020-07-24 04:01:45 +01:00
Sasha Hilton
6aac8a6912
[ci skip] Update COMPILING.md 2020-07-24 04:00:42 +01:00
Sasha Hilton
4a21b5cbeb Fix depreciation warnings
Fixes error description depreciation warnings and removes unnecessary parentheses
2020-07-24 03:32:36 +01:00
Sasha Hilton
22ca944c77 Small tweak to console output during publishing. 2020-07-24 03:14:24 +01:00
Sasha Hilton
4de9c92a29 Update build.rs & publish.sh with minor fixes 2020-07-24 03:11:14 +01:00
Sasha Hilton
6eabf4a75c
Merge pull request #449 from kaymes/blocking_sink_events
Add blocking SinkActive|SinkInactive events
2020-07-24 03:07:38 +01:00
Sasha Hilton
43ab7fcedb
Merge pull request #474 from ashthespy/skip_unplayable
Skip unplayable tracks instead of stopping
2020-07-24 03:05:57 +01:00
Sasha Hilton
db634cd248
Merge pull request #493 from sniperrifle2004/alsa-backend-better-buffering
Alsa backend better buffering
2020-07-24 03:04:54 +01:00
Sasha Hilton
cd944035de
Merge pull request #476 from PlusMinus0/fix-utf-username
Fix utf username
2020-07-22 17:22:33 +01:00
Sasha Hilton
e1c33422a1 Update Cargo.lock & Add notes on todo in publish.sh 2020-07-22 17:10:30 +01:00
Sasha Hilton
68949da7c2 Update version numbers to 0.1.2 2020-07-22 16:53:52 +01:00
Sasha Hilton
74ad7231ba Run rustfmt, rust version 1.45.0 2020-07-22 16:35:05 +01:00
Sasha Hilton
258db6ba42 Downgrade vorbis lib due to upstream issue 2020-07-22 16:23:44 +01:00
engineergreen
f83915e212
Issue #497 - Playing songs from android app (#501)
* Issue #497 - Playing songs from android app

Implement the fix suggested by @Johannesd3

* Fix formatting
2020-07-22 16:28:39 +02:00
Sasha Hilton
4e4557da8d Update Cargo.lock and travis compiler version to 1.40.0 2020-07-22 15:26:08 +01:00
Ash
72437bff66
Bump protobuf v2.8.1 -> v~2.14.0 and fix build issues (#485) 2020-07-22 12:47:25 +02:00
Åke
9f3a02ee8f
Update package.metadata.deb to modern standards (#498)
Change underscores to dashes to conform with cargo-deb specifications.
2020-06-22 16:36:36 +02:00
sniperrifle2004
1e5d98b8fd Actually store the period_size 2020-06-17 03:53:20 +02:00
sniperrifle2004
82e54dfaba Rewrite buffer around the actual period size
This prevents over or underestimating of the period.
While it is unlikely, with comparitively small period
sizes overestimating can cause buffer underruns and
underestimating causes more writes than necessary.
It also properly accounts for the number of channels,
which I had overlooked.
2020-06-17 03:34:46 +02:00
sniperrifle2004
a68dfa0287 On stop write any chunk(s) left in the period buffer
That should prevent a possible sudden stop
2020-06-14 07:22:23 +02:00