45 lines
926 B
Markdown
45 lines
926 B
Markdown
!!! For some parts of this project i used Gen AI, more information below !!!
|
|
|
|
# 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.
|