The instantAvailability endpoint is now decoded using Codable
and does not have any ambiguity.
Batches are now checked, but still not accounted for due to how
RD handles batches from this endpoint. All batch links are not
supported for instant streaming from Ferrite until support is added.
Thanks to Skitty for helping out with decoding the endpoint.
Signed-off-by: kingbri <bdashore3@gmail.com>
Every request has to add an authentication header. If the response
is 401 (Unauthorized), log the user out of RealDebrid.
Signed-off-by: kingbri <bdashore3@gmail.com>