rsked/respath.cc
/// Specify the playlist directory.
/// * May throw if cannot canonicalize
///
Specify the playlist directory.
May throw if cannot canonicalize
Specify the playlist directory . May throw if cannot canonicalize
void ResPathSpec::set_playlist_base(const fs::path &base)
{
    fs::path xbase = expand_home( base );
    try {
        m_playlist_path = fs::canonical( xbase );
    }
    catch(const fs::filesystem_error &fse) {
        LOG_ERROR(Lgr) << "ResPathSpec bad playlist base " << base;
        throw;
    }
    LOG_INFO(Lgr) << "Play lists:    " << m_playlist_path;
}
void ResPathSpec :: set_playlist_base ( const fs :: path & base ) { fs :: path xbase = expand_home ( base ) ; try { m_playlist_path = fs :: canonical ( xbase ) ; } catch ( const fs :: filesystem_error & fse ) { LOG_ERROR ( Lgr ) << " " << base ; throw ; } LOG_INFO ( Lgr ) << " " << m_playlist_path ; }
Specify the playlist directory.
Specify the playlist directory .