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