Sayonara Player
Functions
Cover::LocalSearcher Namespace Reference

Detailed Description

Helper Namespace for finding covers in a specific directory.

Functions

QStringList cover_paths_from_filename (const QString &filename)
 Extracts dirname and calls get_local_cover_paths_from_dirname. More...
 
QStringList cover_paths_from_dirname (const QString &dirname)
 Searches the best cover by name from the directory. More...
 

Function Documentation

◆ cover_paths_from_dirname()

QStringList Cover::LocalSearcher::cover_paths_from_dirname ( const QString &  dirname)

Searches the best cover by name from the directory.

Parameters
dirnamedirectory where to search the cover
Returns
Paths for all covers in that directory

◆ cover_paths_from_filename()

QStringList Cover::LocalSearcher::cover_paths_from_filename ( const QString &  filename)

Extracts dirname and calls get_local_cover_paths_from_dirname.

Parameters
filenamefilename of a file within the same directory. E.g. a mp3 file
Returns
Paths for all covers in that directory