Skip to main content

Stream your YouTube playlist in VLC behind the scenes from the command line.

Project description

VLCYT

Stream your YouTube playlist in VLC behind the scenes from the command line.

Check It Out

https://streamable.com/43qzjl

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

GitHub
PyPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

VLCYT-1.9.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

VLCYT-1.9-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file VLCYT-1.9.tar.gz.

File metadata

  • Download URL: VLCYT-1.9.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for VLCYT-1.9.tar.gz
Algorithm Hash digest
SHA256 b1650b6d2385de5c3480bd22462c5c5913ef1cd8a30a20caaea49bdaaa9fcf52
MD5 03257157409f1fa271a94a2b8c9c2e57
BLAKE2b-256 dccfdfaee9ee54fac29250ffb1bcb85ba8735549371b1f7987f36471afbcaa99

See more details on using hashes here.

File details

Details for the file VLCYT-1.9-py3-none-any.whl.

File metadata

  • Download URL: VLCYT-1.9-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for VLCYT-1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 546849fcce52b2b62596ac9a46a8d3e3adf32a74ea14dba5e773e14325a126c9
MD5 82fc17660fb85e61e6cfdd27ab2b53b5
BLAKE2b-256 b93beeeea29bb99769a9e2830ee02e347090f8619e3f50ea16025305f2d19086

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page