Jellyfin Forum
Multiple active sessions for same device LG Smart TV - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Multiple active sessions for same device LG Smart TV (/t-multiple-active-sessions-for-same-device-lg-smart-tv)



Multiple active sessions for same device LG Smart TV - GloriousMagnet - 2024-10-03

I have found that when I am watching media via the LG Smart TV app this creates two active sessions in the background. One of these sessions will have the current playing information but will not be controllable and the other session won't have the current playing information but won't be controllable. This wasn't happening about a week ago.

Both session have the same deviceid, I can't attach a JSON so see below a massively stripped down version of the response from the /Sessions api call. You can see that the first session has a currently playing item however the supportsmediacontrol response is false. If I try to use the /Sessions/:sessionId/Playing/Pause command on the first session nothing happens. The second session however has no currently playing information but does supportmediacontrol and if I use the  /Sessions/:sessionId/Playing/Pause command on this session the media playing in the first session pauses.

My question is why is this one session appearing as two sessions, is this a bug?

Code:
[/font][/color]
[
    {
        "PlayState": {
            "PositionTicks": 4253900000,
            "CanSeek": true,
            "IsPaused": false,
            "IsMuted": false,
            "VolumeLevel": 100,
            "AudioStreamIndex": 2,
            "SubtitleStreamIndex": 0,
            "MediaSourceId": "c49f599d46bb4277e33135cd95f80a96",
            "PlayMethod": "DirectPlay",
            "RepeatMode": "RepeatNone",
            "PlaybackOrder": "Default"
        },
        "AdditionalUsers": [],
        "Capabilities": {
            "PlayableMediaTypes": [
                "Audio",
                "Video"
            ],
            "SupportedCommands": [
                "MoveUp",
                "MoveDown",
                "MoveLeft",
                "MoveRight",
                "PageUp",
                "PageDown",
                "PreviousLetter",
                "NextLetter",
                "ToggleOsd",
                "ToggleContextMenu",
                "Select",
                "Back",
                "SendKey",
                "SendString",
                "GoHome",
                "GoToSettings",
                "VolumeUp",
                "VolumeDown",
                "Mute",
                "Unmute",
                "ToggleMute",
                "SetVolume",
                "SetAudioStreamIndex",
                "SetSubtitleStreamIndex",
                "DisplayContent",
                "GoToSearch",
                "DisplayMessage",
                "SetRepeatMode",
                "SetShuffleQueue",
                "ChannelUp",
                "ChannelDown",
                "PlayMediaSource",
                "PlayTrailers"
            ],
            "SupportsMediaControl": true,
            "SupportsPersistentIdentifier": false,
            "SupportsContentUploading": false,
            "SupportsSync": false
        },
        "RemoteEndPoint": "192.168.10.15",
        "PlayableMediaTypes": [
            "Audio",
            "Video"
        ],
        "Id": "9e6276307701fcc03fc56c6a707c8372",
        "UserId": "53c13ca3b7c94373b6e6afde8255fc82",
        "UserName": "alex",
        "Client": "Jellyfin Web",
        "LastActivityDate": "2024-10-03T07:08:26.5720956Z",
        "LastPlaybackCheckIn": "2024-10-03T07:08:21.560211Z",
        "DeviceName": "LG Smart TV",
        "NowPlayingItem": {
            "Name": "A Time to be Quiet, A Time to be Loud",
            "ServerId": "3b19adc9ffee46fabd0d5fc7b712890f",
            "Id": "c49f599d46bb4277e33135cd95f80a96",
            "DateCreated": "2024-09-05T18:33:31.6546221Z",
            "HasSubtitles": true,
            "Container": "mov,mp4,m4a,3gp,3g2,mj2",
            "PremiereDate": "2011-05-09T00:00:00.0000000Z",
            "ExternalUrls": [
                {
                    "Name": "IMDb",
                    "Url": "https://www.imdb.com/title/tt2057101"
                },
                {
                    "Name": "Trakt",
                    "Url": "https://trakt.tv/episodes/tt2057101"
                }
            ],
            "VideoType": "VideoFile",
            "ImageTags": {
                "Primary": "85c1c4aa2af93ed4954149d0a47a0629"
            }
        },
        "DeviceId": "TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNzkuMC4zOTQ1Ljc5IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNzI2Mzk2Njg0ODM3",
        "ApplicationVersion": "10.9.10",
        "IsActive": true,
        "SupportsMediaControl": false,
        "SupportsRemoteControl": false,
        "NowPlayingQueue": [],
        "NowPlayingQueueFullItems": []
    },
    {
        "PlayState": {
            "CanSeek": false,
            "IsPaused": false,
            "IsMuted": false,
            "RepeatMode": "RepeatNone",
            "PlaybackOrder": "Default"
        },
        "AdditionalUsers": [],
        "Capabilities": {
            "PlayableMediaTypes": [
                "Audio",
                "Video"
            ],
            "SupportedCommands": [
                "MoveUp",
                "MoveDown",
                "MoveLeft",
                "MoveRight",
                "PageUp",
                "PageDown",
                "PreviousLetter",
                "NextLetter",
                "ToggleOsd",
                "ToggleContextMenu",
                "Select",
                "Back",
                "SendKey",
                "SendString",
                "GoHome",
                "GoToSettings",
                "VolumeUp",
                "VolumeDown",
                "Mute",
                "Unmute",
                "ToggleMute",
                "SetVolume",
                "SetAudioStreamIndex",
                "SetSubtitleStreamIndex",
                "DisplayContent",
                "GoToSearch",
                "DisplayMessage",
                "SetRepeatMode",
                "SetShuffleQueue",
                "ChannelUp",
                "ChannelDown",
                "PlayMediaSource",
                "PlayTrailers"
            ],
            "SupportsMediaControl": true,
            "SupportsPersistentIdentifier": false,
            "SupportsContentUploading": false,
            "SupportsSync": false
        },
        "RemoteEndPoint": "192.168.10.15",
        "PlayableMediaTypes": [
            "Audio",
            "Video"
        ],
        "Id": "3094e6e11292723dbf511f26cf3b9d9f",
        "UserId": "53c13ca3b7c94373b6e6afde8255fc82",
        "UserName": "alex",
        "Client": "Jellyfin for WebOS",
        "LastActivityDate": "2024-10-03T06:58:53.8189302Z",
        "LastPlaybackCheckIn": "0001-01-01T00:00:00.0000000Z",
        "DeviceName": "LG Smart TV",
        "DeviceId": "TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNzkuMC4zOTQ1Ljc5IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNzI2Mzk2Njg0ODM3",
        "ApplicationVersion": "10.9.10",
        "IsActive": true,
        "SupportsMediaControl": true,
        "SupportsRemoteControl": true,
        "NowPlayingQueue": [],
        "NowPlayingQueueFullItems": [],
        "HasCustomDeviceName": false,
        "ServerId": "3b19adc9ffee46fabd0d5fc7b712890f",
        "SupportedCommands": [
            "MoveUp",
            "MoveDown",
            "MoveLeft",
            "MoveRight",
            "PageUp",
            "PageDown",
            "PreviousLetter",
            "NextLetter",
            "ToggleOsd",
            "ToggleContextMenu",
            "Select",
            "Back",
            "SendKey",
            "SendString",
            "GoHome",
            "GoToSettings",
            "VolumeUp",
            "VolumeDown",
            "Mute",
            "Unmute",
            "ToggleMute",
            "SetVolume",
            "SetAudioStreamIndex",
            "SetSubtitleStreamIndex",
            "DisplayContent",
            "GoToSearch",
            "DisplayMessage",
            "SetRepeatMode",
            "SetShuffleQueue",
            "ChannelUp",
            "ChannelDown",
            "PlayMediaSource",
            "PlayTrailers"
        ]
    }
]
[color=#cccccc][font=Consolas, 'Courier New', monospace]



RE: Multiple active sessions for same device LG Smart TV - TheDreadPirate - 2024-10-03

Can you provide your full jellyfin log via pastebin?

Also what are your server specs? Server OS? What version of Jellyfin server are you running?