iotku / genMusicSQLiteDB

Generate a SQLite Database of Music files (and accociated metadata) from a folder

Repository from Github https://github.comiotku/genMusicSQLiteDBRepository from Github https://github.comiotku/genMusicSQLiteDB

genMusicSQLiteDB

Generate a SQLite Database of Music files (and accociated metadata) from a folder

genMusicSQLiteDB requires go 1.16 or later as it implements filepath.WalkDir.

Tags are read via the "tag" library: https://github.com/dhowden/tag

sqlite3 driver: https://github.com/mattn/go-sqlite3 (requires gcc)

Usage

Create media.db for mumzic

$ genMusicSQLiteDB [path/to/music/directory]

This creates a media.db (Currently hardcoded filename) containing 4 colums ("artist", "album", "title", "path")

Supported Formats

Currently genMusicSQLiteDB program looks for .flac/.mp3/.opus files.

About

Generate a SQLite Database of Music files (and accociated metadata) from a folder

License:Mozilla Public License 2.0


Languages

Language:Go 100.0%