diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-09-07 20:57:02 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-09-07 20:57:02 +0800 |
commit | 6878e66c812b19e7b2aa2bc5dd9d52cafcd7aef9 (patch) | |
tree | 7c7f101d4f79fc22d3aa50b984bd2ef20b7a816e | |
parent | 0dc8974222905622b07924469bd9e3cff8a962ba (diff) |
Prevent stream notifs with empty "Now playing"
-rw-r--r-- | indra/newview/llviewermedia_streamingaudio.cpp | 2 |
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; |