Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

## 📌 NOTE :

1. Never ever join an active voice chat with the same account. (**System will hang**)
1. Never ever join an active voice chat with the same account. (**System may hang**)
2. To Listen to music in Voice chat best way is to use **USERGE-X** in your **alt account** and add all XPlayer commands in sudo (avoid using Multiple owner IDs) and for **interactive buttons** (`.managevc`) add your bot in group.

### 🌟 Features :

- Multiple Chat support.
- Multiple Chat + Channel support.
- Uninterrupted playback (downloads and convert next song in advance)
- Text based integrated youtube search.
- Quick Toggles for volume up-down, mute-unmute etc.
- A traditional user friendly player packed with Resume, Pause, Repeat, Shuffle, Skip !
Expand All @@ -23,17 +24,28 @@
3. Telegram audio / media group and *channels
```

---

### ⬇️ Installation :

**Requirements**-
#### Requirements

- [USERGE-X](https://github.com/code-rgb/USERGE-X) `v0.5.1` or above.

- USERGE-X `v0.5.1` or above.
#### ⚙️ Config Vars

- `VC_SONG_MAX_DURATION` - Set the max. allowed song duration in sec. (defaults to `600`)
- `VC_GROUP_MODE` - [use `.vcgroupmode` to enable / disable], If `True` anyone in the group can use `.playvc` to play songs. (defaults to `False`)

Add this repo as **custom plugin repo** i.e
`CUSTOM_PLUGINS_REPO="https://github.com/code-rgb/XPlayer"`
or add [xplayer.py](https://github.com/code-rgb/XPlayer/blob/master/plugins/xplayer.py) in your custom plugin repo or forked X repo.

#### ⚡️FAQ :
> e.g. `.setvar CUSTOM_PLUGINS_REPO https://github.com/code-rgb/XPlayer`

---

#### ❓ FAQ :

Q. Lag During Music Playback

Expand All @@ -43,18 +55,20 @@ Q. Lag During Music Playback

Joined Voice Chat but doesn't play anything.

> It's a common pytgcalls issue, possible workaround -> Press Stop button, then Debug button and Join again. (works sometime)
> It's a common pytgcalls issue.
> possible workaround -> use [`🐞 Debug`] button

#### 😁 Upcoming :
#### ⚡️ Upcoming :

**Note** : no ETA
**Note** : no ETA (Delayed until pytgcalls gets stable)

- Recorder
- UI tweaks
- Inline Support for `.managevc` so no need to add bot in group


---

### Credits:

- Thanks @MarshalX for his [pytgcalls](https://github.com/MarshalX/tgcalls) library
- Plugin: @DeletedUser420
Loading