-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mpv: patch youtube-dl hook to fix playback from youtube
- Loading branch information
1 parent
9d495c5
commit b6cb56f
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- player/lua/ytdl_hook.lua.orig 2023-03-21 11:35:15 -0500 | ||
+++ player/lua/ytdl_hook.lua 2023-03-21 11:31:18 -0500 | ||
@@ -451,7 +451,7 @@ | ||
end | ||
end | ||
|
||
- local url = edl_track or track.url | ||
+ local url = track.url | ||
local hdr = {"!new_stream", "!no_clip", "!no_chapters"} | ||
local skip = #tracks == 0 | ||
local params = "" |
b6cb56f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akierig This has broken the build, since you cancelled applying all patches listed prior to this one.
-append
must be used, unless it is the first patch to come in the portfile.b6cb56f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You probably should just submit a patch to fix it, @barracuda156
b6cb56f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pmetzger Well, in a sense: I have fixed it in
mpv-legacy
, and inmpv
patches for pre-Catalina OSs are irrelevant and therefore just dropped.b6cb56f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I suggest just submitting a patch instead of commenting on a commit from 9+ months ago...