core: Pocket Casts Integration Not Working

Home Assistant release with the issue:

0.100.3

Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io

Integration:

https://www.home-assistant.io/integrations/pocketcasts/

Description of problem:

After enabling the Pocket Casts integration, and restarting Home Assistant, this appears in the logs:

Connection to server failed: 405 Client Error: Method Not Allowed for url: https://play.pocketcasts.com/users/sign_in

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

platform: pocketcasts
username: !secret email
password: !secret pocketcasts_pass

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 15 (3 by maintainers)

Most upvoted comments

The original pocketcast API library that this integration relies on (https://github.com/sirl1on/python-pocketcasts) is outdated. PocketCasts has changed its API since the project was abandoned. @zackbcom 's fork is only about halfway there (honestly, wish I had seen that before I started my work). I am finished up a new version of the PocketCasts API library (https://github.com/nwithan8/PycketCasts), and will make a pull request to have the integration use the new library instead.

SO this is likely due to an API change on the part of PocktCasts, that the underlying python library (pocketcasts 0.0.1) hasn’t been updated to address. There is a fork at https://github.com/zackbcom/python-pocketcasts that is reported to work with POST calls per this issue: https://github.com/sirl1on/python-pocketcasts/issues/3