Skip to content

Commit

Permalink
Dont create media dir that is invalid in xsq xLightsSequencer#5087
Browse files Browse the repository at this point in the history
  • Loading branch information
derwin12 committed Jan 7, 2025
1 parent cec6785 commit 8f62949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xLights/SequencePackage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ void SequencePackage::Extract()
if (ext == "xsq") {
_xsqFile = fnOutput;
_xsqName = fnOutput.GetName();
_xsqName.erase(std::remove(_xsqName.begin(), _xsqName.end(), ','), _xsqName.end());
} else if (ext == "xml") {
if (fnOutput.GetName() == "xlights_rgbeffects") {
wxXmlDocument rgbEffects;
Expand All @@ -230,6 +231,7 @@ void SequencePackage::Extract()
if (doc.GetRoot()->GetName() == "xsequence") {
_xsqFile = fnOutput;
_xsqName = fnOutput.GetName();
_xsqName.erase(std::remove(_xsqName.begin(), _xsqName.end(), ','), _xsqName.end());
}
}
}
Expand Down

0 comments on commit 8f62949

Please sign in to comment.