go-plex-client icon indicating copy to clipboard operation
go-plex-client copied to clipboard

Update UserPlexTV.AdsConsent* types

Open dimitarvdimitrov opened this issue 2 years ago • 0 comments

plex.tv is returning different types for

  • adsConsent (used to be string, now bool)
  • adsConsentSetAt (used to be string, now int)
  • adsConsentReminderAt (used to be string, now int).

This breaks SignIn and Plex.MyAccount.

An example response is

{
  "adsConsent":true,
  "adsConsentSetAt":1613945192,
  "adsConsentReminderAt":1645481192
}

dimitarvdimitrov avatar Apr 03 '22 07:04 dimitarvdimitrov