]> git.sesse.net Git - vlc/commitdiff
taglib: remove a dummy sub-module (taglib can't act as an "art downloader").
authorRémi Duraffort <ivoire@videolan.org>
Mon, 9 Feb 2009 13:46:20 +0000 (14:46 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 9 Feb 2009 13:46:20 +0000 (14:46 +0100)
modules/meta_engine/taglib.cpp

index 9a73d7b5d219c13087cda2dea06e8019272a2cdd..504835a602ba8abd7f19bccf624ed9345177836e 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * taglib.cpp: Taglib tag parser/writer
  *****************************************************************************
- * Copyright (C) 2003-2008 the VideoLAN team
+ * Copyright (C) 2003-2009 the VideoLAN team
  * $Id$
  *
  * Authors: Clément Stenac <zorglub@videolan.org>
 
 // Local functions
 static int ReadMeta    ( vlc_object_t * );
-static int DownloadArt ( vlc_object_t * );
 static int WriteMeta   ( vlc_object_t * );
 
 vlc_module_begin ()
     set_capability( "meta reader", 1000 )
     set_callbacks( ReadMeta, NULL )
-    add_submodule ()
-        set_capability( "art downloader", 50 )
-        set_callbacks( DownloadArt, NULL )
     add_submodule ()
         set_capability( "meta writer", 50 )
         set_callbacks( WriteMeta, NULL )
@@ -653,13 +649,3 @@ static int WriteMeta( vlc_object_t *p_this )
     return VLC_SUCCESS;
 }
 
-
-
-static int DownloadArt( vlc_object_t *p_this )
-{
-    /* We need to be passed the file name
-     * Fetch the thing from the file, save it to the cache folder
-     */
-    return VLC_EGENERIC;
-}
-