album-splitter icon indicating copy to clipboard operation
album-splitter copied to clipboard

add support for tracks.json

Open jpjagt opened this issue 1 year ago • 0 comments

I encountered an encoding issue when providing a tracklist with Japanese characters. I worked around this by adding support for providing a json file with tracks.

This code automatically detects if a tracks.json output file is manually supplied by the user, and if so, takes the title & timestamps from this json object.

Right now, the json object should have one attribute, tracks, which maps to a list of dicts with title and start_time. Maybe it could just be the list itself, the tracks wrapping is not really necessary...

Todo: add documentation in the readme.

jpjagt avatar Jan 27 '24 12:01 jpjagt