Skip to content

Commit

Permalink
change playbackpath if it changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Runinho committed Jun 12, 2024
1 parent 8c66ed2 commit 993ec85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MusikMacher/components/ImportViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ private void LoadData(List<string> parents, string location, TrackContext db)
{
// we do nothing
// TODO: maybe check if the original location is still valid?
if (!Path.Exists(songExists.path))
{
logLoading($"file {songExists.path} moved to {filePath}");
songExists.path = filePath;
}
// TODO: do some hashing of the content???
if (tag != null)
{
Expand Down

0 comments on commit 993ec85

Please sign in to comment.