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

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube_playlist_randomizer-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 16b9629b1f0b2008d649f4aa4ac2eac5970c1f7cce2909a2bd1492e17dc56b70
MD5 cd359b17bf4627221645156209db3fcc
BLAKE2b-256 44294332e9a2ce745f9c65c4971c9c67797925c5e91bce8cba67bb8be27c1efc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_playlist_randomizer-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c70c4896bd85fbb099fb39b93f774a0f892a8b54f77e30f01f84ae9878f020ad
MD5 46cf8da75e41b05a9a9cfb1845c2d8c4
BLAKE2b-256 be3ed401dd82a18db52307a295be638ae5ebcd6b715c0132ecc22496d3ff608d

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