summaryrefslogtreecommitdiffstats
path: root/vlc-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vlc-model.lua')
-rw-r--r--vlc-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/vlc-model.lua b/vlc-model.lua
index e210e25..5a8da68 100644
--- a/vlc-model.lua
+++ b/vlc-model.lua
@@ -41,7 +41,7 @@ function mymodule.getconfigfile()
return modelfunctions.getfiledetails(configfile)
end
-function mymodule.get_filedetails()
+function mymodule.getlogfile ()
local path=logfile
local path2
if fs.is_file(configfile) then
@@ -50,7 +50,7 @@ function mymodule.get_filedetails()
end
end
if path2 then path=path2 end
- return modelfunctions.getfiledetails(path)
+ return cfe({ value=path, label="VLC logfile" })
end
function mymodule.setconfigfile(self, filedetails)