Closed paka9999 closed 3 months ago
I think the package is not downloading the right binary for mac in this case. If you can use the latest version, then sure that will solve it (and on the same occasion, since you host your own server, I recommend hosting your own Invidious server, you'll get better performance overall)
If not you can call this before using the package (in version 2.x)
YoutubeDl.UseLocalInstance = false;
And that will use your server by default, which should fix this issue
Hi, Thank you for the information. I'll definitely have to try the new version.
System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/Users/Unity/Library/Containers/BBA9DA482-400C-4335-A771-4D2581B79F3F/Data/tmp/com.ANT.TestProject/yt-dlp', CommandLine='--dump-single-json -f "best[ext=mp4]" --no-warnings "https://www.youtube.com/watch?v=9LFh79YeP_4&t=551s"', CurrentDirectory='', Native error= Access denied at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002f9] in:0
at System.Diagnostics.Process.Start () [0x0003a] in :0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at YoutubePlayer.LocalYoutubeDl.ReadProcessOutputAsync (System.String filename, System.String arguments, System.Threading.CancellationToken cancellationToken) [0x000bf] in <8009a9841f3741d3af073087ca51a309>:0
--- End of stack trace from previous location where exception was thrown ---
at YoutubePlayer.LocalYoutubeDl.GetVideoMetaDataAsync[T] (System.String youtubeUrl, YoutubePlayer.YoutubeDlOptions options, System.Collections.Generic.IEnumerable
1[T] schema, YoutubePlayer.YoutubeDlCli cli, System.Threading.CancellationToken cancellationToken) [0x001b8] in <8009a9841f3741d3af073087ca51a309>:0 at YoutubePlayer.YoutubeDl.GetVideoMetaDataAsync[T] (System.String youtubeUrl, YoutubePlayer.YoutubeDlOptions options, System.Collections.Generic.IEnumerable
1[T] schema, YoutubePlayer.YoutubeDlCli cli, System.Threading.CancellationToken cancellationToken) [0x00095] in <8009a9841f3741d3af073087ca51a309>:0 at YoutubePlayer.YoutubePlayer_Script.GetRawVideoUrlAsync (System.String videoUrl, YoutubePlayer.YoutubeDlCli cli, YoutubePlayer.YoutubeDlOptions options, System.Threading.CancellationToken cancellationToken) [0x0008c] in <729187bf4031412e93cfb63581f842a2>:0 at YoutubePlayer.YoutubePlayer_Script.PrepareVideoAsync (System.String videoUrl, YoutubePlayer.YoutubeDlOptions options, System.Threading.CancellationToken cancellationToken) [0x000ca] in <729187bf4031412e93cfb63581f842a2>:0 at YoutubePlayer.YoutubeController_Script.Prepare () [0x000c9] in <729187bf4031412e93cfb63581f842a2>:0I'm using my own heroku server. Apple M2 macbook is experiencing these issues. I just checked that the new version has been updated. Should I use the latest version or is there any other solution? #