tvl-depot/users/Profpatsch/lyric
Profpatsch 92ad57febe fix(users/Profpatsch/lyric): create new lyric file if not exists
That was the original intention, but I didn’t understand that lua
would fail with "r+" if the file does not exist (and "w+" truncates
the file, so you have to try "r+" and then fall back to "w+" which
will create the file as well.)

Change-Id: Ib238f0b73ab403ceeaf035d053a14eba718d1b48
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12562
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
2024-10-05 13:49:38 +00:00
..
extension feat(users/Profpatsch/lyric/ext): add lrc upload & ms offset 2024-10-05 13:49:38 +00:00
src chore(users/Profpatsch/lyric): add typescript linting rules 2024-10-05 13:49:38 +00:00
.gitignore feat(users/Profpatsch/lyric): add vscode extension & helpers 2024-10-05 13:49:38 +00:00
.prettierrc feat(users/Profpatsch/lyric): add vscode extension & helpers 2024-10-05 13:49:38 +00:00
build.ninja feat(users/Profpatsch/lyric): add vscode extension & helpers 2024-10-05 13:49:38 +00:00
default.nix feat(users/Profpatsch/lyrics): integrate into an mpv extension 2024-10-05 13:49:38 +00:00
eslint.config.mjs chore(users/Profpatsch/lyric): add typescript linting rules 2024-10-05 13:49:38 +00:00
lyric-mpv-script.lua fix(users/Profpatsch/lyrics): remove special chars from search 2024-10-05 13:49:38 +00:00
lyric-timing-mpv-script.lua fix(users/Profpatsch/lyric): create new lyric file if not exists 2024-10-05 13:49:38 +00:00
package.json feat(users/Profpatsch/lyric): add vscode extension & helpers 2024-10-05 13:49:38 +00:00
tsconfig.json chore(users/Profpatsch/lyric): add typescript linting rules 2024-10-05 13:49:38 +00:00