RaceControl icon indicating copy to clipboard operation
RaceControl copied to clipboard

Required subscription validation

Open Spexxel opened this issue 2 years ago • 2 comments

There are several new issues about failing to start a stream where some of them the issue was not having an active F1TV subscription. #333 and #363 In order to add to the user-experience I have made a simple validation and errormessage for this case.

Functionality changes: When users try to watch content without a valid F1TV subscription an user-friendly error will be shown along with the minimum subscription level needed for that content (Access/Pro). image

Code Changes:

  • Added the minimum subscriptionlevel needed for F1TV resources to the IPlayableContent and its implementations. This field comes from the F1TV api response field 'Entitlement'.
  • Added a simple validation on SubscriptionStatus at the start of the watch and download-actions.

Sadly we do not know the type of subscription the user has since F1TV does not return that upon authorizing.(Maybe there is a different way, but didnt check as I went for a simple validation)

Spexxel avatar Mar 20 '22 20:03 Spexxel

From today race control does not recognize my access credentials. the message says: request failed except status code forbideen. What I can do. my email is: [email protected]

crescog avatar Apr 08 '22 06:04 crescog

From today race control does not recognize my access credentials. the message says: request failed except status code forbideen. What I can do. my email is: [email protected]

This is already being addressed: https://github.com/robvdpol/RaceControl/issues/414

Also, pull request comment threads are not the way to submit issues.

imnotnoa avatar Apr 08 '22 07:04 imnotnoa