Added setting to choose whether to scrobble or not on rewatches
This commit is contained in:
@@ -14,7 +14,8 @@ namespace Jellyfin.Plugin.AnilistSync.Configuration
|
||||
{
|
||||
ScrobbleMovies = true;
|
||||
ScrobbleShows = true;
|
||||
ScrobblePercentage = 70;
|
||||
ScrobbleRewatches = true;
|
||||
ScrobblePercentage = 80;
|
||||
ScrobbleNowWatchingPercentage = 5;
|
||||
MinLength = 5;
|
||||
UserToken = string.Empty; // Todo: check if token is still valid
|
||||
@@ -31,6 +32,8 @@ namespace Jellyfin.Plugin.AnilistSync.Configuration
|
||||
/// </summary>
|
||||
public bool ScrobbleShows { get; set; }
|
||||
|
||||
public bool ScrobbleRewatches { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets scrobble percentage.
|
||||
/// </summary>
|
||||
|
||||
@@ -78,6 +78,13 @@
|
||||
Percentage watched needed to scrobble
|
||||
</div>
|
||||
</div>
|
||||
<div class="checkboxcontainer">
|
||||
<label>
|
||||
<input is="emby-checkbox" type="checkbox" id="ScrobbleRewatches"/>
|
||||
<span>Autoscrobbling Rewatches</span>
|
||||
</label>
|
||||
</div>
|
||||
<br>
|
||||
<button is="emby-button" type="submit" class="raised button-submit block"><span>${Save}</span>
|
||||
</button>
|
||||
<button is="emby-button" type="button" class="raised block" onclick="history.back();"><span>${Cancel}</span>
|
||||
|
||||
Reference in New Issue
Block a user