VLCYT
Stream your YouTube playlist in VLC behind the scenes from the command line.
Check It Out
Requirements
YouTube Data V3 API Key
64-bit VLC Media Player
64-bit Python 3.8
Note
This project has only been tested on Windows 10.
Installation
pip install git+https://github.com/hillt03/VLCYT
Usage
Be sure to include quotes around arguments.
python -m vlcyt ["<youtube_playlist_url>" -a "<YouTube V3 API Key>" -v "<VLC Install directory>" ]
If you have VLC installed and get a FileNotFound Error, use the -v switch to include the path to your VLC install directory. Otherwise, don't forget to install VLC (64-bit). VLCYT will look for VLC in C:\Program Files\VideoLAN\VLC by default.
After running for the first time, you can then simply enter python -m vlcyt and the last playlist you passed in will begin playing.
VLCYT user data (playlist url, API key, and VLC directory) is stored in %APPDATA%\Local\VLCYT.
Example
python -m vlcyt "https://www.youtube.com/watch?v=8jrN6Kz2XbU&list=PLPVigFOpn3YjTdJ3-hIILmeP3jsjXntOU&index=1" -a "EXAMPLEAPIKEY" -v "C:\Program Files\VideoLAN\VLC"
After this initial command, do the following to load your stored settings:
python -m vlcyt
Commands
NOTE: Most commands have multiple aliases separated by commas, use whichever you prefer.
?, help
Opens the help menu and shows whether or not looping and shuffling are enabled.
volume, v
Adjust the volume (0 - 100).
skip, s, next, n, forward, f
Skips song(s).
For example: Entering "skip" will skip one song,
entering "skip 5" will skip 5 songs.
play, pause, p
Plays/Pauses the current song.
repeat, replay, r
Repeats the current song one time.
back, b
Skips to the last song played.
loop, l
Enables looping. The current song will keep playing until looping is disabled.
shuffle
Shuffles the playlist without repeating until every song has been played.
copy, c, url
Copies the current song's YouTube URL.
lyrics
EXPERIMENTAL: Attempts to retrieve the current song's lyrics.
Needs to be improved.
exit, quit, q
Closes the program.
Links
Metadata
Release files for VLCYT 1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| VLCYT-1.9.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| VLCYT-1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / VLCYT-1.9.tar.gz
| Download URL | VLCYT-1.9.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1650b6d2385de5c3480bd22462c5c5913ef1cd8a30a20caaea49bdaaa9fcf52
|
|
BLAKE2b-256 checksum How to use checksums |
dccfdfaee9ee54fac29250ffb1bcb85ba8735549371b1f7987f36471afbcaa99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3
|
Release files / VLCYT-1.9-py3-none-any.whl
| Download URL | VLCYT-1.9-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
546849fcce52b2b62596ac9a46a8d3e3adf32a74ea14dba5e773e14325a126c9
|
|
BLAKE2b-256 checksum How to use checksums |
b93beeeea29bb99769a9e2830ee02e347090f8619e3f50ea16025305f2d19086
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3
|