-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed removal of property "part" and "movement"
- Loading branch information
Showing
9 changed files
with
83 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
*/obj/ | ||
*/bin/ | ||
*/tmp/ | ||
*/var/ | ||
!*/var/*.gitkeep | ||
*/dist/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Sandreas.AudioMetadata\Sandreas.AudioMetadata.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="tmp\" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// See https://aka.ms/new-console-template for more information | ||
|
||
using ATL; | ||
using Sandreas.AudioMetadata; | ||
|
||
|
||
var src = "/home/andreas/projects/DotnetLibAudioMetadata/CliTester/samples/sample.mp3"; | ||
var dst = "/home/andreas/projects/DotnetLibAudioMetadata/CliTester/tmp/sample.mp3"; | ||
/* | ||
if (File.Exists(dst)) | ||
{ | ||
File.Delete(dst); | ||
} | ||
File.Copy( | ||
src, | ||
dst | ||
); | ||
*/ | ||
/* | ||
var track = new Track(dst); | ||
track.AdditionalFields.Clear(); | ||
track.SeriesPart = null; | ||
await track.SaveAsync(); | ||
return await Task.FromResult(0); | ||
*/ | ||
|
||
var track = new MetadataTrack(dst); | ||
|
||
track.RemoveMetadataPropertyValue(MetadataProperty.Part); | ||
await track.SaveAsync(); | ||
return await Task.FromResult(0); |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters