]> git.sesse.net Git - vlc/blobdiff - modules/meta_engine/taglib.cpp
taglib: only try to read local files
[vlc] / modules / meta_engine / taglib.cpp
index 7beab4476d4a75da6272cd48a3cdcbbd7f2de4a7..198d14476f0d5e2e5a10b8a58c7dfcc6ec856eb3 100644 (file)
@@ -335,6 +335,8 @@ static int ReadMeta( vlc_object_t* p_this)
     p_demux_meta->p_meta = NULL;
     if( !psz_path )
         return VLC_ENOMEM;
+    if( strncmp( p_demux->psz_access, "file", strlen("file") ) )
+        return VLC_EGENERIC;
 
 
 #if defined(WIN32) || defined (UNDER_CE)