[PR #44] [CLOSED] Restyle Fixed the _pb2 suffix need for protobuf compiled files and also fixed issue with proxy configuration in requests Session #105

Closed
opened 2026-02-27 08:11:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kokarare1212/librespot-python/pull/44
Author: @restyled-io[bot]
Created: 5/26/2021
Status: Closed

Base: mainHead: restyled/pull-43


📝 Commits (10+)

  • 0214721 fixed the _pb2 suffix error and import errors
  • 3a38afe fixing import errors
  • 81cbd5a fixing proxy configuration with and without auth
  • 3fcf78e importing the compiled pb2 modules with alias
  • 3b8068a fixed class use insted of module
  • 81c5a6c Restyled by autopep8
  • a983542 Restyled by black
  • cf92934 Restyled by isort
  • 40919ed Restyled by reorder-python-imports
  • a374845 Restyled by yapf

📊 Changes

50 files changed (+3691 additions, -2966 deletions)

View changed files

📝 librespot/Version.py (+10 -7)
📝 librespot/ZeroconfServer.py (+1 -1)
📝 librespot/audio/AudioKeyManager.py (+1 -2)
📝 librespot/audio/GeneralAudioStream.py (+2 -1)
📝 librespot/audio/PlayableContentFeeder.py (+9 -9)
📝 librespot/audio/StreamId.py (+1 -1)
📝 librespot/audio/__init__.py (+8 -8)
📝 librespot/audio/cdn/CdnFeedHelper.py (+10 -8)
📝 librespot/audio/cdn/CdnManager.py (+5 -5)
📝 librespot/audio/decoders/AudioQuality.py (+1 -1)
📝 librespot/audio/format/AudioQualityPicker.py (+1 -1)
📝 librespot/audio/format/SuperAudioFormat.py (+13 -12)
📝 librespot/audio/storage/ChannelManager.py (+1 -1)
📝 librespot/core/Session.py (+16 -18)
📝 librespot/dealer/ApiClient.py (+2 -2)
📝 librespot/mercury/MercuryClient.py (+2 -2)
📝 librespot/mercury/RawMercuryRequest.py (+1 -1)
📝 librespot/metadata/__init__.py (+5 -6)
📝 librespot/player/StateWrapper.py (+5 -5)
📝 librespot/player/codecs/VorbisOnlyAudioQuality.py (+1 -1)

...and 30 more files

📄 Description

A duplicate of #43 with additional commits that automatically address
incorrect style, created by Restyled.

⚠️ Even though this PR is not a Fork, it contains outside contributions.
Please review accordingly.

Since the original Pull Request was opened as a fork in a contributor's
repository, we are unable to create a Pull Request branching from it with only
the style fixes.

The following Restylers made fixes:

To incorporate these changes, you can either:

  1. Merge this Pull Request instead of the original, or

  2. Ask your contributor to locally incorporate these commits and push them to
    the original Pull Request

    Expand for example instructions
    ```console
    git remote add upstream https://github.com/kokarare1212/librespot-python.git
    git fetch upstream pull/<this PR number>/head
    git merge --ff-only FETCH_HEAD
    git push
    ```
    

NOTE: As work continues on the original Pull Request, this process will
re-run and update (force-push) this Pull Request with updated style fixes as
necessary. If the style is fixed manually at any point (i.e. this process finds
no fixes to make), this Pull Request will be closed automatically.

Sorry if this was unexpected. To disable it, see our documentation.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kokarare1212/librespot-python/pull/44 **Author:** [@restyled-io[bot]](https://github.com/apps/restyled-io) **Created:** 5/26/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `restyled/pull-43` --- ### 📝 Commits (10+) - [`0214721`](https://github.com/kokarare1212/librespot-python/commit/0214721dd7949b3380669b8eaf18c1e1a4695792) fixed the _pb2 suffix error and import errors - [`3a38afe`](https://github.com/kokarare1212/librespot-python/commit/3a38afeef0422bb46e6959e5b4af2a85d1434fc5) fixing import errors - [`81cbd5a`](https://github.com/kokarare1212/librespot-python/commit/81cbd5a588502c5a718072991b3b2d7e7d24879f) fixing proxy configuration with and without auth - [`3fcf78e`](https://github.com/kokarare1212/librespot-python/commit/3fcf78eb2313511f57f201b1826170d8fb6b0589) importing the compiled pb2 modules with alias - [`3b8068a`](https://github.com/kokarare1212/librespot-python/commit/3b8068a67a64b1a80d8f258370ef97e32d2e1d6e) fixed class use insted of module - [`81c5a6c`](https://github.com/kokarare1212/librespot-python/commit/81c5a6ce223c006c15ec83b1c6d622829cd9ecd5) Restyled by autopep8 - [`a983542`](https://github.com/kokarare1212/librespot-python/commit/a983542afc970afc8f468f2e78857753adf9f476) Restyled by black - [`cf92934`](https://github.com/kokarare1212/librespot-python/commit/cf92934c82a0ad5a5c936fcc30f5c3e0b7bddc77) Restyled by isort - [`40919ed`](https://github.com/kokarare1212/librespot-python/commit/40919edd6018c8a0a9076ccae16e157c83691c09) Restyled by reorder-python-imports - [`a374845`](https://github.com/kokarare1212/librespot-python/commit/a37484585be0737a562d2cf15b8639f445392c87) Restyled by yapf ### 📊 Changes **50 files changed** (+3691 additions, -2966 deletions) <details> <summary>View changed files</summary> 📝 `librespot/Version.py` (+10 -7) 📝 `librespot/ZeroconfServer.py` (+1 -1) 📝 `librespot/audio/AudioKeyManager.py` (+1 -2) 📝 `librespot/audio/GeneralAudioStream.py` (+2 -1) 📝 `librespot/audio/PlayableContentFeeder.py` (+9 -9) 📝 `librespot/audio/StreamId.py` (+1 -1) 📝 `librespot/audio/__init__.py` (+8 -8) 📝 `librespot/audio/cdn/CdnFeedHelper.py` (+10 -8) 📝 `librespot/audio/cdn/CdnManager.py` (+5 -5) 📝 `librespot/audio/decoders/AudioQuality.py` (+1 -1) 📝 `librespot/audio/format/AudioQualityPicker.py` (+1 -1) 📝 `librespot/audio/format/SuperAudioFormat.py` (+13 -12) 📝 `librespot/audio/storage/ChannelManager.py` (+1 -1) 📝 `librespot/core/Session.py` (+16 -18) 📝 `librespot/dealer/ApiClient.py` (+2 -2) 📝 `librespot/mercury/MercuryClient.py` (+2 -2) 📝 `librespot/mercury/RawMercuryRequest.py` (+1 -1) 📝 `librespot/metadata/__init__.py` (+5 -6) 📝 `librespot/player/StateWrapper.py` (+5 -5) 📝 `librespot/player/codecs/VorbisOnlyAudioQuality.py` (+1 -1) _...and 30 more files_ </details> ### 📄 Description A duplicate of #43 with additional commits that automatically address incorrect style, created by [Restyled][]. :warning: Even though this PR is not a Fork, it contains outside contributions. Please review accordingly. Since the original Pull Request was opened as a fork in a contributor's repository, we are unable to create a Pull Request branching from it with only the style fixes. The following Restylers [made fixes](https://restyled.io/gh/kokarare1212/repos/librespot-python/jobs/974671): - [autopep8](https://github.com/hhatto/autopep8) - [black](https://github.com/python/black) - [isort](https://github.com/timothycrosley/isort/) - [reorder-python-imports](https://github.com/asottile/reorder_python_imports) - [yapf](https://github.com/google/yapf) To incorporate these changes, you can either: 1. Merge this Pull Request *instead of* the original, or 1. Ask your contributor to locally incorporate these commits and push them to the original Pull Request <details> <summary>Expand for example instructions</summary> ```console git remote add upstream https://github.com/kokarare1212/librespot-python.git git fetch upstream pull/<this PR number>/head git merge --ff-only FETCH_HEAD git push ``` </details> **NOTE**: As work continues on the original Pull Request, this process will re-run and update (force-push) this Pull Request with updated style fixes as necessary. If the style is fixed manually at any point (i.e. this process finds no fixes to make), this Pull Request will be closed automatically. Sorry if this was unexpected. To disable it, see our [documentation][]. [restyled]: https://restyled.io [documentation]: https://github.com/restyled-io/restyled.io/wiki/Disabling-Restyled --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 08:11:56 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot-python-kokarare1212#105
No description provided.