Sayonara Player
Loading...
Searching...
No Matches
Cover::AlternativeLookup Class Reference

The CoverLookupAlternative class. More...

#include <CoverLookupAlternative.h>

Inheritance diagram for Cover::AlternativeLookup:
Cover::LookupBase

Public Types

enum  SearchMode {
  Fulltext ,
  Default
}

Signals

void sigCoverChanged (const Cover::Location &cl)
void sigCoverfetchersChanged ()
void sigCoverFound (const QPixmap &pm)
void sigFinished (bool success)
void sigStarted ()

Public Member Functions

 AlternativeLookup (const Cover::Location &coverLocation, int n_covers, bool silent, QObject *parent)
void start ()
void start (const QString &cover_fetcher_identifier)
void startTextSearch (const QString &search_term)
void startTextSearch (const QString &search_term, const QString &cover_fetcher_identifier)
void stop () override
void reset ()
bool save (const QPixmap &pm, bool save_to_library)
bool isRunning () const
bool isSilent () const
 silent results that the cover is not stored productively. The AlternativeCoverFetcher will save the cover to a temporary path which can be re- trieved by Cover::Location::alternative_path()
QStringList activeCoverfetchers (SearchMode mode) const
Location coverLocation () const
void setCoverLocation (const Location &cl)

Detailed Description

The CoverLookupAlternative class.

Member Function Documentation

◆ stop()

void Cover::AlternativeLookup::stop ( )
overridevirtual

Implements Cover::LookupBase.