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

Crunchyroll Updates #47

Closed
fe80Grau opened this issue May 24, 2024 · 2 comments
Closed

Crunchyroll Updates #47

fe80Grau opened this issue May 24, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@fe80Grau
Copy link
Owner

fe80Grau commented May 24, 2024

  • Requires yt-dlp nightly build to work. yt-dlp >=2024.05.22.232749.dev0
  • Only works with login auth.
  • mutate_values.json A particular file for this plugin. Overwrites the value of a specified field. For example, in cases where the season given by yt-dlp - season_number does not correspond to the actual season of the series. The available fields are as follows: season_number, season, episode_number, and episode.
  • direct mode. On Crunchyroll, the direct mode inherits the functionality of the download mode.
  • bridge mode. Given the latest updates, it is necessary to obtain the audio and video streams separately, redirect their output, and remux both tracks to finally serve them over HTTP. Experimental, sometimes it may fail to start playback and you need to try playing it again. There is no timestamp and it is not possible to navigate through the video's timeline.
  • With download mode, the audio and video streams will be downloaded separately, and after downloading, they will be remuxed to finally serve a final video/mp4 file. The files will be downloaded to ./temp/ and their lifespan will be 24 hours. This is configurable in config.json -> ytdlp2strm_temp_file_duration. The Crunchyroll plugin in download mode will automatically download the latest discovered episode of each series declared in channel_list.json.
  • In the config.json file, and specifically for the Crunchyroll plugin, there are 4 parameters: jellyfin_preload_last_episode, jellyfin_base_url, jellyfin_user_id, and jellyfin_api_key. When configured with their correct values, they allow detecting if an episode is being played and pre-downloading the next one to achieve a seamless playback flow without interruptions.
@fe80Grau fe80Grau added the documentation Improvements or additions to documentation label May 24, 2024
@Floflo10
Copy link

Quick question! :)
I don't suppose there's any way of correcting bad season names withh mutated_values.json?
For example, there's some nonsense about Demon Slayer:
image

@fe80Grau
Copy link
Owner Author

fe80Grau commented May 25, 2024

Iep, you can edit the mutated_values.json ex:

{
    "https://www.crunchyroll.com/es/series/GY5P48XEY/demon-slayer-kimetsu-no-yaiba" : [
        { "field" : "season_number", "value" : "53", "replace" : "02" },
        { "field" : "season", "value" : "Demon Slayer Kimetsy no Yaiba", "replace" : "New season name" }
    ]
}

Each {...} object is a "mutation" you can add more and you can work with these fields: season_number, season, episode_number, and episode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants