Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last track length not calculated automatically during import #315

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading