pianod2
multisource multiuser scriptable networked music player
Classes | Functions | Variables
Filesystem Namespace Reference

Classes for playing local media files stored within a directory hierarchy. More...

Classes

class  Artist
 Artist customization for filesystem library & source. More...
 
class  Album
 Album customization for filesystem library & source. More...
 
class  Song
 Song customization for filesystem library & source. More...
 
struct  Parameters
 Source parameters for filesystem source. More...
 
class  Library
 Filesystem-specific media library. More...
 
class  Source
 Source for filesystem media. More...
 

Functions

static void remove_path (std::string &path, const std::string &component)
 Handle path reduction by stripping a partial path off a complete path, if the two match. More...
 

Variables

static MusicLibrary::Allocator< Artist, MusicLibrary::Foundationartist_allocate
 
static MusicLibrary::Allocator< Album, MusicLibrary::Artistalbum_allocate
 
static MusicLibrary::Allocator< Song, MusicLibrary::Albumsong_allocate
 

Detailed Description

Classes for playing local media files stored within a directory hierarchy.

Function Documentation

◆ remove_path()

static void Filesystem::remove_path ( std::string &  path,
const std::string &  component 
)
static

Handle path reduction by stripping a partial path off a complete path, if the two match.

If not, do nothing.

Parameters
pathA complete path. Modified to remove the partial path, if matching.
componentA partial path.
Here is the caller graph for this function:

Variable Documentation

◆ album_allocate

MusicLibrary::Allocator<Album, MusicLibrary::Artist> Filesystem::album_allocate
static

◆ artist_allocate

MusicLibrary::Allocator<Artist, MusicLibrary::Foundation> Filesystem::artist_allocate
static

◆ song_allocate

MusicLibrary::Allocator<Song, MusicLibrary::Album> Filesystem::song_allocate
static