#include <metadb.h>
Advanced interface for passing infos read from files to metadb backend. Use metadb_io_v2::create_hint_list() to instantiate.
Definition at line 77 of file metadb.h.
virtual void metadb_hint_list::add_hint |
( |
metadb_handle_ptr const & |
p_location, |
|
|
const file_info & |
p_info, |
|
|
const t_filestats & |
p_stats, |
|
|
bool |
p_freshflag |
|
) |
| |
|
pure virtual |
Adds a hint to the list.
- Parameters
-
p_location | Location of the item the hint applies to. |
p_info | file_info object describing the item. |
p_stats | Information about the file containing item the hint applies to. |
p_freshflag | Set to true if the info has been directly read from the file, false if it comes from another source such as a playlist file. |
Reads info from specified info reader instance and adds hints. May throw an exception in case info read has failed.
virtual void metadb_hint_list::on_done |
( |
| ) |
|
|
pure virtual |
Call this when you're done working with this metadb_hint_list instance, to apply hints and dispatch callbacks. If you don't call this, all added hints will be ignored.
The documentation for this class was generated from the following file: