[vlc-commits] cue.lua: improve probing
    Pierre Ynard 
    git at videolan.org
       
    Wed Oct 26 12:11:47 CEST 2016
    
    
  
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Oct 26 12:10:42 2016 +0200| [8c5e3a90b958fd842252516f3751fad7ae11ce16] | committer: Pierre Ynard
cue.lua: improve probing
Ref. #17488
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8c5e3a90b958fd842252516f3751fad7ae11ce16
---
 share/lua/playlist/cue.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/lua/playlist/cue.lua b/share/lua/playlist/cue.lua
index 1b48949..71b37e7 100644
--- a/share/lua/playlist/cue.lua
+++ b/share/lua/playlist/cue.lua
@@ -21,7 +21,7 @@
 
 -- Probe function.
 function probe()
-    if( not string.match( string.upper( vlc.path ), ".CUE$" ) ) then
+    if( not string.match( vlc.path, "%.[cC][uU][eE]$" ) ) then
         return false
     end
     header = vlc.peek( 2048 )
    
    
More information about the vlc-commits
mailing list