A cli tool to tag your audio files quickly and easily ( written in node.js )
- 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"
These variables can be configured via config.js
file
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
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'
If you want to run this script from anywhere ( without absolute path ). You can try 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