Skip to main content

Simple python cli script to shuffle an input list and save the playlist

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 pacakge. 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

  -h, --help            show this help message and exit
  --version             show programs version number and exit
  -n                    specify the amount of inserts to execute
  -v, --verbose         set loglevel to INFO
  -vv, --very-verbose   set loglevel to DEBUG
  -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.2.0.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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