Skip to main content

Manage youtube music playlists

Project description

https://travis-ci.org/tefra/pytuber.svg?branch=master https://readthedocs.org/projects/pytuber/badge https://codecov.io/gh/tefra/pytuber/branch/master/graph/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg https://img.shields.io/github/languages/top/tefra/pytuber.svg https://app.codacy.com/project/badge/Grade/00744926e0c94552857f3320640c7f71 https://img.shields.io/pypi/pyversions/pytuber.svg https://img.shields.io/pypi/v/pytuber.svg
https://github.com/tefra/pytuber/raw/master/docs/_static/demo.gif
pytuber is a cli tool to manage your music playlists on youtube.
  • Generate playlists from Last.fm or
  • Import from file formats: XSPF, JSPF, M3U
  • Create with a simple copy paste in a text editor
  • Search and match tracks to Youtube videos
  • Sync pytuber playlists (fetch/push)
  • Update youtube playlist items (add/remove)
  • Keep track of youtube api quota usage

Check Documentation | Changelog

Install & Setup

$ pip install pytuber
$ pytuber setup autocomplete  # Enable autocomplete

Read how to setup youtube authentication

Start creating youtube playlists ✨✨

Youtube API Quota

Youtube api has a daily api quota limit which resets at midnight Pacific Time (PT).

pytuber includes a quota calculator

$ pytuber quota

Additionally to the api quota limit Youtube limits the amount of how many playlists you can create per day to only 10.

In case you reach that number, you can push a new playlist manually.
  • Create a playlist with pytuber add command
  • View the playlist by using this command pytuber show xxxx –mime
  • This mime string is base64 signature used by pytuber internally to link local to youtube playlists
  • Add a youtube playlists manually from the web site and add the mime signature at the bottom of the playlist description
  • Fetch the new playlist info pytuber fetch youtube –playlists

Afterwards you will be aple to push tracks like normally.

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

pytuber-22.5.tar.gz (41.9 kB view hashes)

Uploaded source

Built Distribution

pytuber-22.5-py3-none-any.whl (27.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page