Commit graph

1930 commits

Author SHA1 Message Date
Domenico Cerasuolo
ce5e2f2392 Fix SpotifyId base 62 and 16 str decoding
A SpotifyId is expected to be a 128 bits integer and can be parsed from a
base 62 or 16 string. However the parsing functions only checked the validity of
the characters of the string, but not its length. This could result in integer
overflows or the parsing of incorrect strings as Spotify ids.

This commit add some checks to the length of the input string passed to the
parse functions, and also checks for integer overflows in case of base62
encoded strings.
2024-05-23 16:21:51 +02:00
Roderick van Domburg
c37ec8c859
Merge pull request #1269 from librespot-org/dependabot/github_actions/dev/actions/cache-4.0.2
Bump actions/cache from 4.0.0 to 4.0.2
2024-05-11 12:40:06 +02:00
dependabot[bot]
103044cbd3
Bump actions/cache from 4.0.0 to 4.0.2
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4.0.0...v4.0.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-11 10:35:35 +00:00
Roderick van Domburg
a5964c28fb
Merge pull request #1270 from yubiuser/fix/clippy
Fix clippy warnings
2024-05-11 12:34:05 +02:00
Roderick van Domburg
43269cfd73
Merge pull request #1271 from yubiuser/tweak/devcontainer
Tweak/devcontainer
2024-05-11 12:33:16 +02:00
Roderick van Domburg
b2949c9a1e
Merge pull request #1283 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.5
Bump actions/checkout from 4.1.4 to 4.1.5
2024-05-11 12:32:53 +02:00
dependabot[bot]
7e3ed6f4f2
Bump actions/checkout from 4.1.4 to 4.1.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.4...v4.1.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-11 10:29:42 +00:00
Roderick van Domburg
9959a6c6d6
Merge pull request #1280 from gdesmott/lyrics-parsing
lyrics: remove fullscreen_action
2024-05-09 13:22:09 +02:00
Guillaume Desmottes
a3b6e29520 lyrics: remove fullscreen_action
Looks like it's been removed from the JSON returned by Spotify.
2024-05-09 12:07:37 +02:00
Roderick van Domburg
329a1b1607
Merge pull request #1278 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.4
Bump actions/checkout from 4.1.3 to 4.1.4
2024-04-27 12:51:31 +02:00
dependabot[bot]
e34f521196
Bump actions/checkout from 4.1.3 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.3...v4.1.4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-27 10:19:49 +00:00
Roderick van Domburg
2444e2c157
Merge pull request #1275 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.3
Bump actions/checkout from 4.1.2 to 4.1.3
2024-04-20 21:12:10 +02:00
dependabot[bot]
b2c87597e3
Bump actions/checkout from 4.1.2 to 4.1.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-20 10:37:49 +00:00
Roderick van Domburg
a6065d6bed
Merge pull request #1272 from librespot-org/dependabot/cargo/h2-0.3.26
Bump h2 from 0.3.24 to 0.3.26
2024-04-05 21:36:28 +02:00
dependabot[bot]
6bb953432b
Bump h2 from 0.3.24 to 0.3.26
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 16:15:55 +00:00
Christian König
63e2490821
Fix redundant import checking on beta toolchain
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 17:37:07 +00:00
Christian König
7bc7b46b9e
Don't remove dev dependencies but instead use --no-dev-deps option of cargo hack which will restore Cargo.toml after run
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 14:51:13 +00:00
Christian König
2cd2346edb
Fix map_clone and explicit truncate when file is create
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 14:32:00 +00:00
Christian König
b24fb871ae
Add test.sh to allow to run test suite easily
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 14:27:37 +00:00
Christian König
a692b8cccc
Bump rust version to 1.71 on devcontainer
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-03-31 14:27:11 +00:00
Roderick van Domburg
9929635b5b
Merge pull request #1267 from acolombier/fix/update-spotify-version
fix: change spotify version needed in clientoken to use semantic format
2024-03-31 11:40:02 +02:00
Roderick van Domburg
27b8a6d81b
Merge pull request #1265 from librespot-org/dependabot/github_actions/dev/actions/checkout-4.1.2
Bump actions/checkout from 4.1.1 to 4.1.2
2024-03-31 11:37:13 +02:00
Roderick van Domburg
2a1447daa0
Merge pull request #1263 from gpajot/dev
fix: working armv6hf docker image for cross-compiling
2024-03-31 11:37:01 +02:00
Roderick van Domburg
98c5277527
Merge pull request #1256 from yubiuser/devcontainer
Add devcontainer
2024-03-31 11:36:09 +02:00
Roderick van Domburg
bae18de170
Merge pull request #1255 from yubiuser/update/dependencies
Update/dependencies
2024-03-31 11:29:08 +02:00
Antoine C
d881f46ce7 fix: change spotify version needed in clientoken to use semantic format 2024-03-19 22:05:29 +00:00
dependabot[bot]
f8b4d26400
Bump actions/checkout from 4.1.1 to 4.1.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 10:57:53 +00:00
yubiuser
22da17d9a3
Merge branch 'dev' into update/dependencies 2024-03-16 08:56:19 +01:00
Gabriel Pajot
262fc2e820 fix: working armv6hf docker image for cross-compiling 2024-03-11 10:36:12 +01:00
Roderick van Domburg
4d35c5ffe2
Merge pull request #1258 from librespot-org/dependabot/cargo/mio-0.8.11
Bump mio from 0.8.9 to 0.8.11
2024-03-05 13:13:50 +01:00
dependabot[bot]
5489bc84c6
Bump mio from 0.8.9 to 0.8.11
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.9 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.9...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 22:02:16 +00:00
Christian König
31e42879e2
Add devcontainer
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-26 13:19:26 +00:00
Christian König
942925862d
Update Cargo.lock
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-24 22:00:27 +01:00
Christian König
fb264a7b71
Update zerocopy to 0.7.32
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-24 21:47:17 +01:00
Christian König
856bd5e750
Update gstreamer to 0.22
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-24 21:32:05 +01:00
Christian König
47575092dc
Update sdl2 to 0.36
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-24 21:19:17 +01:00
Christian König
88e9a9cc1e
Update glib to 0.19.2
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-24 21:10:07 +01:00
Christian König
caf8029953
Update alsa to 0.9.0
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-24 21:08:01 +01:00
Christian König
c28cf29858
Update libmdns to 0.8
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-24 21:01:09 +01:00
Christian König
d8e7f4f618
Update MSRV to 1.71.0
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-24 13:23:17 +01:00
Christian König
979d9d0aa0
Update sysinfo to 0.30.5
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-23 23:24:18 +01:00
Christian König
6532264b81
Update env_logger to 11.2
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-02-23 23:05:41 +01:00
Roderick van Domburg
f5a46c61d2
Merge pull request #1249 from librespot-org/dependabot/cargo/shlex-1.3.0
Bump shlex from 1.2.0 to 1.3.0
2024-01-23 07:02:20 +01:00
dependabot[bot]
2da4a8bfdc
Bump shlex from 1.2.0 to 1.3.0
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.2.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/comex/rust-shlex/commits)

---
updated-dependencies:
- dependency-name: shlex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 21:53:14 +00:00
Roderick van Domburg
df0c149e6d
Merge pull request #1248 from librespot-org/dependabot/github_actions/dev/actions/cache-4.0.0
Bump actions/cache from 3.3.2 to 4.0.0
2024-01-20 15:51:37 +01:00
dependabot[bot]
a2b6a9f418
Bump actions/cache from 3.3.2 to 4.0.0
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.2...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-20 10:34:50 +00:00
Roderick van Domburg
26c97f086d
Merge pull request #1244 from librespot-org/dependabot/cargo/h2-0.3.24
Bump h2 from 0.3.21 to 0.3.24
2024-01-19 19:21:31 +01:00
dependabot[bot]
dabb179eee
Bump h2 from 0.3.21 to 0.3.24
Bumps [h2](https://github.com/hyperium/h2) from 0.3.21 to 0.3.24.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.21...v0.3.24)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 16:21:59 +00:00
Roderick van Domburg
ccd1a72789
Merge pull request #1234 from lelloman/lelloman/tunable-audio-fetch-params
Make audio fetch parameters tunable
2023-12-24 13:11:38 +01:00
Domenico Cerasuolo
e175a88f5b Make audio fetch parameters tunable
This change collects all those audio fetch parameters that were defined as
static constants into a dedicated struct, AudioFetchParams.
This struct can be read and set statically, allowing a user of the library to
modify those parameters without the need to recompile.
2023-12-20 22:07:42 +01:00