LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
Media::ITagsFetcher Class Referenceabstract

Interface for plugins fetching tags for untagged files. More...

#include "itagsfetcher.h"

Public Member Functions

virtual ~ITagsFetcher ()
 
virtual QFuture< AudioInfoFetchTags (const QString &filename)=0
 Requests fetching tags for the given file. More...
 

Detailed Description

Interface for plugins fetching tags for untagged files.

If a plugin is able to fetch tags from a tags database by, for example, an audio fingerprint (like AcoustID/MusicBrainz database) it should implement this interface.

Definition at line 46 of file itagsfetcher.h.

Constructor & Destructor Documentation

◆ ~ITagsFetcher()

virtual Media::ITagsFetcher::~ITagsFetcher ( )
inlinevirtual

Definition at line 49 of file itagsfetcher.h.

Member Function Documentation

◆ FetchTags()

virtual QFuture<AudioInfo> Media::ITagsFetcher::FetchTags ( const QString &  filename)
pure virtual

Requests fetching tags for the given file.

This function initiates a search for tags for the given file and returns a QFuture that can be used to obtain the results.

Parameters
[in]filenameThe name of the file to search tags for.
Returns
The QFuture with the tags corresponding to filename.

The documentation for this class was generated from the following file: