summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-09-07 20:57:02 +0800
committerErik Kundiman <erik@megapahit.org>2024-09-07 20:57:02 +0800
commit6878e66c812b19e7b2aa2bc5dd9d52cafcd7aef9 (patch)
tree7c7f101d4f79fc22d3aa50b984bd2ef20b7a816e /indra
parent0dc8974222905622b07924469bd9e3cff8a962ba (diff)
Prevent stream notifs with empty "Now playing"
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewermedia_streamingaudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermedia_streamingaudio.cpp b/indra/newview/llviewermedia_streamingaudio.cpp
index 3d2d2fc2a6..f462a05ae2 100644
--- a/indra/newview/llviewermedia_streamingaudio.cpp
+++ b/indra/newview/llviewermedia_streamingaudio.cpp
@@ -118,7 +118,7 @@ int LLStreamingAudio_MediaPlugins::isPlaying()
LLPluginClassMediaOwner::EMediaStatus status =
mMediaPlugin->getStatus();
auto nowPlaying = mMediaPlugin->getMediaNowPlaying();
- if (mNowPlaying != nowPlaying)
+ if (!nowPlaying.empty() && mNowPlaying != nowPlaying)
{
mTitle = mMediaPlugin->getMediaTitle();
mNowPlaying = nowPlaying;