Skip to content

Commit

Permalink
Merge pull request #315 from NeoCoderMatrix86/312-last-track-length-n…
Browse files Browse the repository at this point in the history
…ot-calculated-automatically-during-import

Last track length not calculated automatically during import
  • Loading branch information
NeoCoderMatrix86 authored Mar 26, 2024
2 parents 6220d55 + 4a04e9c commit 4f6978c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
dotnet-version: '7.0.101'

- name: Install wasm-tools
run: dotnet workload install wasm-tools
run: dotnet workload install wasm-tools-net7

# Only publish when unit tests are ok
- name: Run Unit Tests
Expand Down
2 changes: 1 addition & 1 deletion AudioCuesheetEditor/Model/IO/Import/TextImportScheme.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static TextImportScheme()
}

public static readonly String DefaultSchemeCuesheet = @"(?'Cuesheet.Artist'\A.*) - (?'Cuesheet.Title'\w{1,})\t{1,}(?'Cuesheet.Audiofile'.{1,})";
public static readonly String DefaultSchemeTracks = @"(?'Track.Artist'[a-zA-Z0-9_ .();äöü&:,'*-]{1,}) - (?'Track.Title'[a-zA-Z0-9_ .();äöü&'*-]{1,})\t{0,}(?'Track.End'.{1,})";
public static readonly String DefaultSchemeTracks = @"(?'Track.Artist'[a-zA-Z0-9_ .();äöü&:,'*-?:]{1,}) - (?'Track.Title'[a-zA-Z0-9_ .();äöü&'*-?:]{1,})\t{0,}(?'Track.End'.{1,})";

public static readonly TextImportScheme DefaultTextImportScheme = new()
{
Expand Down
4 changes: 3 additions & 1 deletion AudioCuesheetEditor/Shared/TracksTable.razor
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,8 @@ along with Foobar. If not, see
{
foreach (var trackCurrentlyAttached in TracksAttachedToValidateablePropertyChanged)
{
trackCurrentlyAttached.ValidateablePropertyChanged -= Track_ValidateablePropertyChanged; }
trackCurrentlyAttached.ValidateablePropertyChanged -= Track_ValidateablePropertyChanged;
}
}
else
{
Expand All @@ -759,6 +760,7 @@ along with Foobar. If not, see
{
validations.ValidateAll().GetAwaiter().GetResult();
}
StateHasChanged();
}

void AttachCuesheetToSplitPointsAddedRemoved()
Expand Down

0 comments on commit 4f6978c

Please sign in to comment.