Sayonara Player
Loading...
Searching...
No Matches
SettingKey.h
1/* SettingKey.h */
2
3/* Copyright (C) 2011-2024 Michael Lugmair (Lucio Carreras)
4 *
5 * This file is part of sayonara player
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21// clazy:excludeall=non-pod-global-static
22
23#ifndef SAYONARA_PLAYER_SETTINGKEY_H
24#define SAYONARA_PLAYER_SETTINGKEY_H
25
26#include "Utils/typedefs.h"
27
28enum class SettingKey :
29 unsigned short
30{
31 AlternativeCovers_Size = 0,
32 AudioConvert_NumberThreads,
33 AudioConvert_PreferredConverter,
34 AudioConvert_QualityLameCBR,
35 AudioConvert_QualityLameVBR,
36 AudioConvert_QualityOgg,
37 Broadcast_Active,
38 Broadcast_Port,
39 Broadcast_Prompt,
40 Cover_FetchFromWWW,
41 Cover_SaveToDB,
42 Cover_SaveToLibrary,
43 Cover_SaveToSayonaraDir,
44 Cover_Server,
45 Cover_StartSearch,
46 Cover_TemplatePath,
47 Dir_ShowTracks,
48 Dir_SplitterDirFile,
49 Dir_SplitterTracks,
50 Dir_TagToFilenameExpression,
51 Engine_AlsaDevice,
52 Engine_BufferSizeMS,
53 Engine_CovertTargetPath,
54 Engine_CrossFaderActive,
55 Engine_CrossFaderTime,
56 Engine_CurTrackPos_s,
57 Engine_Mute,
58 Engine_Name,
59 Engine_Pitch,
60 Engine_PreservePitch,
61 Engine_SR_Active,
62 Engine_SR_AutoRecord,
63 Engine_SR_Path,
64 Engine_SR_SessionPath,
65 Engine_SR_SessionPathTemplate,
66 Engine_SR_Warning,
67 Engine_Sink,
68 Engine_SoundFileExtensions,
69 Engine_SpectrumBins,
70 Engine_Speed,
71 Engine_SpeedActive,
72 Engine_Vol,
73 Eq_Gauss,
74 Eq_Last,
75 Icon_ForceInDarkTheme,
76 Icon_Theme,
77 InfoDialog_Size,
78 InhibitIdle,
79 LFM_Active,
80 LFM_Corrections,
81 LFM_Login,
82 LFM_Password,
83 LFM_ScrobbleTimeSec,
84 LFM_SessionKey,
85 LFM_ShowErrors,
86 LFM_Username,
87 Level_Style,
88 Lib_AllLibraries,
89 Lib_AutoUpdate,
90 Lib_ColStateAlbums,
91 Lib_ColStateArtists,
92 Lib_ColStateTracks,
93 Lib_CoverOrigPMCache,
94 Lib_CoverScaledPMCache,
95 Lib_CoverScrollspeed,
96 Lib_CoverShowArtist,
97 Lib_CoverShowDuration,
98 Lib_CoverShowUtils,
99 Lib_CoverShowYear,
100 Lib_CoverZoom,
101 Lib_CurPlugin,
102 Lib_DC_DoNothing,
103 Lib_DC_PlayIfStopped,
104 Lib_DC_PlayImmediately,
105 Lib_DD_DoNothing,
106 Lib_DD_PlayIfStoppedAndEmpty,
107 Lib_FontBold,
108 Lib_GenreTree,
109 Lib_HeaderAutoResizeAlbums,
110 Lib_HeaderAutoResizeArtists,
111 Lib_HeaderAutoResizeTracks,
112 Lib_LastIndex,
113 Lib_LiveSearch,
114 Lib_OldWidth,
115 Lib_Path,
116 Lib_SearchMode,
117 Lib_SearchStringLength,
118 Lib_Show,
119 Lib_ShowAlbumArtists,
120 Lib_ShowAlbumCovers,
121 Lib_ShowFilterExtBar,
122 Lib_SortIgnoreArtistArticle,
123 Lib_SortModeMask,
124 Lib_Sorting,
125 Lib_SplitterStateArtist,
126 Lib_SplitterStateDate,
127 Lib_SplitterStateGenre,
128 Lib_SplitterStateTrack,
129 Lib_UseViewClearButton,
130 Lib_ViewType,
131 Logger_Level,
132 Lyrics_Server,
133 Lyrics_ServerEntries,
134 Lyrics_Zoom,
135 MP3enc_found,
136 Notification_Name,
137 Notification_Show,
138 Notification_Timeout,
139 PL_CheckedButtonColorDarkTheme,
140 PL_CheckedButtonColorDarkThemeEnabled,
141 PL_CheckedButtonColorStdTheme,
142 PL_CheckedButtonColorStdThemeEnabled,
143 PL_CheckedButtonOpacity,
144 PL_CheckedButtonOpacityEnabled,
145 PL_CreateFilesystemPlaylist,
146 PL_CurrentTrackColorStringDark,
147 PL_CurrentTrackColorStringStandard,
148 PL_CurrentTrackCustomColorDark,
149 PL_CurrentTrackCustomColorStandard,
150 PL_EntryLook,
151 PL_FilesystemPlaylistName,
152 PL_JumpToCurrentTrack,
153 PL_LastPlaylist,
154 PL_LastTrack,
155 PL_LastTrackBeforeStop,
156 PL_LoadLastTrack,
157 PL_LoadRecentPlaylists,
158 PL_LoadSavedPlaylists,
159 PL_LoadTemporaryPlaylists,
160 PL_Mode,
161 PL_ModificatorAllowDynamicPlayback,
162 PL_ModificatorAllowRearrangeMethods,
163 PL_PlayTrackAfterSearch,
164 PL_RecentPlaylists,
165 PL_RememberTime,
166 PL_RememberTrackAfterStop,
167 PL_ShowBottomBar,
168 PL_ShowClearButton,
169 PL_ShowConfirmationOnClose,
170 PL_ShowCovers,
171 PL_ShowNumbers,
172 PL_ShowRating,
173 PL_SpecifyFileystemPlaylistName,
174 PL_StartAtRandomTrackOnShuffle,
175 PL_StartPlaying,
176 PL_StartPlayingWorkaround_Issue263,
177 Pitch_found,
178 Player_514Fix,
179 Player_ControlStyle,
180 Player_FadingCover,
181 Player_ForceNativeDirDialog,
182 Player_Fullscreen,
183 Player_Geometry,
184 Player_Language,
185 Player_Maximized,
186 Player_Min2Tray,
187 Player_NotifyNewVersion,
188 Player_OneInstance,
189 Player_PrivId,
190 Player_PublicId,
191 Player_ShowTrayIcon,
192 Player_ShownPlugin,
193 Player_SplitterControls,
194 Player_SplitterState,
195 Player_StartInTray,
196 Player_Style,
197 Player_Version,
198 Proxy_Active,
199 Proxy_Hostname,
200 Proxy_Password,
201 Proxy_Port,
202 Proxy_SavePw,
203 Proxy_Username,
204 Settings_Revision,
205 Soundcloud_AuthToken,
206 Spectrum_Style,
207 Speed_LastTab,
208 Speed_MaxValue,
209 Speed_MinValue,
210 Speed_ShowSteps,
211 Speed_Step,
212 Stream_LockedPlaylistByDefault,
213 Stream_NewTab,
214 Stream_RadioSearcher,
215 Stream_RadioSearcherType,
216 Stream_SearchWindowSize,
217 Stream_ShowHistory,
218 Stream_UpdateMetadata,
219 Tagging_UseSelectiveTagging,
220 Num_Setting_Keys
221};
222
223class QString;
224class QStringList;
225class QPoint;
226class QSize;
227class QByteArray;
228
229class EqualizerSetting;
230struct RawShortcutMap;
231
232namespace Playlist
233{
234 class Mode;
235}
236
237namespace Library
238{
239 struct Sortings;
240 class Info;
241 enum class ViewType :
242 quint8;
243}
244
245namespace Lyrics
246{
247 struct ServerEntry;
248}
249
250template<typename DataType, SettingKey keyIndex>
252{
253 using Data [[maybe_unused]] = DataType;
254 const static SettingKey key = keyIndex;
255
256 SettingIdentifier() = delete;
257 ~SettingIdentifier() = delete;
258};
259
260// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
261#define CreateSetting(settingkey, type); \
262 using settingkey = SettingIdentifier<type, SettingKey:: settingkey> // NOLINT(bugprone-macro-parentheses)
263
264namespace Set
265{ // persistent settings
266 //@formatter:off
267 CreateSetting(AlternativeCovers_Size, QSize); // Size of Alternative Cover Dialog
268 CreateSetting(AudioConvert_NumberThreads, int); // Number of threads
269 CreateSetting(AudioConvert_PreferredConverter, QString); // Preferred Converter: ogg, lame cbr, lame vbr
270 CreateSetting(AudioConvert_QualityLameCBR, int); // 64 - 320
271 CreateSetting(AudioConvert_QualityLameVBR, int); // Lame Quality for variable bitrate 1-10
272 CreateSetting(AudioConvert_QualityOgg, int); // 1 - 10
273 CreateSetting(Broadcast_Active, bool); // is broadcast active?
274 CreateSetting(Broadcast_Port, int); // broadcast port
275 CreateSetting(Broadcast_Prompt, bool); // prompt when new connection arrives?
276 CreateSetting(Cover_FetchFromWWW, bool); // Fetch covers from www
277 CreateSetting(Cover_SaveToDB, bool); // Save covers to DB
278 CreateSetting(Cover_SaveToLibrary, bool); // Save covers in library
279 CreateSetting(Cover_SaveToSayonaraDir, bool); // Save covers in library
280 CreateSetting(Cover_Server, QStringList); // Cover server
281 CreateSetting(Cover_StartSearch, bool); // start alternative cover search automatically
282 CreateSetting(Cover_TemplatePath, QString); // Name of cover file in library
283 CreateSetting(Dir_ShowTracks, bool); // show tracks panel in directory view
284 CreateSetting(Dir_SplitterDirFile, QByteArray); // Splitter state between dirs and files
285 CreateSetting(Dir_SplitterTracks, QByteArray); // Splitter between upper and track view
286 CreateSetting(Dir_TagToFilenameExpression, QString); // Last used expression when converting tags to filename
287 CreateSetting(Engine_AlsaDevice, QString); // Specific alsa device
288 CreateSetting(Engine_BufferSizeMS, int); // Buffer size for streaming
289 CreateSetting(Engine_CovertTargetPath, QString); // last convert path
290 CreateSetting(Engine_CrossFaderActive, bool); // crossfader, but not gapless active
291 CreateSetting(Engine_CrossFaderTime, int); // crossfader overlap time
292 CreateSetting(Engine_CurTrackPos_s, int); // position of track (used to load old position)
293 CreateSetting(Engine_Mute, bool); // Muted/unmuted
294 CreateSetting(Engine_Name, QString); // Deprecated: Engine name
295 CreateSetting(Engine_Pitch, int); // hertz of a
296 CreateSetting(Engine_PreservePitch, bool); // if yes, should pitch be preserved?
297 CreateSetting(Engine_SR_Active, bool); // Streamripper active
298 CreateSetting(Engine_SR_AutoRecord, bool); // streamripper automatic recording
299 CreateSetting(Engine_SR_Path, QString); // streamripper paths
300 CreateSetting(Engine_SR_SessionPath, bool); // create streamripper session path?
301 CreateSetting(Engine_SR_SessionPathTemplate, QString); // streamripper session path templat
302 CreateSetting(Engine_SR_Warning, bool); // streamripper warnings
303 CreateSetting(Engine_Sink, QString); // Alsa, pulseaudio
304 CreateSetting(Engine_SoundFileExtensions, QStringList); // additional file extensions
305 CreateSetting(Engine_SpectrumBins, int); // number of spectrum bins
306 CreateSetting(Engine_Speed, float); // if yes, set speed
307 CreateSetting(Engine_SpeedActive, bool); // is speed control active?
308 CreateSetting(Engine_Vol, int); // Volume
309 CreateSetting(Eq_Gauss, bool); // do curve, when changing eq setting
310 CreateSetting(Eq_Last, int); // last equalizer index
311 CreateSetting(Icon_ForceInDarkTheme, bool); // Current icon theme
312 CreateSetting(Icon_Theme, QString); // Current icon theme
313 CreateSetting(InfoDialog_Size, QSize); // Size of Info Dialog
314 CreateSetting(InhibitIdle, bool); // Avoid suspend/hibernate while playing music
315 CreateSetting(LFM_Active, bool); // is lastFM active?
316 CreateSetting(LFM_Corrections, bool); // propose lfm corrections
317 CreateSetting(LFM_Login, StringPair); // deprecated: 2-Tupel, username, password
318 CreateSetting(LFM_Password, QString); // encrypted password
319 CreateSetting(LFM_ScrobbleTimeSec, int); // time in sec when to scrobble
320 CreateSetting(LFM_SessionKey, QString); // lfm session key
321 CreateSetting(LFM_ShowErrors, bool); // get error message, if there are lfm problems
322 CreateSetting(LFM_Username, QString); // usernam
323 CreateSetting(Level_Style, int); // index of level style
324 CreateSetting(Lib_AllLibraries, QList<Library::Info>); // deprecated
325 CreateSetting(Lib_AutoUpdate, bool); // Automatic update of library
326 CreateSetting(Lib_ColStateAlbums, QByteArray); // Header state of albums
327 CreateSetting(Lib_ColStateArtists, QByteArray); // Header state of artists
328 CreateSetting(Lib_ColStateTracks, QByteArray); // Header state of tracks
329 CreateSetting(Lib_CoverOrigPMCache, int); // Original sized pixmap cache
330 CreateSetting(Lib_CoverScaledPMCache, int); // Scaled sized pixmap cache
331 CreateSetting(Lib_CoverScrollspeed, int); // Scrollspeed of cover view
332 CreateSetting(Lib_CoverShowArtist, bool); // Show artist name in cover view
333 CreateSetting(Lib_CoverShowDuration, bool); // Show duration in cover view
334 CreateSetting(Lib_CoverShowUtils, bool); // Show utils bar in cover view
335 CreateSetting(Lib_CoverShowYear, bool); // Show year in cover view
336 CreateSetting(Lib_CoverZoom, int); // Zoom of album cover view
337 CreateSetting(Lib_CurPlugin, QString); // Current shown library plugin
338 CreateSetting(Lib_DC_DoNothing, bool); // when double clicked, create playlist and do nothin
339 CreateSetting(Lib_DC_PlayIfStopped, bool); // when double clicked, play if stopped
340 CreateSetting(Lib_DC_PlayImmediately, bool); // when double clicked, play immediately
341 CreateSetting(Lib_DD_DoNothing, bool); // when drag dropped, insert tracks and do nothing
342 CreateSetting(Lib_DD_PlayIfStoppedAndEmpty, bool); // when drag dropped, play if playlist is empty and stopped
343 CreateSetting(Lib_FontBold, bool); // bold fonts in library
344 CreateSetting(Lib_GenreTree, bool); // Show tree view of genres
345 CreateSetting(Lib_HeaderAutoResizeAlbums, bool); // resize columns automatically in albums
346 CreateSetting(Lib_HeaderAutoResizeArtists, bool); // resize columns automatically in artists
347 CreateSetting(Lib_HeaderAutoResizeTracks, bool); // resize columns automatically in tracks
348 CreateSetting(Lib_LastIndex, int); // Last selected library
349 CreateSetting(Lib_LiveSearch, bool); // library live search
350 CreateSetting(Lib_OldWidth, int); // Old library width when hiding library
351 CreateSetting(Lib_Path, QString); // deprecated
352 CreateSetting(Lib_SearchMode, int); // Search mode in library. See
353 CreateSetting(Lib_SearchStringLength, int); // minimum length of search string
354 CreateSetting(Lib_Show, bool); // show library
355 CreateSetting(Lib_ShowAlbumArtists, bool); // Show album artists instead of artists
356 CreateSetting(Lib_ShowAlbumCovers, bool); // Show album cover view
357 CreateSetting(Lib_ShowFilterExtBar, bool); // Show the file extension filter bar in track view
358 CreateSetting(Lib_SortIgnoreArtistArticle, bool); // ignore article for artist
359 CreateSetting(Lib_SortModeMask, int); // additional attributes applied to sorting
360 CreateSetting(Lib_Sorting, Library::Sortings); // how to sort in lib
361 CreateSetting(Lib_SplitterStateArtist, QByteArray); // Splitter state between artists and albums
362 CreateSetting(Lib_SplitterStateDate, QByteArray); // Splitter state between tracks and genres
363 CreateSetting(Lib_SplitterStateGenre, QByteArray); // Splitter state between tracks and genres
364 CreateSetting(Lib_SplitterStateTrack, QByteArray); // Splitter state between artists and tracks
365 CreateSetting(Lib_UseViewClearButton, bool); // Show clear button in single view
366 CreateSetting(Lib_ViewType, Library::ViewType); // Standard view, CoverView, LibraryView
367 CreateSetting(Logger_Level, int); // Also log development:
368 CreateSetting(Lyrics_Server, QString); // Last used lyrics server
369 CreateSetting(Lyrics_ServerEntries, QList<Lyrics::ServerEntry>); // disabled lyrics servers
370 CreateSetting(Lyrics_Zoom, int); // Zoom factor in lyrics window
371 CreateSetting(Notification_Name, QString); // type of notifications: libnotify or empty for native baloons
372 CreateSetting(Notification_Show, bool); // show notifications
373 CreateSetting(Notification_Timeout, int); // notification timeout
374 CreateSetting(PL_CheckedButtonColorDarkTheme, QString); // color for a checked playlist bottom bar button
375 CreateSetting(PL_CheckedButtonColorDarkThemeEnabled, bool); // use custom color for a checked playlist bottom bar button
376 CreateSetting(PL_CheckedButtonColorStdTheme, QString); // color for a checked playlist bottom bar button
377 CreateSetting(PL_CheckedButtonColorStdThemeEnabled, bool); // use custom color for a checked playlist bottom bar button
378 CreateSetting(PL_CheckedButtonOpacity, float); // opacity if a playlist bottom bar button is checked
379 CreateSetting(PL_CheckedButtonOpacityEnabled, bool); // use custom opacity for checked buttons
380 CreateSetting(PL_CreateFilesystemPlaylist, bool); // create an extra playlist when loading files from file system
381 CreateSetting(PL_CurrentTrackColorStringDark, QString); // custom color in dark theme
382 CreateSetting(PL_CurrentTrackColorStringStandard, QString); // custom color string in standard theme
383 CreateSetting(PL_CurrentTrackCustomColorDark, bool); // use custom color in dark theme
384 CreateSetting(PL_CurrentTrackCustomColorStandard, bool); // use custom color in standard theme
385 CreateSetting(PL_EntryLook, QString); // formatting of playlist entry
386 CreateSetting(PL_FilesystemPlaylistName, QString); // name of the file system playlist
387 CreateSetting(PL_JumpToCurrentTrack, bool); // jump to current track when track changes
388 CreateSetting(PL_LastPlaylist, int); // last Playlist id, where LastTrack has been played
389 CreateSetting(PL_LastTrack, int); // last track idx in playlist
390 CreateSetting(PL_LastTrackBeforeStop, int); // last track before stop
391 CreateSetting(PL_LoadLastTrack, bool); // load last track on startup
392 CreateSetting(PL_LoadRecentPlaylists, bool); // load recent playlists
393 CreateSetting(PL_LoadSavedPlaylists, bool); // load saved playlists on startup
394 CreateSetting(PL_LoadTemporaryPlaylists, bool); // load temporary playlists on startus
395 CreateSetting(PL_Mode, Playlist::Mode); // playlist mode: rep1, repAll, shuffle...
396 CreateSetting(PL_ModificatorAllowDynamicPlayback, bool);
397 CreateSetting(PL_ModificatorAllowRearrangeMethods, bool);
398 CreateSetting(PL_PlayTrackAfterSearch, bool); // play track after search is done
399 CreateSetting(PL_RecentPlaylists, QList<int>);
400 CreateSetting(PL_RememberTime, bool); // remember time of last track
401 CreateSetting(PL_RememberTrackAfterStop, bool); // when stop button is pressed, remember last track index
402 CreateSetting(PL_ShowBottomBar, bool); // Show bottom bar in playlist
403 CreateSetting(PL_ShowClearButton, bool); // show clear button in playlist
404 CreateSetting(PL_ShowConfirmationOnClose, bool);
405 CreateSetting(PL_ShowCovers, bool); // Show covers in Playlist
406 CreateSetting(PL_ShowNumbers, bool); // show numbers in playlist
407 CreateSetting(PL_ShowRating, bool); // Show rating in playlist
408 CreateSetting(PL_SpecifyFileystemPlaylistName, bool); // when creating playlist from files, choose special name
409 CreateSetting(PL_StartAtRandomTrackOnShuffle, bool); // start randomly when playlist in shuffle mode
410 CreateSetting(PL_StartPlaying, bool); // start playing immediately when opening Sayonara
411 CreateSetting(PL_StartPlayingWorkaround_Issue263, bool); // issue #263
412 CreateSetting(Player_514Fix, bool); // https://bugs.archlinux.org/task/59451
413 CreateSetting(Player_ControlStyle, int); // Big cover or not
414 CreateSetting(Player_FadingCover, bool); // If cover buttons should fade
415 CreateSetting(Player_ForceNativeDirDialog, bool); // Under some environments, native dir dialog is disabled
416 CreateSetting(Player_Fullscreen, bool); // player fullscreen
417 CreateSetting(Player_Geometry, QByteArray); // player geometry
418 CreateSetting(Player_Language, QString); // language of player
419 CreateSetting(Player_Maximized, bool); // player maximized
420 CreateSetting(Player_Min2Tray, bool); // minimize Sayonara to tray
421 CreateSetting(Player_NotifyNewVersion, bool); // check for new version on startup
422 CreateSetting(Player_OneInstance, bool); // only one Sayonara instance is allowed
423 CreateSetting(Player_PrivId, QByteArray); // Unique identifier
424 CreateSetting(Player_PublicId, QByteArray); // Unique identifier
425 CreateSetting(Player_ShowTrayIcon, bool); // Show/hide the tray icon
426 CreateSetting(Player_ShownPlugin, QString); // current shown plugin in player, empty if none
427 CreateSetting(Player_SplitterControls, QByteArray); // Splitter state between controls and playlist
428 CreateSetting(Player_SplitterState, QByteArray); // spliter state between playlist and library
429 CreateSetting(Player_StartInTray, bool); // start in tray
430 CreateSetting(Player_Style, int); // dark or native: native = 0, dark = 1
431 CreateSetting(Player_Version, QString); // Version string of player
432 CreateSetting(Proxy_Active, bool); // Is proxy server active
433 CreateSetting(Proxy_Hostname, QString); // Proxy Hostname/IP Address
434 CreateSetting(Proxy_Password, QString); // Proxy Password
435 CreateSetting(Proxy_Port, int); // Proxy Port 3128
436 CreateSetting(Proxy_SavePw, bool); // Should password be saved
437 CreateSetting(Proxy_Username, QString); // Proxy Username
438 CreateSetting(Settings_Revision, int); // Version number of settings
439 CreateSetting(Spectrum_Style, int); // index of spectrum style
440 CreateSetting(Speed_LastTab, int); // Last tab selected int he speed/pitch plugin
441 CreateSetting(Speed_MaxValue, int) // Maximum value for speed range slider [101-10000]
442 CreateSetting(Speed_MinValue, int) // Minimum value for speed range slider [1-99]
443 CreateSetting(Speed_ShowSteps, bool); // Show speed step buttons in speed plugin
444 CreateSetting(Speed_Step, int); // [0-100]
445 CreateSetting(Stream_LockedPlaylistByDefault, bool); // should a stream playlist be locked by default?
446 CreateSetting(Stream_NewTab, bool); // Open Streams in new tab
447 CreateSetting(Stream_RadioSearcher, QString); // Last radio searcher service
448 CreateSetting(Stream_RadioSearcherType, int); // 0 = by name, 1 = by genre
449 CreateSetting(Stream_SearchWindowSize, QSize); // Size of the stream search dialog
450 CreateSetting(Stream_ShowHistory, bool); // Show history when playing streams
451 CreateSetting(Stream_UpdateMetadata, bool); // Update metadata (can be changed for each stream individually)
452 CreateSetting(Tagging_UseSelectiveTagging, bool); // Only updated changed fields
453 //@formatter:off
454}
455
456namespace SetNoDB
457{ // non-persistent settings
458 CreateSetting(MP3enc_found, bool); // is mp3 encoder available?
459 CreateSetting(Pitch_found, bool); // is pitch element available?
460 CreateSetting(Soundcloud_AuthToken, QString); // soundcloud authentication token
461}
462#endif // SAYONARA_PLAYER_SETTINGKEY_H
The EQ_Setting class. Container for Equalizer configurations.
Definition EqualizerSetting.h:35
The Mode class.
Definition PlaylistMode.h:42
Definition EngineUtils.h:33
Definition Sorting.h:32
Definition typedefs.h:33
The RawShortcutMap struct consisting of a specifier writable into database and a shortcut....
Definition RawShortcutMap.h:38
Definition SettingKey.h:252