Provide a warning about cache option
This commit is contained in:
parent
f670e76744
commit
d7c587694f
@ -68,6 +68,8 @@
|
|||||||
<div class="fieldDescription">
|
<div class="fieldDescription">
|
||||||
If checked, episode fingerprints will be cached to the filesystem
|
If checked, episode fingerprints will be cached to the filesystem
|
||||||
<br />
|
<br />
|
||||||
|
<strong>WARNING: Disabling cache may result in lengthy detection</strong>
|
||||||
|
<br />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -333,8 +333,6 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
|||||||
// Parts of this code are based off of JellyScrub's script injection code.
|
// Parts of this code are based off of JellyScrub's script injection code.
|
||||||
// https://github.com/nicknsy/jellyscrub/blob/4ce806f602988a662cfe3cdbaac35ee8046b7ec4/Nick.Plugin.Jellyscrub/JellyscrubPlugin.cs
|
// https://github.com/nicknsy/jellyscrub/blob/4ce806f602988a662cfe3cdbaac35ee8046b7ec4/Nick.Plugin.Jellyscrub/JellyscrubPlugin.cs
|
||||||
|
|
||||||
_logger.LogInformation("Adding skip button to {Path}", indexPath);
|
|
||||||
|
|
||||||
_logger.LogDebug("Reading index.html from {Path}", indexPath);
|
_logger.LogDebug("Reading index.html from {Path}", indexPath);
|
||||||
var contents = File.ReadAllText(indexPath);
|
var contents = File.ReadAllText(indexPath);
|
||||||
_logger.LogDebug("Successfully read index.html");
|
_logger.LogDebug("Successfully read index.html");
|
||||||
@ -358,6 +356,6 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
|||||||
_logger.LogDebug("Saving modified file");
|
_logger.LogDebug("Saving modified file");
|
||||||
File.WriteAllText(indexPath, contents);
|
File.WriteAllText(indexPath, contents);
|
||||||
|
|
||||||
_logger.LogInformation("Skip intro button successfully added to web interface");
|
_logger.LogInformation("Skip intro button successfully added");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user