Commit graph

1007 commits

Author SHA1 Message Date
Sasha Hilton 89cafd7c86
Merge pull request #538 from jnqnfe/repolinks
Fix missing repo links in sub-crates
2020-11-27 02:50:28 +00:00
Lyndon Brown 4708e0a2bf cargo toml formatting fix
for consistency
2020-11-26 19:31:51 +00:00
Lyndon Brown f87cbd6fde add missing repo links to sub-crate cargo toml files
such that links are available from their crates.io pages to the project repo.
2020-11-26 19:30:37 +00:00
Adam Cole 6a4bc83259
Simple grammar fix (#534) 2020-11-18 21:03:15 +01:00
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
Ash 064359c26e
Add an example to fetch a Spotify API token (#512) 2020-08-25 23:13:46 +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
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
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
sniperrifle2004 cbe3c98fa1 Clear buffer when the sink is stopped 2020-06-14 06:15:53 +02:00
sniperrifle2004 64081a12bb Introduce a buffer for a full period
Writing to the pcm more often than necessary is
just a waste of resources and depending
on the pcm it can have quite an impact
on performance. The pcm expects full periods
anyway.
2020-06-14 06:15:45 +02:00
sniperrifle2004 aaef07e819 Introduce an appropriate period for the desired buffer 2020-06-14 06:15:25 +02:00
ashthespy 16112d71b9 Search through full playlist for unplayable tracks 2020-05-28 16:18:41 +02:00
Sean McNamara 29fd5da971 Merge branch 'dev' of https://github.com/librespot-org/librespot into gst1.0-2020 2020-05-27 21:31:11 -04:00