Version 0.0.0.2
This commit is contained in:
parent
c27087f6af
commit
552a1fdf53
@ -3,8 +3,8 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<RootNamespace>ConfusedPolarBear.Plugin.IntroSkipper</RootNamespace>
|
<RootNamespace>ConfusedPolarBear.Plugin.IntroSkipper</RootNamespace>
|
||||||
<AssemblyVersion>0.0.0.1</AssemblyVersion>
|
<AssemblyVersion>0.0.0.2</AssemblyVersion>
|
||||||
<FileVersion>0.0.0.1</FileVersion>
|
<FileVersion>0.0.0.2</FileVersion>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
@ -202,7 +202,7 @@ public class FingerprinterTask : IScheduledTask
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: add retry logic
|
// TODO: add retry logic
|
||||||
var alreadyDone = Plugin.Instance!.Intros;
|
var alreadyDone = Plugin.Instance!.Intros;
|
||||||
if (alreadyDone.ContainsKey(lhs.EpisodeId) && alreadyDone.ContainsKey(rhs.EpisodeId))
|
if (alreadyDone.ContainsKey(lhs.EpisodeId) && alreadyDone.ContainsKey(rhs.EpisodeId))
|
||||||
{
|
{
|
||||||
@ -586,8 +586,11 @@ public class FingerprinterTask : IScheduledTask
|
|||||||
|
|
||||||
var oldDuration = GetIntroDuration(episode.EpisodeId);
|
var oldDuration = GetIntroDuration(episode.EpisodeId);
|
||||||
|
|
||||||
// TODO: remove
|
var shortPath = episode.Path;
|
||||||
var shortPath = episode.Path.Substring(episode.Path.Length - 40);
|
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 the episode's intro duration is close enough to the targeted bucket, leave it alone.
|
||||||
if (Math.Abs(lhsDuration - oldDuration) <= ReanalysisTolerance)
|
if (Math.Abs(lhsDuration - oldDuration) <= ReanalysisTolerance)
|
||||||
@ -629,8 +632,7 @@ public class FingerprinterTask : IScheduledTask
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: change to debug
|
_logger.LogDebug(
|
||||||
_logger.LogInformation(
|
|
||||||
"Reanalysis succeeded for {Path} (was {Initial}, now is {New})",
|
"Reanalysis succeeded for {Path} (was {Initial}, now is {New})",
|
||||||
shortPath,
|
shortPath,
|
||||||
oldDuration,
|
oldDuration,
|
||||||
|
@ -15,6 +15,14 @@
|
|||||||
"sourceUrl": "https://github.com/ConfusedPolarBear/intro-skipper/releases/download/v0.0.1/intro-skipper-v0.0.1.zip",
|
"sourceUrl": "https://github.com/ConfusedPolarBear/intro-skipper/releases/download/v0.0.1/intro-skipper-v0.0.1.zip",
|
||||||
"checksum": "4b0e4ae45d09ecd9014a4986f3095ce4",
|
"checksum": "4b0e4ae45d09ecd9014a4986f3095ce4",
|
||||||
"timestamp": "2022-05-10T07:57:11Z"
|
"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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user