Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sync-dl-ytapi

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sync-dl-ytapi

An addon for sync-dl, providing commands which utilize the youtube api

  • 1.1.2
  • PyPI
  • Socket score

Maintainers
1

sync-dl-ytapi

An addon for sync-dl, providing commands which utilize the youtube api

  • INSTALLATION
  • ABOUT
  • USAGE
  • EXAMPLE
  • DEVLOPMENT

INSTALLATION

First install sync-dl:

pip install sync-dl

Using any commands in sync-dl which require this addon will prompt the user to install this addon.

ABOUT

Provides sync-dl the ability to edit remote playlists on youtube through the youtube-api

Usage

Push Order Command:

sync-dl ytapi --push-order PLAYLIST

This will prompt you to install sync-dl-ytapi if you have not already, and will print out the url to log in with google. Once you have done this it will push the local order of PLAYLIST to youtube, reordering songs to match the local order (songs in remote but not in local will always stay after what they are currently after)

PLAYLIST is simply the name of the directory which contains the playlist. playlist directory will always be in current working directory unless a music directory is specified using the -l, --local-dir option to hard set a music directory.

You can also logout (revoke the access tokens and delete the saved credentials) using the following command

sync-dl ytapi --logout

To see all options use the command:

sync-dl ytapi -h

Transfer Command:

sync-dl ytapi transfer [OPTINOS] SRC_PLAYLIST DEST_PLAYLIST

Transfers songs between SRC_PLAYLIST and DEST_PLAYLIST on both local and remote, moving a single song using -t SI DI or a range of songs -r S1 S2 DI

To see all options as well as a more indepth description use the command:

sync-dl ytapi transfer -h

DEVLOPMENT

To build for devlopment run:

git clone https://github.com/PrinceOfPuppers/sync-dl-ytapi.git

cd sync-dl-ytapi

pip install -e .

This will build and install sync-dl in place, allowing you to work on the code without having to reinstall after changes, it will also install sync-dl as it is a dependancy

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc