Pychromecast Versions Save

Library for Python 3 to communicate with the Google Chromecast.

14.0.1

2 months ago

What's Changed

  • Bump version to 14.0.1 (#882) @emontnemery
  • Add debug prints to HomeAssistantController (#881) @emontnemery
  • Add JBL Link Portable to known devices (#878) @emontnemery
  • Fix race in HomeAssistantController (#880) @emontnemery
  • Revert "Remove socket timeouts" (#879) @emontnemery
  • Remove socket timeouts (#877) @emontnemery
  • Run rstcheck in CI (#854) @emontnemery
  • Remove mypy exclude pattern (#856) @emontnemery
  • Update default URL used in media example (#855) @emontnemery

⬆️ Dependencies

13 changes
  • Bump black from 24.2.0 to 24.3.0 (#876) @dependabot
  • Bump actions/checkout from 4.1.1 to 4.1.2 (#873) @dependabot
  • Bump types-html5lib from 1.1.11.20240222 to 1.1.11.20240228 (#868) @dependabot
  • Bump types-protobuf from 4.24.0.20240129 to 4.24.0.20240311 (#872) @dependabot
  • Bump types-requests from 2.31.0.20240218 to 2.31.0.20240311 (#870) @dependabot
  • Bump mypy from 1.8.0 to 1.9.0 (#871) @dependabot
  • Bump types-beautifulsoup4 from 4.12.0.20240106 to 4.12.0.20240229 (#869) @dependabot
  • Bump pylint from 3.0.3 to 3.1.0 (#862) @dependabot
  • Bump types-html5lib from 1.1.11.20240217 to 1.1.11.20240222 (#863) @dependabot
  • Bump black from 24.1.1 to 24.2.0 (#858) @dependabot
  • Bump types-html5lib from 1.1.11.20240106 to 1.1.11.20240217 (#857) @dependabot
  • Bump plexapi from 4.15.9 to 4.15.10 (#860) @dependabot
  • Bump types-requests from 2.31.0.20240125 to 2.31.0.20240218 (#859) @dependabot

14.0.0

3 months ago

Breaking change

pychromecast has seen some major changes in this release, which unfortunately causes multiple breaking changes.

The most important breaking changes are:

  • Most user facing functions accepting an optional callback function have been changed such that the optional arguments are now kwarg only (#779)
  • The signature of callbacks called when requests are completed has been changed (#783)
  • Some named tuples have been replaced with dataclasses (#787)
  • The ServiceInfo class has been split in two classes (#790)
  • Parameter names of MediaStatusListener.load_media_failed has been changed (#826)
  • Many user facing functions now have a default timeout, and will raise when that timeout expires (#836)
  • It's no longer supported to use pychromecast with event custom loops (#837)

What's Changed

  • Fix errors in README.rst (#853) @emontnemery
  • Pin Python 3.11 in pythonpublish workflow (#852) @emontnemery
  • Bump version to 14.0.0 (#843) @emontnemery
  • Update README.rst (#851) @strunker
  • Add example setting playback rate (#849) @emontnemery
  • Minor improvement of example scripts (#847) @emontnemery
  • Call callback_function on error (#850) @emontnemery
  • Add set_playback_rate method (#660) @n18abdel
  • Update README.rst (#581) @strunker
  • Align flake settings with black 24 codestyle (#848) @emontnemery
  • Fix debug logging in examples (#845) @emontnemery
  • Fix typo in youtube controller (#844) @emontnemery
  • Improve dashcast example (#846) @emontnemery
  • Raise on timeout in Chromecast methods disconnect, join and wait (#842) @emontnemery
  • Deduplicate log setup in examples (#841) @emontnemery
  • Improve logging in example scripts (#839) @emontnemery
  • Fix deprecated call to ssl.SSLContext without specifying protocol (#840) @emontnemery
  • Remove deprecated properties from MediaController (#838) @emontnemery
  • Remove support for custom loop (#837) @emontnemery
  • Raise when requests time out or can't be sent (#836) @emontnemery
  • Add type annotations to examples/plex_multi_example.py (#834) @emontnemery
  • Remove unused exceptions (#835) @emontnemery
  • Add type annotations to controllers/plex.py (#832) @emontnemery
  • Add timeout to media controller (#831) @emontnemery
  • Add timeout to quickplay (#833) @emontnemery
  • Add timeout to quickplay interface (#827) @emontnemery
  • Remove unneeded pylint ignore directives (#824) @emontnemery
  • Adjust MediaStatusListener.load_media_failed (#826) @emontnemery
  • Include beautifulsoup in test requirements (#825) @emontnemery
  • Add type annotations to examples (#823) @emontnemery
  • Update requirements for development and testing (#822) @emontnemery
  • Drop setup.py (#821) @emontnemery
  • Add overloads for get_chromecasts (#820) @emontnemery
  • Fix yleareena example (#819) @emontnemery
  • Fix dashcast example (#818) @emontnemery
  • Add type annotations to quick_play.py (#817) @emontnemery
  • Add type annotations to controllers/youtube.py (#816) @emontnemery
  • Add type annotations to controllers/yleareena.py (#815) @emontnemery
  • Add type annotations to controllers/supla.py (#813) @emontnemery
  • Add type annotations to controllers/homeassistant.py (#811) @emontnemery
  • Use exclude pattern in mypy.ini (#812) @emontnemery
  • Add type annotations to controllers/dashcast.py (#810) @emontnemery
  • Add type annotations to controllers inheriting BaseMediaPlayer (#809) @emontnemery
  • Add type annotations to init.py (#808) @emontnemery
  • Add type annotations to socket_client.py (#805) @emontnemery
  • Correct generating cast messages (#806) @emontnemery
  • Add type annotations to controllers/multizone.py (#800) @emontnemery
  • Retry launching app (#803) @emontnemery
  • Remove Python 2.x compatibility from socket client (#801) @emontnemery
  • Remove Python 3.1 compatibility from socket client (#802) @emontnemery
  • Add type annotations to controllers/media.py (#799) @emontnemery
  • Unregister HomeAssistantController on instance conflict (#798) @emontnemery
  • Fix iteration over message handlers (#797) @emontnemery
  • Add type annotations to controllers/receiver.py (#796) @emontnemery
  • Add type annotations to controllers/init.py (#795) @emontnemery
  • Fix call to request callback on SocketClient (#794) @emontnemery
  • Add type annotations to discovery.py (#793) @emontnemery
  • Add type annotations to dial.py (#792) @emontnemery
  • Add type annotations to config.py (#791) @emontnemery
  • Split ServiceInfo class in two classes (#790) @emontnemery
  • Run mypy in CI (#789) @emontnemery
  • Regenerate protobuf files (#788) @emontnemery
  • Replace named tuples with frozen dataclasses (#787) @emontnemery
  • Make optional callback functions kwarg only in dashcast (#785) @emontnemery
  • Make optional callback functions kwarg only in plex (#786) @emontnemery
  • Remove impossible exception handling in youtube controller (#782) @emontnemery
  • Change callbacks to be passed status and result (#783) @emontnemery
  • Require Python 3.11+ (#784) @emontnemery
  • Update streams used in media enqueue example (#781) @emontnemery
  • Allow specifying media type in BubbleUPNP example (#780) @emontnemery
  • Make optional callback functions kwarg only (#779) @emontnemery

⬆️ Dependencies

5 changes
  • Bump plexapi from 4.15.7 to 4.15.9 (#830) @dependabot
  • Bump yle-dl from 20231214 to 20240130 (#828) @dependabot
  • Bump black from 23.12.1 to 24.1.1 (#807) @dependabot
  • Bump types-requests from 2.31.0.20240106 to 2.31.0.20240125 (#829) @dependabot
  • Bump release-drafter/release-drafter from 5.25.0 to 6.0.0 (#814) @dependabot

13.1.0

4 months ago

What's Changed

  • Increase homeassistant lovelace connect timeout and make it configurable (#770) @cicchr
  • Add support for NRK TV and NRK Radio apps (#777) @lersveen
  • Change logged precision of volume from 1 to 2 (#768) @alexdelorenzo
  • Create ShakaPlayer Controller (#758) @juanfadev
  • Add date for removal of deprecated discovery functions (#767) @emontnemery
  • Mark discover_chromecasts as deprecated (#766) @emontnemery
  • Update README.rst (#765) @emontnemery
  • Fix known_hosts for older chromecasts (#762) @domenipavec
  • Fix SSLContext settings (#764) @emontnemery
  • Update README.rst to reflect refactoring of cast.device to cast.cast_info (#751) @davidjabon
  • Fix deprecated call to ssl.SSLContext without specifying protocol (#763) @emontnemery

⬆️ Dependencies

6 changes
  • Bump flake8 from 6.1.0 to 7.0.0 (#776) @dependabot
  • Bump black from 23.12.0 to 23.12.1 (#775) @dependabot
  • Bump pylint from 3.0.2 to 3.0.3 (#774) @dependabot
  • Bump black from 23.11.0 to 23.12.0 (#773) @dependabot
  • Bump actions/setup-python from 4.8.0 to 5.0.0 (#772) @dependabot
  • Bump actions/setup-python from 4.7.1 to 4.8.0 (#771) @dependabot

13.0.8

5 months ago

What's Changed

  • Change BBC Sounds app_id (#753) @blawford

⬆️ Dependencies

26 changes
  • Bump black from 23.10.1 to 23.11.0 (#761) @dependabot
  • Bump black from 23.10.0 to 23.10.1 (#760) @dependabot
  • Bump pylint from 3.0.1 to 3.0.2 (#756) @dependabot
  • Bump black from 23.9.1 to 23.10.0 (#757) @dependabot
  • Bump actions/checkout from 4.1.0 to 4.1.1 (#755) @dependabot
  • Bump release-drafter/release-drafter from 5.24.0 to 5.25.0 (#754) @dependabot
  • Bump pylint from 2.17.7 to 3.0.1 (#750) @dependabot
  • Bump actions/setup-python from 4.7.0 to 4.7.1 (#749) @dependabot
  • Bump pylint from 2.17.5 to 2.17.7 (#748) @dependabot
  • Bump actions/checkout from 4.0.0 to 4.1.0 (#747) @dependabot
  • Bump black from 23.7.0 to 23.9.1 (#745) @dependabot
  • Bump actions/checkout from 3.6.0 to 4.0.0 (#744) @dependabot
  • Bump actions/checkout from 3.5.3 to 3.6.0 (#741) @dependabot
  • Bump pylint from 2.17.4 to 2.17.5 (#740) @dependabot
  • Bump flake8 from 6.0.0 to 6.1.0 (#739) @dependabot
  • Bump black from 23.3.0 to 23.7.0 (#736) @dependabot
  • Bump actions/setup-python from 4.6.1 to 4.7.0 (#735) @dependabot
  • Bump release-drafter/release-drafter from 5.23.0 to 5.24.0 (#734) @dependabot
  • Bump actions/checkout from 3.5.2 to 3.5.3 (#733) @dependabot
  • Bump actions/setup-python from 4.6.0 to 4.6.1 (#730) @dependabot
  • Bump pylint from 2.17.3 to 2.17.4 (#729) @dependabot
  • Bump pylint from 2.17.2 to 2.17.3 (#728) @dependabot
  • Bump actions/setup-python from 4.5.0 to 4.6.0 (#727) @dependabot
  • Bump actions/checkout from 3.5.1 to 3.5.2 (#724) @dependabot
  • Bump pylint from 2.17.1 to 2.17.2 (#722) @dependabot
  • Bump actions/checkout from 3.5.0 to 3.5.1 (#723) @dependabot

13.0.7

1 year ago

What's Changed

  • Wait longer when attempting to play media (#720) @emontnemery

⬆️ Dependencies

  • Bump black from 23.1.0 to 23.3.0 (#719) @dependabot

13.0.6

1 year ago

What's Changed

  • Fix socket leak (#718) @emontnemery
  • Don't call launch callback on error (#715) @emontnemery
  • Wait for response when stopping app (#714) @emontnemery
  • Simplify request callback handling (#712) @emontnemery
  • Make sure handler is unregistered after quickplay (#713) @emontnemery

⬆️ Dependencies

2 changes
  • Bump pylint from 2.17.0 to 2.17.1 (#717) @dependabot
  • Bump actions/checkout from 3.4.0 to 3.5.0 (#716) @dependabot

13.0.5

1 year ago

What's Changed

  • Fix lint issues (#710) @MartinHjelmare
  • Add SVS Pro SoundBase (#704) @kaechele
  • Add JBL Link 10, 20, 300, 500 (#701) @caraar12345
  • Fix poll/select for Windows (#690) @strunker
  • Add Smart Soundbar 10 (#700) @balloob

⬆️ Dependencies

14 changes
  • Bump actions/checkout from 3.3.0 to 3.4.0 (#709) @dependabot
  • Bump pylint from 2.16.3 to 2.17.0 (#708) @dependabot
  • Bump pylint from 2.16.2 to 2.16.3 (#707) @dependabot
  • Bump release-drafter/release-drafter from 5.22.0 to 5.23.0 (#706) @dependabot
  • Bump pylint from 2.16.1 to 2.16.2 (#705) @dependabot
  • Bump black from 22.12.0 to 23.1.0 (#702) @dependabot
  • Bump pylint from 2.15.10 to 2.16.1 (#703) @dependabot
  • Bump pylint from 2.15.9 to 2.15.10 (#699) @dependabot
  • Bump actions/setup-python from 4.4.0 to 4.5.0 (#697) @dependabot
  • Bump actions/checkout from 3.2.0 to 3.3.0 (#696) @dependabot
  • Bump release-drafter/release-drafter from 5.21.1 to 5.22.0 (#695) @dependabot
  • Bump actions/setup-python from 4.3.1 to 4.4.0 (#691) @dependabot
  • Bump pylint from 2.15.8 to 2.15.9 (#689) @dependabot
  • Bump actions/checkout from 3.1.0 to 3.2.0 (#688) @dependabot

13.0.4

1 year ago

What's Changed

  • Correct timeout in call to poll.poll (#687) @emontnemery
  • Revert "Revert "Fix error with select when python process exceeds 1024 open file descriptors"" (#686) @emontnemery

13.0.3

1 year ago

What's Changed

  • Revert "Fix error with select when python process exceeds 1024 open file descriptors" (#685) @emontnemery

⬆️ Dependencies

3 changes
  • Bump actions/setup-python from 4.3.0 to 4.3.1 (#684) @dependabot
  • Bump black from 22.10.0 to 22.12.0 (#682) @dependabot
  • Bump pylint from 2.15.7 to 2.15.8 (#683) @dependabot

13.0.2

1 year ago

What's Changed

  • Adding support for reported unknown devices (#680) @SplinterHead
  • Add Chromecast Ultra and Chromecast HD to the recognised devices (#679) @SplinterHead
  • Fix error with select when python process exceeds 1024 open file descriptors (#676) @logan893
  • Include URL and UUID in Home Assistant controller messages (#613) @emontnemery

⬆️ Dependencies

2 changes
  • Bump pylint from 2.15.6 to 2.15.7 (#678) @dependabot
  • Bump flake8 from 5.0.4 to 6.0.0 (#674) @dependabot