diff options
| author | Cody Robibero <cody@robibe.ro> | 2024-01-17 08:51:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-17 08:51:39 -0700 |
| commit | e7b8d45bbb0f2b832245dae7ac0d401c56cb10a4 (patch) | |
| tree | 6bf0e4b1edf5723f8e08404ac21b4fbc99f63031 /Emby.Server.Implementations/SyncPlay | |
| parent | 484ccf7f284dcd074e06ed90af6cde4864adecea (diff) | |
Use helper function to compare guid (#10825)
Diffstat (limited to 'Emby.Server.Implementations/SyncPlay')
| -rw-r--r-- | Emby.Server.Implementations/SyncPlay/Group.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/SyncPlay/Group.cs b/Emby.Server.Implementations/SyncPlay/Group.cs index da8f94932..a7821c0e0 100644 --- a/Emby.Server.Implementations/SyncPlay/Group.cs +++ b/Emby.Server.Implementations/SyncPlay/Group.cs @@ -6,6 +6,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; using Jellyfin.Data.Entities; +using Jellyfin.Extensions; using MediaBrowser.Controller.Library; using MediaBrowser.Controller.Session; using MediaBrowser.Controller.SyncPlay; @@ -553,7 +554,7 @@ namespace Emby.Server.Implementations.SyncPlay if (playingItemRemoved) { var itemId = PlayQueue.GetPlayingItemId(); - if (!itemId.Equals(default)) + if (!itemId.IsEmpty()) { var item = _libraryManager.GetItemById(itemId); RunTimeTicks = item.RunTimeTicks ?? 0; |
