https://github.com/chrisinick/tag-music
Automatically tag music files on a remote sftp drive
https://github.com/chrisinick/tag-music
audio-library bash metadata tagging
Last synced: 2 months ago
JSON representation
Automatically tag music files on a remote sftp drive
- Host: GitHub
- URL: https://github.com/chrisinick/tag-music
- Owner: chrisinick
- License: gpl-3.0
- Created: 2024-03-29T16:58:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-29T18:42:04.000Z (about 2 years ago)
- Last Synced: 2025-06-11T12:51:24.118Z (about 1 year ago)
- Topics: audio-library, bash, metadata, tagging
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# tagmusic
Automatically tag music files on a remote sftp drive.
The script mounts your network drive, uses [onetagger-cli](https://github.com/Marekkon5/onetagger) to tag all your music and unmounts your drive again.
## Installation
### 1. Dependencies
- bash
- sshfs
- onetagger
### 2. Download
```bash
git clone --depth=1 https://github.com/chrisinick/tag-music.git
cd tag-music
chmod u+x tagmusic
```
Add tagmusic to PATH to use it from anywhere in the shell.
### 3. Setup
Paste your Spotify ID and secret into tagmusic_config.json to let One Tagger access Spotify for tagging.
```json
"spotify": {
"clientId": "",
"clientSecret": ""
},
```
## Usage
### Start tagging
```bash
tagmusic user@host:/path/to/music/directory
```
## Resource
[One Tagger](https://onetagger.github.io/)
## License
Licensed under the [GPLv3](https://github.com/chrisinick/tag-music/blob/master/LICENSE.txt) License.