@@ -6,7 +6,7 @@ local Thumbnailer = {
66 available = false ,
77 enabled = false ,
88
9- thubmnail_template = nil ,
9+ thumbnail_template = nil ,
1010
1111 thumbnail_delta = nil ,
1212 thumbnail_count = 0 ,
@@ -55,7 +55,7 @@ function Thumbnailer:update_state()
5555 self .state .thumbnail_delta = self :get_delta ()
5656 self .state .thumbnail_count = self :get_thumbnail_count ()
5757
58- self .state .thubmnail_template = self :get_thubmnail_template ()
58+ self .state .thumbnail_template = self :get_thumbnail_template ()
5959 self .state .thumbnail_size = self :get_thumbnail_size ()
6060
6161 self .state .ready = true
@@ -82,7 +82,7 @@ function Thumbnailer:update_state()
8282end
8383
8484
85- function Thumbnailer :get_thubmnail_template ()
85+ function Thumbnailer :get_thumbnail_template ()
8686 local file_path = mp .get_property_native (" path" )
8787 local is_remote = file_path :find (" ://" ) ~= nil
8888
@@ -186,7 +186,7 @@ function Thumbnailer:get_thumbnail_path(time_position)
186186 local closest , distance = self :get_closest (thumbnail_index )
187187
188188 if closest ~= nil then
189- return self .state .thubmnail_template :format (closest ), thumbnail_index , closest
189+ return self .state .thumbnail_template :format (closest ), thumbnail_index , closest
190190 else
191191 return nil , thumbnail_index , nil
192192 end
0 commit comments