ubuntuusers.de

yt-dlp ytdl_hook.lua

Status: Ungelöst | Ubuntu-Version: Lubuntu 20.04 (Focal Fossa)
Antworten |

marant-

Anmeldungsdatum:
13. September 2021

Beiträge: 363

mpv 0.32.0

Hallo Leute,

Hier ist die aktuelle lua. Änderung:

paths_to_search = {"yt-dlp", "yt-dlp_x86", "youtube-dl"},

In der Annahme yt-dlp in mpv zu integrieren dies versucht. Will nicht, youtube-dl läuft offb. weiterhin. (yt-dlp ist inst, läuft auch per Terminal allein)

"script-opts=ytdl_hook-ytdl_path=yt-dlp" in der mpv.conf bringt selbe Ergebnis.

Ausgabe:

[ytdl_hook] 
[ytdl_hook] stack traceback:
[ytdl_hook] 	@ytdl_hook.lua:566: in function 'run_ytdl_hook'
[ytdl_hook] 	@ytdl_hook.lua:725: in function 'fn'
[ytdl_hook] 	mp.defaults:544: in function 'handler'
[ytdl_hook] 	mp.defaults:486: in function 'call_event_handlers'
[ytdl_hook] 	mp.defaults:520: in function 'dispatch_events'
[ytdl_hook] 	mp.defaults:479: in function <mp.defaults:478>
[ytdl_hook] 	[C]: in ?
[ytdl_hook] 	[C]: in ?
[ytdl_hook] Lua error: @ytdl_hook.lua:566: attempt to concatenate local 'err' (a nil value)

Update:

Gerade festgestellt tritt bei a.beschränkten Videos auf. So

yt-dlp -o - <$adresse> | mpv - 

laufen Diese allerdings.

youtube-dl mal umbenannt. Ergebnis:

[ytdl_hook]  
[ytdl_hook] youtube-dl failed: not found or not enough permissions 

yt-dlp off. tatsächlich nicht eingebunden.

Letzter Stand, erstmal so gelöst: yt-dlp in youtube-dl umbenannt.

Antworten |