1#[derive(Debug, Eq, PartialEq, Clone, Copy, Hash)]
4pub enum Id {
5 ConfigEditor(IdConfigEditor),
6 DBListCriteria,
7 DBListSearchResult,
8 DBListSearchTracks,
9 DeleteConfirmRadioPopup,
10 DeleteConfirmInputPopup,
11 DownloadSpinner,
12 Episode,
13 ErrorPopup,
14 GeneralSearchInput,
15 GeneralSearchTable,
16 GlobalListener,
17 HelpPopup,
18 Label,
19 Library,
20 Lyric,
21 MessagePopup,
22 Playlist,
23 Podcast,
24 PodcastAddPopup,
25 PodcastSearchTablePopup,
26 FeedDeleteConfirmRadioPopup,
27 FeedDeleteConfirmInputPopup,
28 Progress,
29 QuitPopup,
30 SavePlaylistPopup,
31 SavePlaylistLabel,
32 SavePlaylistConfirm,
33 TagEditor(IdTagEditor),
34 YoutubeSearchInputPopup,
35 YoutubeSearchTablePopup,
36 DatabaseAddConfirmPopup,
37}
38
39#[derive(Debug, Eq, PartialEq, Clone, Copy, Hash)]
40pub enum IdTagEditor {
41 CounterDelete,
42 LabelHint,
43 InputArtist,
44 InputTitle,
45 InputAlbum,
46 InputGenre,
47 SelectLyric,
48 TableLyricOptions,
49 TextareaLyric,
50}
51
52#[derive(Debug, Eq, PartialEq, Clone, Copy, Hash)]
53pub enum IdConfigEditor {
54 AlbumPhotoAlign,
55 CEThemeSelect,
56 ConfigSavePopup,
57 ExitConfirmation,
58 ExtraYtdlpArgs,
59 Footer,
60 Header,
61 Key(IdKey),
62 KillDamon,
63
64 LibraryBackground,
65 LibraryBorder,
66 LibraryForeground,
67 LibraryHighlight,
68 LibraryHighlightSymbol,
69 LibraryLabel,
70
71 LyricBackground,
72 LyricBorder,
73 LyricForeground,
74 LyricLabel,
75
76 MusicDir,
77 PlayerPort,
78 PlayerUseDiscord,
79 PlayerUseMpris,
80
81 PlaylistBackground,
82 PlaylistBorder,
83 PlaylistDisplaySymbol,
84 PlaylistForeground,
85 PlaylistHighlight,
86 PlaylistHighlightSymbol,
87 PlaylistLabel,
88 PlaylistRandomAlbum,
89 PlaylistRandomTrack,
90
91 CurrentlyPlayingTrackSymbol,
92
93 PodcastDir,
94 PodcastMaxRetries,
95 PodcastSimulDownload,
96
97 ProgressBackground,
98 ProgressBorder,
99 ProgressForeground,
100 ProgressLabel,
101
102 SaveLastPosition,
103 SeekStep,
104
105 ImportantPopupLabel,
106 ImportantPopupBackground,
107 ImportantPopupBorder,
108 ImportantPopupForeground,
109
110 FallbackBackground,
111 FallbackBorder,
112 FallbackForeground,
113 FallbackHighlight,
114 FallbackLabel,
115}
116
117#[derive(Debug, Eq, PartialEq, Clone, Copy, Hash)]
118pub enum IdKey {
119 DatabaseAddAll,
120 DatabaseAddSelected,
121 GlobalConfig,
122 GlobalDown,
123 GlobalGotoBottom,
124 GlobalGotoTop,
125 GlobalHelp,
126 GlobalLayoutTreeview,
127 GlobalLayoutDatabase,
128 GlobalLeft,
129 GlobalLyricAdjustForward,
130 GlobalLyricAdjustBackward,
131 GlobalLyricCycle,
132 GlobalPlayerToggleGapless,
133 GlobalPlayerTogglePause,
134 GlobalPlayerNext,
135 GlobalPlayerPrevious,
136 GlobalPlayerSeekForward,
137 GlobalPlayerSeekBackward,
138 GlobalPlayerSpeedUp,
139 GlobalPlayerSpeedDown,
140 GlobalQuit,
141 GlobalRight,
142 GlobalUp,
143 GlobalVolumeDown,
144 GlobalVolumeUp,
145 GlobalSavePlaylist,
146 LibraryDelete,
147 LibraryLoadDir,
148 LibraryPaste,
149 LibrarySearch,
150 LibrarySearchYoutube,
151 LibraryTagEditor,
152 LibraryYank,
153 PlaylistDelete,
154 PlaylistDeleteAll,
155 PlaylistShuffle,
156 PlaylistModeCycle,
157 PlaylistPlaySelected,
158 PlaylistSearch,
159 PlaylistSwapDown,
160 PlaylistSwapUp,
161 PlaylistAddRandomAlbum,
162 PlaylistAddRandomTracks,
163 LibrarySwitchRoot,
164 LibraryAddRoot,
165 LibraryRemoveRoot,
166 GlobalLayoutPodcast,
167 GlobalXywhMoveLeft,
168 GlobalXywhMoveRight,
169 GlobalXywhMoveUp,
170 GlobalXywhMoveDown,
171 GlobalXywhZoomIn,
172 GlobalXywhZoomOut,
173 GlobalXywhHide,
174 PodcastMarkPlayed,
175 PodcastMarkAllPlayed,
176 PodcastEpDownload,
177 PodcastEpDeleteFile,
178 PodcastDeleteFeed,
179 PodcastDeleteAllFeeds,
180 PodcastSearchAddFeed,
181 PodcastRefreshFeed,
182 PodcastRefreshAllFeeds,
183}