|
|
@ -297,8 +297,8 @@ export function cleanServiceGroups(groups) {
|
|
|
|
if (wan) cleanedService.widget.wan = wan;
|
|
|
|
if (wan) cleanedService.widget.wan = wan;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (type === "emby" || type === "jellyfin") {
|
|
|
|
if (type === "emby" || type === "jellyfin") {
|
|
|
|
if (enableBlocks !== undefined) cleanedService.widget.enableBlocks = enableBlocks;
|
|
|
|
if (enableBlocks !== undefined) cleanedService.widget.enableBlocks = JSON.parse(enableBlocks);
|
|
|
|
if (enableNowPlaying !== undefined) cleanedService.widget.enableNowPlaying = enableNowPlaying;
|
|
|
|
if (enableNowPlaying !== undefined) cleanedService.widget.enableNowPlaying = JSON.parse(enableNowPlaying);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (type === "diskstation") {
|
|
|
|
if (type === "diskstation") {
|
|
|
|
if (volume) cleanedService.widget.volume = volume;
|
|
|
|
if (volume) cleanedService.widget.volume = volume;
|
|
|
|