Skip to content

A cli tool to tag your audio files quickly and easily ( written in node.js )

Notifications You must be signed in to change notification settings

jaxparrow07/EasyAudioTagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyAudioTagger

A cli tool to tag your audio files quickly and easily ( written in node.js )

Installation

  • Make sure you have node installed.
  • Clone this repo
git clone https://github.com/jaxparrow07/EasyAudioTagger.git
  • CD into that directory
cd EasyAudioTagger
  • Install the npm dependencies
npm install
  • Done
node app.js "file name"

Demo

asciicast

Configuration

These variables can be configured via config.js file

# API & Credentials

SPOTIFY_CLIENT_ID,
SPOTIFY_CLIENT_SECRET:
Instructions for spotify:-

  • Head to https://developer.spotify.com/dashboard/ and login if you haven't already.
  • Create a new application
  • Click to open the newly created application, copy and paste the credentials ( client id and secret ) in the 'config.js' file

LASTFM_API_KEY:
Instructions for Last.fm:-

  • Head to https://www.last.fm/api/accounts and login if you haven't already
  • Create a new application using the form
  • Retreive the api key of the application, copy and paste it in the 'config.js' file

# Options

SEARCH_LIMIT:
Description: Number of items to show as options
Note: API limiations apply
Default: 5 ( to not make terminal flooded up )

DEFAULT_SEARCH:
Description: The search to start with, can be switched after searching from menu too
Available options: last.fm or * ( anything ) to default spotify
Default: 'spotify'

Extra Info

If you want to run this script from anywhere ( without absolute path ). You can try adding this to PATH or by creating an alias.
Wrapper example:

#!/usr/bin/env bash
node "/ <absolute path to the repo> /app.js" "$1"

and add this wrapper script to your PATH

About

A cli tool to tag your audio files quickly and easily ( written in node.js )

Topics

Resources

Stars

Watchers

Forks