Updating yt-dlp: Difference between revisions

From Resonite Wiki
Created page with "This is a guide for updating [https://github.com/yt-dlp/yt-dlp/ yt-dlp]. Occasionally, updates to services break or new services are added and will require updates. Resonite does bundle updates to this program in its own updates but you may want to update sooner instead of waiting. <code>yt-dlp.exe</code> can be located inside of <code>Resonite\RuntimeData\</code>. === Manual === * Open a command prompt or powershell window * Navigate to the <code>Resonite\RuntimeData..."
 
clarification
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This is a guide for updating [https://github.com/yt-dlp/yt-dlp/ yt-dlp]. Occasionally, updates to services break or new services are added and will require updates. Resonite does bundle updates to this program in its own updates but you may want to update sooner instead of waiting.
This guide covers updating [https://github.com/yt-dlp/yt-dlp/ yt-dlp]. Occasionally, updates to services break functionality or new sites are supported requiring an update to yt-dlp to be used. Resonite does bundle updates to this program on its own but manually updating ensures you get the latest fixes immediately.


<code>yt-dlp.exe</code> can be located inside of <code>Resonite\RuntimeData\</code>.
<code>yt-dlp.exe</code> can be located inside of <code>Resonite\RuntimeData\</code>.
Line 5: Line 5:
=== Manual ===
=== Manual ===


* Open a command prompt or powershell window
<b>Using CMD only:</b>
* Navigate to the <code>Resonite\RuntimeData\</code> folder with a command like <code>cd C:\Program Files (x86)\Steam\steamapps\common\Resonite\RuntimeData\</code>  
* Open a command prompt or powershell window.
* Navigate to the <code>Resonite\RuntimeData\</code> folder with a command like <code>cd C:\Program Files (x86)\Steam\steamapps\common\Resonite\RuntimeData\</code>.
** In command prompt, you may need to use <code>cd /d</code> if your game is installed on another drive, this is not required in powershell.
** In command prompt, you may need to use <code>cd /d</code> if your game is installed on another drive, this is not required in powershell.
* From here, run <code>yt-dlp.exe -U</code> in command prompt or <code>.\yt-dlp.exe -U</code> in powershell.
* From here, run <code>yt-dlp.exe -U</code> in command prompt or <code>.\yt-dlp.exe -U</code> in powershell.
<b>Using windows file explorer/steam:</b>
* Open steam and right click Resonite in your steam library
* go to the properties in that menu, and it will open a new window.
* Go to the local files tab, and hit browse local files
* In the window that appears, go to <code>RuntimeData</code>
* click on the address bar, delete all the contents of the address bar, and type in "cmd" and hit enter.
* Paste into the new cmd window <code>yt-dlp.exe -U</code> by copying said command and right clicking.
* Run command and respawn the video for issues to be resolved!


=== Batch Script ===
=== Batch Script ===
You can simplify the manual steps by putting them in a batch script file.
You can simplify the manual steps by putting them in a batch script. After that, you can update by simply running the script.


* Open notepad or a text editor of your choice, paste:
* Open notepad or a text editor of your choice, the paste in:
<syntaxhighlight lang="batch">
<syntaxhighlight lang="batch">
@echo off
@echo off
Line 25: Line 35:
* Save this where ever you'd like
* Save this where ever you'd like


Now updating can be done by just running the batch file directly.
=== Mods ===
A mod exist to automatically update yt-dlp when launching the game, it can be found here https://github.com/Raidriar796/yt-dlp-Updater/.


=== Mod ===
There is also a Youtube Proxy mod that bypass any potential issues with Resonites version of yt-dlp, issues with video quality, or geo-blocking that may occur. The mod can be found here https://github.com/LeCloutPanda/VideoProxy
A mod exist to automatically update yt-dlp when launching the game, it can be found here https://github.com/Raidriar796/yt-dlp-Updater/.
 
 
[[Category:Tutorial]]
[[Category:Troubleshooting]]

Latest revision as of 03:14, 28 March 2025

This guide covers updating yt-dlp. Occasionally, updates to services break functionality or new sites are supported requiring an update to yt-dlp to be used. Resonite does bundle updates to this program on its own but manually updating ensures you get the latest fixes immediately.

yt-dlp.exe can be located inside of Resonite\RuntimeData\.

Manual

Using CMD only:

  • Open a command prompt or powershell window.
  • Navigate to the Resonite\RuntimeData\ folder with a command like cd C:\Program Files (x86)\Steam\steamapps\common\Resonite\RuntimeData\.
    • In command prompt, you may need to use cd /d if your game is installed on another drive, this is not required in powershell.
  • From here, run yt-dlp.exe -U in command prompt or .\yt-dlp.exe -U in powershell.

Using windows file explorer/steam:

  • Open steam and right click Resonite in your steam library
  • go to the properties in that menu, and it will open a new window.
  • Go to the local files tab, and hit browse local files
  • In the window that appears, go to RuntimeData
  • click on the address bar, delete all the contents of the address bar, and type in "cmd" and hit enter.
  • Paste into the new cmd window yt-dlp.exe -U by copying said command and right clicking.
  • Run command and respawn the video for issues to be resolved!

Batch Script

You can simplify the manual steps by putting them in a batch script. After that, you can update by simply running the script.

  • Open notepad or a text editor of your choice, the paste in:
@echo off
cd /d "C:\Program Files (x86)\Steam\steamapps\common\Resonite\RuntimeData"
yt-dlp.exe -U
  • Update the path if your game is installed in another location.
  • Click File > Save As and change the 'Save as type' to 'All Files'
  • Name the file Update_yt-dlp.bat or similar ending in '.bat'
  • Save this where ever you'd like

Mods

A mod exist to automatically update yt-dlp when launching the game, it can be found here https://github.com/Raidriar796/yt-dlp-Updater/.

There is also a Youtube Proxy mod that bypass any potential issues with Resonites version of yt-dlp, issues with video quality, or geo-blocking that may occur. The mod can be found here https://github.com/LeCloutPanda/VideoProxy