Files
ytm-jam/README.md
2026-02-15 01:18:30 +01:00

43 lines
848 B
Markdown

# Setup
```
git clone https://github.com/zxrotwo002/ytm-jam.git
cd ytm-jam
python -m venv .venv
```
## Windows
```
.venv\Scripts\activate
pip install -r requirements.txt
ytmusicapi browser
```
## Linux
```
source .venv/bin/activate
pip install -r requirements.txt
ytmusicapi browser
```
Follow the instructions of the [ytmusicapi](https://ytmusicapi.readthedocs.io/en/stable/setup/browser.html)
Add the script in [tampermonkey](tampermonkey) as new userscript in tampermonkey
# Usage
```
flask run
```
```
node server/server.cjs
```
# Credits
Python code and javascript is written by me
The bridge server was also written by me
CSS was generated by Gemini
The tampermonkey script was also generated by Gemini since my first idea was to use the YTM-Desktop app as player until i realised that it doesn't support adding songs to the queue.