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.0.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.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube_playlist_randomizer-0.5.0.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.0.tar.gz
Algorithm Hash digest
SHA256 448f7b30d29bfdbcc1d705c4f94c2148bc988d211f1d4ab6de701d9552cdd87b
MD5 76b3d71b97b878216655f83cbc6bef77
BLAKE2b-256 938d1a3f10d211679bb30cf7220153c1ff18595e0a643a6be94ed9e9d0e51cf7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_playlist_randomizer-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a4a738f8a5e47438b7c855e7231041bcb2d927e6e3f653484b8534ac34e94a5
MD5 b5ae75294190e815f210d06a6c1517e8
BLAKE2b-256 2e5e4862e0059a323433598e2456edd51013fe8585cf18196905d41724a3fb15

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