Commit Graph

570 Commits

Author SHA1 Message Date
碧舞すみほ
3a6ce32d0d Merge pull request #309 from matseee/main
fix: always use spclient.wg.spotify.com for metadata requests
2025-08-07 07:46:29 +09:00
Matthias Fischer
336fa9acc6 fix: always use spclient.wg.spotify.com for metadata requests 2025-08-06 22:46:25 +02:00
碧舞すみほ
a14f85bd43 Merge pull request #307 from Googolplexed0/patch-1
Accept Incorrectly Capitalized Content-Range Headers as Backup
2025-07-29 09:51:03 +09:00
Googolplexed
4f796e640c Accept Incorrectly Capitalized Content-Range Headers
Some external podcast urls return a valid CDN response, which is not accepted due to the "Content-Range" header being all lowercase as "content-range". This tries the lowercase version of the header as a backup if no Content-Range header is found initially.
2025-07-28 18:51:10 -05:00
碧舞すみほ
2782d23c7d Merge pull request #305 from werwolf2303/main
Implement oauth support
2025-06-13 14:18:58 +09:00
werwolf2303
53d51156e9 Change method description 2025-06-11 11:42:07 +02:00
werwolf2303
22e6419bc9 Readme and implementation changes
Added optional auth url callback
Removed user pass from readme
Added oauth to readme
2025-06-11 11:30:52 +02:00
werwolf2303
f210850bee Implement oauth support 2025-06-10 21:43:03 +02:00
碧舞すみほ
322584bf43 Merge pull request #286 from C0rn3j/patch-1
requirements.txt: Set versions as minimum instead of hardcoding as exact
2025-04-28 08:55:50 +09:00
Martin
2a458c4f43 Merge branch 'main' into patch-1 2025-04-27 22:15:08 +02:00
碧舞すみほ
aa3c6faf42 Merge pull request #303 from kokarare1212/dependabot/pip/zeroconf-0.146.4
Bump zeroconf from 0.146.3 to 0.146.4
2025-04-14 21:53:16 +09:00
dependabot[bot]
d5bfc4a17e Bump zeroconf from 0.146.3 to 0.146.4
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.146.3 to 0.146.4.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.146.3...0.146.4)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-version: 0.146.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 12:07:15 +00:00
碧舞すみほ
495769abe6 Merge pull request #302 from kokarare1212/dependabot/pip/zeroconf-0.146.3
Bump zeroconf from 0.146.1 to 0.146.3
2025-04-03 22:11:26 +09:00
dependabot[bot]
259e694a82 Bump zeroconf from 0.146.1 to 0.146.3
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.146.1 to 0.146.3.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.146.1...0.146.3)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-version: 0.146.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-03 12:48:39 +00:00
碧舞すみほ
e2c914fa79 Merge pull request #300 from cvdub/fix-close
Fix issue with closing session (#200)
2025-04-01 10:00:14 +09:00
碧舞すみほ
603b5104db Merge pull request #299 from kokarare1212/dependabot/pip/pycryptodomex-3.22.0
Bump pycryptodomex from 3.21.0 to 3.22.0
2025-04-01 09:55:03 +09:00
Christian Vanderwall
a5db002f00 Fix issue with closing session (#200)
I was getting the following error after calling Session.close():

```
Exception in thread session-packet-receiver:
Traceback (most recent call last):
  File "librespot-python/librespot/crypto.py", line 58, in receive_encoded
    header_bytes = self.__receive_cipher.decrypt(connection.read(3))
                                                 ~~~~~~~~~~~~~~~^^^
  File "librespot-python/librespot/core.py", line 1889, in read
    return self.__socket.recv(length)
           ~~~~~~~~~~~~~~~~~~^^^^^^^^
OSError: [Errno 9] Bad file descriptor
```

Adding `OSError` to the try/except in `CipherPair.receive_encoded` fixes this issue, making
`CipherPair` raise a `RuntimeError` instead, which is properly handled by `Receiver`.
2025-03-31 14:58:38 -07:00
dependabot[bot]
5afe83abc9 Bump pycryptodomex from 3.21.0 to 3.22.0
Bumps [pycryptodomex](https://github.com/Legrandin/pycryptodome) from 3.21.0 to 3.22.0.
- [Release notes](https://github.com/Legrandin/pycryptodome/releases)
- [Changelog](https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst)
- [Commits](https://github.com/Legrandin/pycryptodome/compare/v3.21.0...v3.22.0)

---
updated-dependencies:
- dependency-name: pycryptodomex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 12:39:13 +00:00
碧舞すみほ
59b15ae876 Merge pull request #298 from kokarare1212/dependabot/pip/zeroconf-0.146.1
Bump zeroconf from 0.139.0 to 0.146.1
2025-03-05 23:12:47 +09:00
dependabot[bot]
68b927128e Bump zeroconf from 0.139.0 to 0.146.1
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.139.0 to 0.146.1.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.139.0...0.146.1)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-05 12:14:20 +00:00
碧舞すみほ
24bb36b3c6 Merge pull request #290 from kokarare1212/dependabot/pip/zeroconf-0.139.0
Bump zeroconf from 0.136.0 to 0.139.0
2025-01-10 23:35:05 +09:00
dependabot[bot]
25114ac926 Bump zeroconf from 0.136.0 to 0.139.0
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.136.0 to 0.139.0.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.136.0...0.139.0)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-10 12:39:18 +00:00
Martin
6ff13b35c3 Fixate protobuf #130 2024-12-22 17:28:49 +01:00
Martin
9856c62841 requirements.txt: Set versions as minimum instead of hardcoded exact version 2024-11-18 20:27:16 +01:00
碧舞すみほ
2695ae53fd Merge pull request #284 from kokarare1212/dependabot/pip/zeroconf-0.136.0
Bump zeroconf from 0.135.0 to 0.136.0
2024-10-28 21:51:09 +09:00
dependabot[bot]
89ef2c5327 Bump zeroconf from 0.135.0 to 0.136.0
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.135.0 to 0.136.0.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.135.0...0.136.0)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 12:37:11 +00:00
碧舞すみほ
9cc8256ee8 Merge pull request #282 from kokarare1212/dependabot/pip/pycryptodomex-3.21.0
Bump pycryptodomex from 3.20.0 to 3.21.0
2024-10-15 10:08:45 +09:00
dependabot[bot]
30702decc0 Bump pycryptodomex from 3.20.0 to 3.21.0
Bumps [pycryptodomex](https://github.com/Legrandin/pycryptodome) from 3.20.0 to 3.21.0.
- [Release notes](https://github.com/Legrandin/pycryptodome/releases)
- [Changelog](https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst)
- [Commits](https://github.com/Legrandin/pycryptodome/compare/v3.20.0...v3.21.0)

---
updated-dependencies:
- dependency-name: pycryptodomex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 12:27:22 +00:00
碧舞すみほ
23f6ae49b1 Merge pull request #281 from kokarare1212/dependabot/pip/zeroconf-0.135.0
Bump zeroconf from 0.134.0 to 0.135.0
2024-09-26 09:09:58 +09:00
dependabot[bot]
50a4bc9651 Bump zeroconf from 0.134.0 to 0.135.0
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.134.0 to 0.135.0.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.134.0...0.135.0)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 12:09:22 +00:00
碧舞すみほ
ec00f5dbda Merge pull request #279 from kokarare1212/dependabot/pip/zeroconf-0.134.0
Bump zeroconf from 0.133.0 to 0.134.0
2024-09-15 07:07:35 +09:00
dependabot[bot]
e750db5d5e Bump zeroconf from 0.133.0 to 0.134.0
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.133.0 to 0.134.0.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.133.0...0.134.0)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 12:35:04 +00:00
碧舞すみほ
0830a21a85 Merge pull request #278 from kokarare1212/dependabot/pip/zeroconf-0.133.0
Bump zeroconf from 0.132.2 to 0.133.0
2024-09-04 22:38:21 +09:00
dependabot[bot]
aae7b2757b Bump zeroconf from 0.132.2 to 0.133.0
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.132.2 to 0.133.0.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.132.2...0.133.0)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-27 13:00:11 +00:00
碧舞すみほ
3b46fe560a Merge pull request #274 from kokarare1212/dependabot/pip/requests-2.32.3
Bump requests from 2.31.0 to 2.32.3
2024-06-04 13:22:01 +09:00
dependabot[bot]
878876206f Bump requests from 2.31.0 to 2.32.3
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.3)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 12:31:29 +00:00
碧舞すみほ
2c26be215f Merge pull request #266 from kokarare1212/dependabot/pip/zeroconf-0.132.2
Bump zeroconf from 0.131.0 to 0.132.2
2024-04-30 16:34:31 +09:00
dependabot[bot]
aae9657dfe Bump zeroconf from 0.131.0 to 0.132.2
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.131.0 to 0.132.2.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.131.0...0.132.2)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-30 07:34:25 +00:00
碧舞すみほ
75f5d120a3 Merge pull request #268 from kokarare1212/dependabot/pip/websocket-client-1.8.0
Bump websocket-client from 1.7.0 to 1.8.0
2024-04-30 16:33:01 +09:00
dependabot[bot]
b010398bb3 Bump websocket-client from 1.7.0 to 1.8.0
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-24 12:31:27 +00:00
碧舞すみほ
f28b51b6e6 fix #267 2024-04-21 09:56:52 +09:00
碧舞すみほ
f56533f9b5 Merge pull request #261 from kokarare1212/dependabot/pip/pycryptodomex-3.20.0
Bump pycryptodomex from 3.19.0 to 3.20.0
2024-02-05 10:47:08 +09:00
dependabot[bot]
c591619980 Bump pycryptodomex from 3.19.0 to 3.20.0
Bumps [pycryptodomex](https://github.com/Legrandin/pycryptodome) from 3.19.0 to 3.20.0.
- [Release notes](https://github.com/Legrandin/pycryptodome/releases)
- [Changelog](https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst)
- [Commits](https://github.com/Legrandin/pycryptodome/compare/v3.19.0...v3.20.0)

---
updated-dependencies:
- dependency-name: pycryptodomex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 12:11:29 +00:00
碧舞すみほ
81ecec3b68 Merge pull request #259 from kokarare1212/dependabot/pip/zeroconf-0.131.0
Bump zeroconf from 0.130.0 to 0.131.0
2023-12-24 15:22:49 +09:00
dependabot[bot]
b0f5792dfc Bump zeroconf from 0.130.0 to 0.131.0
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.130.0 to 0.131.0.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.130.0...0.131.0)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-19 12:37:05 +00:00
碧舞すみほ
ef56538e2d Merge pull request #258 from kokarare1212/dependabot/pip/zeroconf-0.130.0
Bump zeroconf from 0.128.0 to 0.130.0
2023-12-18 22:32:25 +09:00
dependabot[bot]
9b16b62319 Bump zeroconf from 0.128.0 to 0.130.0
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.128.0 to 0.130.0.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases)
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.128.0...0.130.0)

---
updated-dependencies:
- dependency-name: zeroconf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 12:43:29 +00:00
碧舞すみほ
66edd42af0 Merge pull request #254 from kokarare1212/dependabot/pip/websocket-client-1.7.0
Bump websocket-client from 1.6.4 to 1.7.0
2023-12-04 22:09:12 +09:00
dependabot[bot]
adb185f715 Bump websocket-client from 1.6.4 to 1.7.0
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.6.4 to 1.7.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.6.4...v1.7.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 13:05:36 +00:00
碧舞すみほ
d3278fbffb Merge pull request #253 from kokarare1212/dependabot/pip/zeroconf-0.128.0
Bump zeroconf from 0.127.0 to 0.128.0
2023-12-04 22:04:41 +09:00