nimatrueway / mpv-bookmark-lua-script

a lua-script for mpv to set bookmark on media
44 stars 5 forks source link

Request: Customizing bookmarks file #8

Open evkaw opened 2 years ago

evkaw commented 2 years ago

Hey, I know this is more of a problem than a request but I was wondering if there was a way to make the bookmarks.json file more readable? Right know it looks like this:

Screen Shot 2022-02-05 at 11 14 16 PM

And if possible, I would like it to be more like this:

Screen Shot 2022-02-05 at 11 15 50 PM

Thank you for the help!

dexeonify commented 2 years ago

The .json format is often used to transmit data interchangeably and be parsed by machines. Minified JSON is easier to write and it's also (negligibly) smaller in size. If you want to make it readable, use a prettifier/formatter like https://json.pizza. Most code editor like VS Code also includes a JSON formatter by default.