statemachine bugfix
This commit is contained in:
1 parent
abbcfd68e2
commit
820ab1c931
1 file changed
+2
-1
+2
-1
@@ -52,7 +52,8 @@ function MetaClass:New(filename)
|
|||||||
self.DisplayChapters = {}
|
self.DisplayChapters = {}
|
||||||
self.Dirty = false
|
self.Dirty = false
|
||||||
self.metadata = vlc.input.item():metas() or { }
|
self.metadata = vlc.input.item():metas() or { }
|
||||||
self.path = uri_to_path(vlc.input.item():uri())
|
self.uri = vlc.input.item():uri()
|
||||||
|
self.path = uri_to_path(self.uri)
|
||||||
self.duration = vlc.input.item():duration() * VLC_TIMEBASE
|
self.duration = vlc.input.item():duration() * VLC_TIMEBASE
|
||||||
self:WalkChapters()
|
self:WalkChapters()
|
||||||
self:SetDirty(true)
|
self:SetDirty(true)
|
||||||
|
|||||||
Reference in new issue
Block a user