003 YTmusic integration
integrates Youtube Music into Resonite
Setup
- Youtube Music[1] Desktop and API-Server setup
- Download and open YTmusic[1:1] Desktop app (unofficial): https://th-ch.github.io/youtube-music/
- Open the Plugins menu in the top left corner of YTM[1:2]. Then activete the "API-Server (Beta)" Plugin by clicking on it in the list
- Make sure you disabled Authentification, set a valid port (default should be fine) and if running Resonite on another local machine then that is running YTM define a local IP address
- Just to be sure restart YTM
- Resonite
- open the YTmusic-integrations Slot in a Inspector -> YTM integration manager -> API connection -> connection details
- fill out the "YTM-integrations/API-url" DynamicVariableField
- Url-Format:
http://"API-Server-IP":"Port"
"API-Server-IP"
depends on where YTmusic-API-Server is running.- On same machine= "localhost".
- On machine on local network use the ip that you specified in the API-Server Settings
- Make sure that the
"Port"
is the same as set in YTM-API-Server
- Url-Format:
API endpoints
This is only important if you want to do something of your own. If you use my preset system you can just interact with dynamic variables
These can be listed by https://swagger.io/
- Can be opened by appending
/swagger
after the url and pasting it into a Webbrowser- Example: http://localhost:26538/swagger
- The Manager also generates the whole Url that you can paste in a browser
- found under: YTmusic-integrations -> YTM integration manager -> API connection -> API interaction documentation
Through that Ui you are able to see all the currently available API Endpoints, what they do and how to call them.
- You can even test them by expanding them ->"Try it out" Button > Set parameters (if available) -> "Execute" Button.
Todo
Wait for video to load for all users
https://discord.com/channels/1040316820650991766/1243347566892941435/1393886498880753715