projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf0d06c
)
Tweak PR 269 for portable file-path
author
Robin Gareus
<robin@gareus.org>
Mon, 12 Sep 2016 10:05:03 +0000
(12:05 +0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 12 Sep 2016 10:05:03 +0000
(12:05 +0200)
scripts/export_mp4chaps.lua
patch
|
blob
|
history
diff --git
a/scripts/export_mp4chaps.lua
b/scripts/export_mp4chaps.lua
index 4adffe16ceb204531ae8bc960a1d19255f1a1a70..d5e7a5708e2e50606ecb1fe4f168bff0d1319adc 100644
(file)
--- a/
scripts/export_mp4chaps.lua
+++ b/
scripts/export_mp4chaps.lua
@@
-45,7
+45,7
@@
function factory (unused_params) return function ()
table.insert(chaps, "00:00:00.000 Intro\n")
table.sort(chaps)
- file = io.open(
string.format("%s/export/mp4chaps.txt", Session:path()
), "w")
+ file = io.open(
ARDOUR.LuaAPI.build_filename (Session:path(), "export", "mp4chaps.txt"
), "w")
for i, line in ipairs(chaps) do
file:write(line)
end