Git Product home page Git Product logo

gmusic_import_txt_playlist's Introduction

Simple utility script to import txt based playlist to google music based on https://github.com/simon-weber/gmusicapi

Reason - creating playlist using Google Music UI is not convenient

Install

Unzip gmusic_import_txt_playlist.zip
pip install -r requirements.txt

Usage

gmusic_import_txt_playlist [Path to text file containing desired playlist]

Options

-h, --help

Display help message

-v,--verbose

Enable verbose output

-e,--email

Specify Google e-mail as an argument

-t,--target-playlist-name

Name of playlsit you want to change/replace

-f,--format

Fix format for parsing lines in txt file. {Artist}, {Album}, {Song} variables could be used. By default the following formats are checked.

{Artist} - {Album}
{Artist} - {Song}
{Album}
{Song}
{Artist}

If several formats could apply you will be explicitly asked.

--matching-style

Possible options:

  1. substring - line may contain only substring of variable format

  2. exact_match - exact match required

Details

If several songs match the requested line they will be sorted in order of (artist name, album year, track number).

If playlist with requested name already exists you will be asked to specify what action (overwrite/append/cancel) with it explicitly.

gmusic_import_txt_playlist's People

Contributors

predelnik avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

sahwar

gmusic_import_txt_playlist's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.