After receiving a response from an addon, converts all relative paths to absolute Url to the addon.
This cannot be done on deserialization since the addon url is not known at this point.
Sadly, due to serde's complexity, we cannot use a generic argument to specify 2 types - one right after deserialization and one after replacement, in order to allow for the rest of the core to rely entirely on absolute Urls.
TODO
[x] test with ResourceResponse::Meta
[ ] test with ResourceResponse::MetasDetailed
[ ] test with ResourceResponse::Metas
[ ] test with ResourceResponse::Streams
[ ] test with ResourceResponse::Subtitles
[ ] Documentation for new RelativePath url for Subtitles
[ ] Documentation for new RelativePath url for Stream
After receiving a response from an addon, converts all relative paths to absolute Url to the addon. This cannot be done on deserialization since the addon url is not known at this point. Sadly, due to serde's complexity, we cannot use a generic argument to specify 2 types - one right after deserialization and one after replacement, in order to allow for the rest of the core to rely entirely on absolute Urls.
TODO
Subtitles
Stream