Skip to main content

A tool to randomize youtube playlists

Project description

youtube-playlist-randomizer

Takes a youtube list shuffles it around and saves it as a new playlist

PyPI Version

Summary

Since the Chromecast can not shuffle an youtube list, and I sometimes want to just lay back and watch my favourite playlist in random order i came up with this package. This is a simple python package that takes a youtube playlist as input randomizes it and saves the youtube playlist.

Installation

pip install youtube-playlist-randomizer

CLI Documentation

Playlist randomizer

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -v, --verbose         set loglevel to INFO
  -vv, --very-verbose   set loglevel to DEBUG
  -n CHUNKS, --number_of CHUNKS
                        Specify the number of update request to do per 24 hours [default=190]
  -i INPUT, --input INPUT
                        Specify the secret client json file [default='client_secret.json']

Config

This scripts needs a client_secret.json file you can get one by going to google docs and follow step 1 of that tutorial and save the client_secret.json to disk.

Usage

After installing and getting the client secret file just run and follow the instructions in the folder you saved the json file.

youtube-playlist-randomizer -i client_secret.json

Changelog

License

MIT

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

youtube_playlist_randomizer-0.5.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

youtube_playlist_randomizer-0.5.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file youtube_playlist_randomizer-0.5.1.tar.gz.

File metadata

  • Download URL: youtube_playlist_randomizer-0.5.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.1 Linux/6.11.0-1018-azure

File hashes

Hashes for youtube_playlist_randomizer-0.5.1.tar.gz
Algorithm Hash digest
SHA256 07c0eb2f95ca5b3e28b502b73c372ee192ed9f483456b0ccd0e261f771b2f9c0
MD5 6ee02f239bc1eb37741b5da49051e736
BLAKE2b-256 cf705a313e63739f56e0f8c11886e85271dbab0e494f18bf4546fde16a66f181

See more details on using hashes here.

File details

Details for the file youtube_playlist_randomizer-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for youtube_playlist_randomizer-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 419717df8c8d027162ea80b53ab736c7aa2d698a80a680b2e3283a8d0f9115a8
MD5 3bc79d5fc947b7533ff6d5369f2a8242
BLAKE2b-256 50aa1f571b966b976044a4ac917c440872f096053046bd89ef2bc2127840848d

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