Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update master with V2.10.0 #455

Merged
merged 39 commits into from
Jun 23, 2024
Merged

Update master with V2.10.0 #455

merged 39 commits into from
Jun 23, 2024

Conversation

IAmTomahawkx
Copy link
Member

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
    • I have updated the changelog with a quick recap of my changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)
  • I have read and agree to the Developer Certificate of Origin for this contribution

IAmTomahawkx and others added 30 commits January 15, 2024 15:48
…nect (#439)

* refactor eventsubws subscription error handling to not error on reconnect

* Why do we still support 3.7

* formatting
* Add new API routes

* add docs
* Update user.py

The Twitch API describes the "videos" element in the response as "A list of videos that contain markers. The list contains a single video." Currently, that list is being passed when creating the VideoMarkers object, when only the first element of that "list" should be.

This fixes this issue that arises when retrieving markers:
```  File "C:\Users\Zari\AppData\Roaming\Python\Python312\site-packages\twitchio\models.py", line 814, in __init__
    self.markers = [Marker(d) for d in data["markers"]]
                                       ~~~~^^^^^^^^^^^
TypeError: list indices must be integers or slices, not str```

* Update changelog.rst

* Update changelog.rst

---------

Co-authored-by: Tom <iamtomahawkx@gmail.com>
* Be more specific in add_command error message

* Update changelog - v2.9.3

---------

Co-authored-by: Tom <iamtomahawkx@gmail.com>
…om audio files. Added setters for rate and channel to expose them incase the meta data is incorrect. (#454)
@IAmTomahawkx
Copy link
Member Author

unclear why the lint is failing, it passed locally...

@IAmTomahawkx IAmTomahawkx marked this pull request as ready for review June 23, 2024 15:23
@IAmTomahawkx IAmTomahawkx self-assigned this Jun 23, 2024
@IAmTomahawkx IAmTomahawkx added the 2.0 TwitchIO 2.0 label Jun 23, 2024
@IAmTomahawkx IAmTomahawkx merged commit cc3ad33 into master Jun 23, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 TwitchIO 2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants