Changed Streamer Mode settings (#2001)
There's now a new (yet another, sigh) section in Settings -> General, which lets you set streamer mode to 'enable/disable/detect obs' and there are also separate settings for each of the things that streamer mode covers. I just have to add ping sounds and PR is ready to be merged :) * Show "Streamer Mode" image as link thumbnails if applicable * Moved hideViewerCountAndDuration to streamerMode settings Set it to false by default (just how it used to be under /misc settings, also reworked live tooltip to be a bit prettier and say "<Streamer Mode>" in gray instead of "Live with <hidden> for <hidden> viewers"
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "controllers/highlights/HighlightPhrase.hpp"
|
||||
#include "controllers/moderationactions/ModerationAction.hpp"
|
||||
#include "singletons/Toasts.hpp"
|
||||
#include "util/StreamerMode.hpp"
|
||||
#include "widgets/Notebook.hpp"
|
||||
|
||||
using TimeoutButton = std::pair<QString, int>;
|
||||
@@ -177,7 +178,18 @@ public:
|
||||
BoolSetting unshortLinks = {"/links/unshortLinks", false};
|
||||
BoolSetting lowercaseDomains = {"/links/linkLowercase", true};
|
||||
|
||||
/// Ignored phrases
|
||||
/// Streamer Mode
|
||||
EnumSetting<StreamerModeSetting> enableStreamerMode = {
|
||||
"/streamerMode/enabled", StreamerModeSetting::DetectObs};
|
||||
BoolSetting streamerModeHideUsercardAvatars = {
|
||||
"/streamerMode/hideUsercardAvatars", true};
|
||||
BoolSetting streamerModeHideLinkThumbnails = {
|
||||
"/streamerMode/hideLinkThumbnails", true};
|
||||
BoolSetting streamerModeHideViewerCountAndDuration = {
|
||||
"/streamerMode/hideViewerCountAndDuration", false};
|
||||
BoolSetting streamerModeMuteMentions = {"/streamerMode/muteMentions", true};
|
||||
|
||||
/// Ignored Phrases
|
||||
QStringSetting ignoredPhraseReplace = {"/ignore/ignoredPhraseReplace",
|
||||
"***"};
|
||||
|
||||
@@ -314,8 +326,6 @@ public:
|
||||
BoolSetting restartOnCrash = {"/misc/restartOnCrash", false};
|
||||
BoolSetting attachExtensionToAnyProcess = {
|
||||
"/misc/attachExtensionToAnyProcess", false};
|
||||
BoolSetting hideViewerCountAndDuration = {
|
||||
"/misc/hideViewerCountAndDuration", false};
|
||||
BoolSetting askOnImageUpload = {"/misc/askOnImageUpload", true};
|
||||
|
||||
/// Debug
|
||||
|
||||
Reference in New Issue
Block a user