void read(const service_ptr_t< file > &p_file, abort_callback &p_abort, pfc::string_base &p_out, bool &is_utf8)
void write_id3v1(const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
Strips all recognized tags from the file and writes an ID3v1 tag with specified info.
bool open_temp_file(service_ptr_t< file > &p_out, abort_callback &p_abort)
Called only once per operation (or not called at all when operation being performed can be done in-pl...
void write_id3v2_id3v1(const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
Strips all recognized tags from the file and writes ID3v1+ID3v2 tags with specified info...
void remove_id3v2_trailing(const service_ptr_t< file > &p_file, abort_callback &p_abort)
Removes ID3v2 and trailing tags from specified file (not to be confused with trailing ID3v2 which are...
For internal use - call tag_processor namespace methods instead.
void read_trailing(const service_ptr_t< file > &p_file, file_info &p_info, abort_callback &p_abort)
Reads trailing tags from the file.
Callback interface for write-tags-to-temp-file-and-swap scheme, used for ID3v2 tag updates and such w...
void write_multi_ex(tag_write_callback &p_callback, const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort, bool p_write_id3v1, bool p_write_id3v2, bool p_write_apev2)
Strips all recognized tags from the file and writes new tags with specified info according to paramet...
void write_apev2(const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
Strips all recognized tags from the file and writes an APEv2 tag with specified info.
void write_id3v2(const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
Strips all recognized tags from the file and writes an ID3v2 tag with specified info.
tag_write_callback(const tag_write_callback &)
void write_apev2_id3v1(const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
Strips all recognized tags from the file and writes ID3v1+APEv2 tags with specified info...
void read_trailing_ex(const service_ptr_t< file > &p_file, file_info &p_info, t_filesize &p_tagoffset, abort_callback &p_abort)
Reads trailing tags from the file. Extended version, returns offset at which parsed tags start...
Main interface class for information about some playable object.
void remove_trailing(const service_ptr_t< file > &p_file, abort_callback &p_abort)
Removes trailing tags from the file.
PFC_DECLARE_EXCEPTION(exception_tag_not_found, exception_io_data,"Tag not found")
const tag_write_callback & operator=(const tag_write_callback &)
void read_id3v2(const service_ptr_t< file > &p_file, file_info &p_info, abort_callback &p_abort)
Reads ID3v2 tags from specified file.
For internal use - call tag_processor namespace methods instead.
bool remove_id3v2(const service_ptr_t< file > &p_file, abort_callback &p_abort)
Removes ID3v2 tags from the file. Returns true when a tag was removed, false when the file was not al...
void truncate_to_id3v1(file_info &p_info)
bool is_id3v1_sufficient(const file_info &p_info)
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
void write(const service_ptr_t< file > &p_file, abort_callback &p_abort, const char *p_string, bool is_utf8)
void skip_id3v2(const service_ptr_t< file > &p_file, t_filesize &p_size_skipped, abort_callback &p_abort)
t_uint64 t_filesize
Type used for file size related variables.
void read_id3v2_trailing(const service_ptr_t< file > &p_file, file_info &p_info, abort_callback &p_abort)
Reads ID3v2 and trailing tags from specified file (not to be confused with trailing ID3v2 which are n...
void write_multi(const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort, bool p_write_id3v1, bool p_write_id3v2, bool p_write_apev2)
Strips all recognized tags from the file and writes new tags with specified info according to paramet...