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

Support parsing youtube.com/{live,shorts} URLs shared from other apps #1010

Closed
wants to merge 2 commits into from

Commits on Feb 17, 2024

  1. PluginUrlUtils: support parsing youtube.com/{live,shorts} URLs

    YouTube now use the new format for live streams and shorts. The pattern
    is https://www.youtube.com/{live,shorts}/<video id>. But other than
    pattern change, the video ID is otherwise completely compatible with the
    old format.
    
    Since this pattern is similar to https://youtu.be/ format, re-use that
    code by re-shuffle the conditions a bit. The change is applied to both
    default and Invidious plugins.
    
    Fixes: xbmc#966
    peat-psuwit committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    81a8fdb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b30f67 View commit details
    Browse the repository at this point in the history