Browse Source

meta_fetcher: rename as scope and set values

pull/21/head
Francois Cartegnie 12 years ago
parent
commit
44c6d7926c
  1. 8
      include/vlc_input_item.h
  2. 6
      include/vlc_meta_fetcher.h
  3. 2
      modules/gui/qt4/input_manager.cpp

8
include/vlc_input_item.h

@ -293,10 +293,10 @@ VLC_API void input_item_Release(input_item_t *);
typedef enum input_item_meta_request_option_t
{
META_REQUEST_OPTION_NONE = 0,
META_REQUEST_OPTION_LOCAL = 1 << 0,
META_REQUEST_OPTION_NETWORK = 1 << 1,
META_REQUEST_OPTION_ANY = 1 << 2
META_REQUEST_OPTION_NONE = 0x00,
META_REQUEST_OPTION_SCOPE_LOCAL = 0x01,
META_REQUEST_OPTION_SCOPE_NETWORK = 0x02,
META_REQUEST_OPTION_SCOPE_ANY = 0x03
} input_item_meta_request_option_t;
VLC_API int libvlc_MetaRequest(libvlc_int_t *, input_item_t *,

6
include/vlc_meta_fetcher.h

@ -23,9 +23,9 @@
typedef enum meta_fetcher_scope_t
{
FETCHER_SCOPE_LOCAL,
FETCHER_SCOPE_NETWORK,
FETCHER_SCOPE_ANY
FETCHER_SCOPE_LOCAL = 0x01,
FETCHER_SCOPE_NETWORK = 0x02,
FETCHER_SCOPE_ANY = 0x03
} meta_fetcher_scope_t;
typedef struct meta_fetcher_t

2
modules/gui/qt4/input_manager.cpp

@ -684,7 +684,7 @@ void InputManager::requestArtUpdate( input_item_t *p_item, bool b_forced )
return;
}
libvlc_ArtRequest( p_intf->p_libvlc, p_item,
(b_forced) ? META_REQUEST_OPTION_ANY
(b_forced) ? META_REQUEST_OPTION_SCOPE_ANY
: META_REQUEST_OPTION_NONE );
/* No input will signal the cover art to update,
* let's do it ourself */

Loading…
Cancel
Save