Release 1.0.0.12: genre normalization and album organization

This commit is contained in:
1xDed committed 2026-12-01 03:12:27 +03:00
1 parent 4bb222af8b
commit 7106023d49
11 files changed
+301 -17

No files matched your search

@@ -126,6 +126,11 @@
<label class="inputLabel inputLabelUnfocused" for="DurationToleranceSeconds">Допуск по длительности, сек</label>
<input id="DurationToleranceSeconds" type="number" is="emby-input" min="2" max="60" step="1" />
</div>
<div class="inputContainer">
<label class="inputLabel inputLabelUnfocused" for="OrganizeTargetPath">Папка для раскладки по альбомам</label>
<input id="OrganizeTargetPath" type="text" is="emby-input" />
<div class="fieldDescription">Куда задача «разложить по альбомам» создаст хардлинки. По умолчанию /movie/music-organized.</div>
</div>
</div>
<div>
@@ -205,6 +210,7 @@
document.querySelector('#UseYandexYear').checked = config.UseYandexYear;
document.querySelector('#MatchThreshold').value = config.MatchThreshold;
document.querySelector('#DurationToleranceSeconds').value = config.DurationToleranceSeconds;
document.querySelector('#OrganizeTargetPath').value = config.OrganizeTargetPath || '/movie/music-organized';
Dashboard.hideLoadingMsg();
ApiClient.ajax({
type: 'GET',
@@ -237,6 +243,7 @@
config.UseYandexYear = document.querySelector('#UseYandexYear').checked;
config.MatchThreshold = parseFloat(document.querySelector('#MatchThreshold').value) || 0.72;
config.DurationToleranceSeconds = parseInt(document.querySelector('#DurationToleranceSeconds').value, 10) || 12;
config.OrganizeTargetPath = document.querySelector('#OrganizeTargetPath').value || '/movie/music-organized';
ApiClient.updatePluginConfiguration(YandexMusicConfig.pluginId, config).then(function (result) {
Dashboard.processPluginConfigurationUpdateResult(result);
});