Commit 846bb6fe authored by Rémi Duraffort's avatar Rémi Duraffort

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

parent 5e567ccf
/***************************************************************************** /*****************************************************************************
* taglib.cpp: Taglib tag parser/writer * taglib.cpp: Taglib tag parser/writer
***************************************************************************** *****************************************************************************
* Copyright (C) 2003-2008 the VideoLAN team * Copyright (C) 2003-2009 the VideoLAN team
* $Id$ * $Id$
* *
* Authors: Clément Stenac <zorglub@videolan.org> * Authors: Clément Stenac <zorglub@videolan.org>
...@@ -68,15 +68,11 @@ ...@@ -68,15 +68,11 @@
// Local functions // Local functions
static int ReadMeta ( vlc_object_t * ); static int ReadMeta ( vlc_object_t * );
static int DownloadArt ( vlc_object_t * );
static int WriteMeta ( vlc_object_t * ); static int WriteMeta ( vlc_object_t * );
vlc_module_begin () vlc_module_begin ()
set_capability( "meta reader", 1000 ) set_capability( "meta reader", 1000 )
set_callbacks( ReadMeta, NULL ) set_callbacks( ReadMeta, NULL )
add_submodule ()
set_capability( "art downloader", 50 )
set_callbacks( DownloadArt, NULL )
add_submodule () add_submodule ()
set_capability( "meta writer", 50 ) set_capability( "meta writer", 50 )
set_callbacks( WriteMeta, NULL ) set_callbacks( WriteMeta, NULL )
...@@ -653,13 +649,3 @@ static int WriteMeta( vlc_object_t *p_this ) ...@@ -653,13 +649,3 @@ static int WriteMeta( vlc_object_t *p_this )
return VLC_SUCCESS; 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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment