Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ytdlp2strm is downloading streams from crunchyroll instead of streaming #43

Closed
s3tupw1zard opened this issue Apr 28, 2024 · 2 comments
Closed
Labels
help wanted Extra attention is needed

Comments

@s3tupw1zard
Copy link

Hello,

When I try to stream a Crunchyroll Video using this tool, it downloads the episode requested instead of streaming it.

Is there a setting to completely disable downloading for crunchyroll?

I've already set it to direct.

@s3tupw1zard s3tupw1zard changed the title ytdlp2strm is downloading streams from crunchyroll ytdlp2strm is downloading streams from crunchyroll instead of streaming Apr 28, 2024
@fe80Grau
Copy link
Owner

fe80Grau commented Apr 28, 2024

Hello, it's a shame but since the last update of the Crunchyroll endpoints, it only shows Dash routes for the separate audio and video, there is no longer an endpoint with the direct content. Work started at #36 (comment)

I've also not been able to remux in RAM and transmit in real time as the final flow is built, therefore the only option is to download as a temporary file. In ./config/config.json there is a new parameter called ytdlp2strm_temp_file_duration, this has the duration of a temporary file in seconds, by default 86400s / 24h. This means that a temporary file (located in ./temp) that is older than 86400 seconds will be automatically deleted.

You also have new parameters in ./plugins/crunchyroll/config.json
jellyfin_preload, if you set it to True and the other Jellyfin connection options are set correctly, will download the next episode while you play the current one, thus avoiding waiting for continuous playback. There is also jellyfin_preload_last_episode, this will automatically download the temporary file when generating the strm of the last episode. With both options enabled and taking into account ytdlp2strm_temp_file_duration you can achieve wait-free playback when accessed within the allocated time slot.

@fe80Grau fe80Grau added the help wanted Extra attention is needed label Apr 29, 2024
@fe80Grau
Copy link
Owner

fe80Grau commented May 23, 2024

Fixed!! with bridge mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants