Skip to content

Commit 8e8e328

Browse files
authored
Update README.md
1 parent e4db43f commit 8e8e328

1 file changed

Lines changed: 24 additions & 11 deletions

File tree

README.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# YouTube Music Rich Presence
22

33
# Update:
4-
I don't really like the current system of how YT-RPC works on a user level
5-
It's not convienient for people to have to make api keys and have to install python of all things
6-
And my friend told me there should be a way to do rpc with javascript
7-
so ytrpc may be moving to a browser extension (if not i'll delete this update section)
8-
i will still be most likely using the python version cause i like being able to run my music through my terminal
9-
i guess i should also figure out the logistics of listen together ?
4+
I don't really like the current system of how YT-RPC works on a user level <br>
5+
It's not convienient for people to have to make api keys and have to install python of all things<br>
6+
And my friend told me there should be a way to do rpc with javascript<br>
7+
so ytrpc may be moving to a browser extension (if not i'll delete this update section)<br>
8+
i will still be most likely using the python version cause i like being able to run my music through my terminal<br>
9+
i guess i should also figure out the logistics of listen together ?<br>
1010
thank you
1111
------
1212

@@ -28,11 +28,24 @@ This project requires you to generate a YouTube API key, specifically the YouTub
2828

2929

3030
# Running YT-RPC
31-
Navigate to the Google Cloud developer console and obtain an api key for the data API, then create a file into rpc named .env with the value YOUTUBE_API_KEY="yourkey"
32-
This project comes with certain songs with custom properties such as a hover text or custom animated album art, which is changeable in custom.json
33-
Either open YT-RPC in a code editor of your choice and run main.py in the rpc folder (only use this for development purposes such as previewing custom.json changes) <br>
34-
Albiet untested, running the script raw with Python<br>
35-
Or compile YT-RPC into an exe using pyinstaller
31+
Navigate to the [Google Cloud developer](https://console.cloud.google.com) console and obtain an api key for the data API, then create a file in the rpc directory named .env with the value YOUTUBE_API_KEY="yourkey"
32+
33+
This project comes with certain songs with custom properties with almost everything being customizable (animated album art, overriding the album name to be a message of your choice, overriding the artist, etc), which is changeable in custom.json
34+
35+
I've personally found YT-RPC to work best by running it through my terminal
36+
<img width="1185" height="367" alt="image" src="https://github.com/user-attachments/assets/49575042-d646-40b3-be29-08d87b7f3c16" />
37+
38+
39+
Here's the bat script i used
40+
```bash
41+
cd "pathtoytrpc/YT-RPC/.venv/Scripts"
42+
call activate.bat
43+
cd ../../rpc
44+
set /p "nodiscord=Run Using Discord? saying no means dont show it as your activity (y/n)"
45+
If /I "%nodiscord%" == "y" (python main.py) ELSE (python main.py --nodiscord)
46+
```
47+
48+
I will be providing how to install requirements.txt and a requirements.txt file shortly
3649

3750
## Folder Documentation
3851
- crx folder: chrome extension that the Selenium browser runs and sends out peerconnection with WebRTC to transfer the music out

0 commit comments

Comments
 (0)