crunchy-labs / crunchyroll-rs

🦀 Pure Rust implementation of the Crunchyroll API
Apache License 2.0
62 stars 13 forks source link

Add experimental stabilizations #5

Closed bytedream closed 1 year ago

bytedream commented 1 year ago

Initial branch to approach weird Crunchyroll Api fuckups which requires some logic in the implementation that might break other things and cannot be considered 100% safe.

The experimental-stabilizations feature (enabled by default) grants access to CrunchyrollBuilder::stabilization_* functions. These functions can enable / disable different stabilizations. All stabilizations are deactivated by default. The currently only available function is stabilization_locale to fix #3 -> Crunchyroll does not mark japanese audio as japanese anymore (it's marked as english instead). More may come in the future, depending how Crunchyroll breaks their api ¯\(ツ)/¯.