Add internet radio (#1384)

This commit is contained in:
Jeff
2025-12-13 21:26:33 -08:00
committed by GitHub
parent f61d34c340
commit 7ed847fecb
46 changed files with 2229 additions and 118 deletions
+16 -1
View File
@@ -639,6 +639,12 @@ export const sidebarItems: SidebarItemType[] = [
label: i18n.t('page.sidebar.playlists'),
route: AppRoute.PLAYLISTS,
},
{
disabled: false,
id: 'Radio',
label: i18n.t('page.sidebar.radio'),
route: AppRoute.RADIO,
},
{
disabled: true,
id: 'Settings',
@@ -1500,10 +1506,19 @@ export const useSettingsStore = createWithEqualityFn<SettingsSlice>()(
state.lists['sidequeue']?.table.columns.push(...columns);
}
if (version <= 15) {
state.general.sidebarItems.push({
disabled: false,
id: 'Radio',
label: i18n.t('page.sidebar.radio'),
route: AppRoute.RADIO,
});
}
return persistedState;
},
name: 'store_settings',
version: 15,
version: 16,
},
),
);