Version 0.0.0.2

This commit is contained in:
ConfusedPolarBear 2022-05-21 16:34:14 -05:00
parent c27087f6af
commit 552a1fdf53
3 changed files with 17 additions and 7 deletions

View File

@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>ConfusedPolarBear.Plugin.IntroSkipper</RootNamespace>
<AssemblyVersion>0.0.0.1</AssemblyVersion>
<FileVersion>0.0.0.1</FileVersion>
<AssemblyVersion>0.0.0.2</AssemblyVersion>
<FileVersion>0.0.0.2</FileVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>

View File

@ -202,7 +202,7 @@ public class FingerprinterTask : IScheduledTask
break;
}
// FIXME: add retry logic
// TODO: add retry logic
var alreadyDone = Plugin.Instance!.Intros;
if (alreadyDone.ContainsKey(lhs.EpisodeId) && alreadyDone.ContainsKey(rhs.EpisodeId))
{
@ -586,8 +586,11 @@ public class FingerprinterTask : IScheduledTask
var oldDuration = GetIntroDuration(episode.EpisodeId);
// TODO: remove
var shortPath = episode.Path.Substring(episode.Path.Length - 40);
var shortPath = episode.Path;
if (shortPath.Length > 40)
{
shortPath = shortPath.Substring(episode.Path.Length - 40);
}
// If the episode's intro duration is close enough to the targeted bucket, leave it alone.
if (Math.Abs(lhsDuration - oldDuration) <= ReanalysisTolerance)
@ -629,8 +632,7 @@ public class FingerprinterTask : IScheduledTask
continue;
}
// TODO: change to debug
_logger.LogInformation(
_logger.LogDebug(
"Reanalysis succeeded for {Path} (was {Initial}, now is {New})",
shortPath,
oldDuration,

View File

@ -15,6 +15,14 @@
"sourceUrl": "https://github.com/ConfusedPolarBear/intro-skipper/releases/download/v0.0.1/intro-skipper-v0.0.1.zip",
"checksum": "4b0e4ae45d09ecd9014a4986f3095ce4",
"timestamp": "2022-05-10T07:57:11Z"
},
{
"version": "0.0.0.2",
"changelog": "- decrease audio fingerprint comparison time\n- analyze two seasons simultaneously",
"targetAbi": "10.8.0.0",
"sourceUrl": "https://github.com/ConfusedPolarBear/intro-skipper/releases/download/v0.0.2/intro-skipper-v0.0.2.zip",
"checksum": "83c3e3618a6c37c2767e5bfea64ef515",
"timestamp": "2022-05-22T00:05:12Z"
}
]
}