20 #ifndef MPD_LIGHT_SONG_HXX
21 #define MPD_LIGHT_SONG_HXX
80 if (directory ==
nullptr)
81 return std::string(uri);
83 std::string result(directory);
84 result.push_back(
'/');
The meta information about a song file.
A time stamp within a song.
gcc_pure SignedSongTime GetDuration() const
gcc_pure std::string GetURI() const
const char * directory
If this is not nullptr, then it denotes a prefix for the uri.
SongTime start_time
Start of this sub-song within the file.
const char * real_uri
The "real" URI, the one to be used for opening the resource.
SongTime end_time
End of this sub-song within the file.
const Tag * tag
Must not be nullptr.
A variant of SongTime that is based on a signed integer.
A reference to a song file.