mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-18 19:54:26 +02:00
bring over relevant desktop settings
This commit is contained in:
@@ -50,6 +50,7 @@ import type {
|
||||
DbTrack
|
||||
} from '@/types/library';
|
||||
import type { Playlist } from '@/types/playlist';
|
||||
import { SETTINGS_SEARCH_ROUTES } from '@/components/search/settingsSearchRoutes';
|
||||
|
||||
type IconName = keyof typeof Ionicons.glyphMap;
|
||||
type RouteHref =
|
||||
@@ -60,8 +61,11 @@ type RouteHref =
|
||||
| '/settings/appearance'
|
||||
| '/settings/library'
|
||||
| '/settings/audio'
|
||||
| '/settings/playback'
|
||||
| '/settings/services'
|
||||
| '/settings/lyrics'
|
||||
| '/settings/experimental'
|
||||
| '/settings/troubleshooting'
|
||||
| '/settings/info'
|
||||
| '/sources'
|
||||
| '/lastfm';
|
||||
@@ -149,6 +153,14 @@ const SETTING_ENTRIES: {
|
||||
icon: 'volume-high',
|
||||
keywords: ['audio', 'normalization', 'replaygain', 'loudness', 'gain', 'target lufs'],
|
||||
},
|
||||
{
|
||||
id: 'setting:playback',
|
||||
label: 'Playback settings',
|
||||
subtitle: 'Sleep timer / end of track',
|
||||
href: SETTINGS_SEARCH_ROUTES.playback,
|
||||
icon: 'play-circle-outline',
|
||||
keywords: ['playback', 'sleep timer', 'timer', 'end of track', 'pause after track'],
|
||||
},
|
||||
{
|
||||
id: 'setting:library',
|
||||
label: 'Library settings',
|
||||
@@ -173,6 +185,14 @@ const SETTING_ENTRIES: {
|
||||
icon: 'server-outline',
|
||||
keywords: ['services', 'integrations', 'remote sources', 'scrobbling'],
|
||||
},
|
||||
{
|
||||
id: 'setting:lyrics',
|
||||
label: 'Lyrics settings',
|
||||
subtitle: 'XLRC / furigana / translations',
|
||||
href: SETTINGS_SEARCH_ROUTES.lyrics,
|
||||
icon: 'musical-notes-outline',
|
||||
keywords: ['lyrics', 'xlrc', 'word timing', 'furigana', 'translations', 'voice labels', 'lrclib', 'xlrcdb'],
|
||||
},
|
||||
{
|
||||
id: 'setting:sources',
|
||||
label: 'Remote sources',
|
||||
@@ -205,6 +225,14 @@ const SETTING_ENTRIES: {
|
||||
icon: 'information-circle-outline',
|
||||
keywords: ['info', 'about', 'version', 'license', 'attribution', 'github', 'repo', 'repository', 'discord', 'kofi', 'ko-fi', 'support', 'gpl'],
|
||||
},
|
||||
{
|
||||
id: 'setting:troubleshooting',
|
||||
label: 'Troubleshooting',
|
||||
subtitle: 'Rescan / rebuild / clear caches',
|
||||
href: SETTINGS_SEARCH_ROUTES.troubleshooting,
|
||||
icon: 'build-outline',
|
||||
keywords: ['troubleshooting', 'support', 'rescan', 'rebuild index', 'clear lyrics cache', 'clear waveform cache', 'onboarding'],
|
||||
},
|
||||
];
|
||||
|
||||
const EMPTY_SHORTCUT_IDS = ['nav:library', 'nav:eq', 'setting:sources', 'setting:lastfm'];
|
||||
|
||||
Reference in New Issue
Block a user