minor changes
This commit is contained in:
@@ -467,6 +467,9 @@ String DirectoryNode::getCurrentPlayingFilePath() const
|
||||
if (currentPlaying != nullptr)
|
||||
{
|
||||
String filePath = name;
|
||||
if (!filePath.startsWith("/")) {
|
||||
filePath = "/"+filePath;
|
||||
}
|
||||
if (!filePath.endsWith("/"))
|
||||
{
|
||||
filePath += "/";
|
||||
|
||||
Reference in New Issue
Block a user