[vlc-devel] commit: taglib: remove a dummy sub-module (taglib can't act as an " art downloader"). ( Rémi Duraffort )

git version control git at videolan.org
Mon Feb 9 14:47:50 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Feb  9 14:46:20 2009 +0100| [846bb6fe9944a8ddb1f75e4cc42d3ff1d0343d94] | committer: Rémi Duraffort 

taglib: remove a dummy sub-module (taglib can't act as an "art downloader").

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=846bb6fe9944a8ddb1f75e4cc42d3ff1d0343d94
---

 modules/meta_engine/taglib.cpp |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index 9a73d7b..504835a 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -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 at videolan.org>
@@ -68,16 +68,12 @@
 
 // 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 )
 vlc_module_end ()
@@ -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;
-}
-




More information about the vlc-devel mailing list