Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback issue #128

Closed
quickmic opened this issue Mar 10, 2018 · 7 comments
Closed

Playback issue #128

quickmic opened this issue Mar 10, 2018 · 7 comments

Comments

@quickmic
Copy link
Collaborator

Hello

There is an issue when I play a file via node filter.
Same files played via recently added works fine.

Here are the logs:

WORKS (via recently added music videos):

18:50:52.393 T:1822757616  NOTICE: EMBY.default_musicvideos -> Parameter string: ?dbid=22249&mode=play&id=93d9c23caecd0a91b36a8b7a9cb87034&filename=Eric+Clapton+-+Live+From+Madison+Square+Garden+%28feat.+Steve+Winwood%29+%282009%29.mkv
18:50:52.409 T:1822757616  NOTICE: EMBY.downloadutils -> DEBUG:: ===== ENTER downloadUrl =====
18:50:52.432 T:1822757616  NOTICE: EMBY.downloadutils -> DEBUG:: {'headers': {'Accept-Charset': 'UTF-8,*', 'Accept-encoding': 'gzip', 'X-MediaBrowser-Token': u'{emby-token}', 'Content-type': 'application/json', 'Authorization': 'MediaBrowser UserId="0717b7a249a14ea8856a3228c5e2e115", Client="Kodi", Device="Kodi-Bedroom", DeviceId="BEE898FF123E4591A4E402F482274B38", Version="3.0.14a"', 'User-Agent': 'Emby-Kodi'}, 'json': None, 'params': None, 'timeout': 30, 'url': u'{emby-server}/emby/Users/0717b7a249a14ea8856a3228c5e2e115/Items/93d9c23caecd0a91b36a8b7a9cb87034?format=json', 'verify': False}
18:50:52.500 T:1822757616  NOTICE: EMBY.downloadutils -> DEBUG:: ====== 200 Success ======
18:50:52.516 T:1822757616  NOTICE: EMBY.downloadutils -> DEBUG:: Response: {u'Album': u'--NO INFO--', u'Genres': [], u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.9760246, u'TimeBase': u'1/1000', u'Width': 624, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'Main', u'DisplayTitle': u'H264', u'NalLengthSize': u'4', u'CodecTimeBase': u'1001/48000', u'RealFrameRate': 23.9760246, u'Level': 30, u'RefFrames': 1, u'BitDepth': 8, u'BitRate': 1491059, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 352, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'IsAnamorphic': False, u'IsInterlaced': False, u'DisplayTitle': u'Dolby Digital stereo Default', u'SupportsExternalStream': False, u'ChannelLayout': u'stereo', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'ac3', u'CodecTimeBase': u'1/48000', u'TimeBase': u'1/1000', u'SampleRate': 48000, u'BitRate': 384000, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Container': u'mkv,webm', u'CanDelete': True, u'LocationType': u'FileSystem', u'ArtistItems': [{u'Name': u'Eric Clapton', u'Id': u'23405db0a5e907a9beeabc3863e103fb'}], u'CanDownload': True, u'ExternalUrls': [], u'Etag': u'c72fbb5619aca296d7afa2930113fdd7', u'ScreenshotImageTags': [], u'RemoteTrailers': [], u'ServerId': u'9988f479fd7545889b448228cf732b26', u'Type': u'MusicVideo', u'SortName': u'live from madison square garden (feat  steve winwood)', u'PlayAccess': u'Full', u'Tags': [], u'IsFolder': False, u'LockedFields': [], u'EnableMediaSourceDisplay': True, u'ProviderIds': {}, u'ProductionYear': 2009, u'DisplayPreferencesId': u'2c2ed68161a3d8f243ff98f4ae127a7e', u'Path': u'/mnt/storage1/music/concerts/E/Eric Clapton/Live From Madison Square Garden (feat. Steve Winwood) (2009)/Eric Clapton - Live From Madison Square Garden (feat. Steve Winwood) (2009).mkv', u'BackdropImageTags': [], u'Name': u'Live From Madison Square Garden (feat. Steve Winwood)', u'MediaType': u'Video', u'LockData': False, u'Taglines': [], u'ParentId': u'87385e5d22fa5d14b15a45eb975d0c31', u'PrimaryImageAspectRatio': 1.77514792899408, u'GenreItems': [], u'MediaSources': [{u'SupportsDirectStream': True, u'Container': u'mkv', u'RequiresClosing': False, u'IgnoreDts': False, u'IgnoreIndex': False, u'DefaultAudioStreamIndex': 1, u'SupportsDirectPlay': True, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.9760246, u'TimeBase': u'1/1000', u'Width': 624, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'Main', u'DisplayTitle': u'H264', u'NalLengthSize': u'4', u'CodecTimeBase': u'1001/48000', u'RealFrameRate': 23.9760246, u'Level': 30, u'RefFrames': 1, u'BitDepth': 8, u'BitRate': 1491059, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 352, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'IsAnamorphic': False, u'IsInterlaced': False, u'DisplayTitle': u'Dolby Digital stereo Default', u'SupportsExternalStream': False, u'ChannelLayout': u'stereo', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'ac3', u'CodecTimeBase': u'1/48000', u'TimeBase': u'1/1000', u'SampleRate': 48000, u'BitRate': 384000, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'/mnt/storage1/music/concerts/E/Eric Clapton/Live From Madison Square Garden (feat. Steve Winwood) (2009)/Eric Clapton - Live From Madison Square Garden (feat. Steve Winwood) (2009).mkv', u'RequiresOpening': False, u'Bitrate': 1491059, u'IsRemote': False, u'Name': u'Eric Clapton - Live From Madison Square Garden (feat. Steve Winwood) (2009).mkv', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'GenPtsInput': False, u'VideoType': u'VideoFile', u'ETag': u'88b170ac9162755c3c2c4ae0e628adab', u'RunTimeTicks': 44411088896L, u'SupportsProbing': True, u'Id': u'93d9c23caecd0a91b36a8b7a9cb87034'}], u'UserData': {u'IsFavorite': False, u'Played': True, u'LastPlayedDate': u'2018-03-10T17:48:45.0244480Z', u'PlaybackPositionTicks': 0, u'Key': u'93d9c23c-aecd-0a91-b36a-8b7a9cb87034', u'PlayCount': 7}, u'Studios': [], u'People': [], u'Chapters': [{u'ImageTag': u'56461b504cf09d28edc4717f800ac56f', u'Name': u'Chapter 1', u'StartPositionTicks': 0}, {u'ImageTag': u'3c8f8d05e6b27a1800c6c314ce9f6539', u'Name': u'Chapter 2', u'StartPositionTicks': 3000000000L}, {u'ImageTag': u'36a968ce69efdf6734ed33677aed34a8', u'Name': u'Chapter 3', u'StartPositionTicks': 6000000000L}, {u'ImageTag': u'd5c4935575ef902ee81d37b27dcec861', u'Name': u'Chapter 4', u'StartPositionTicks': 9000000000L}, {u'ImageTag': u'd63550dd6db729209cb56e5e0aeab405', u'Name': u'Chapter 5', u'StartPositionTicks': 12000000000L}, {u'ImageTag': u'd830038baeeabd41359fa9906112f042', u'Name': u'Chapter 6', u'StartPositionTicks': 15000000000L}, {u'ImageTag': u'1eb9e02a5268a34b46b320b843fdbb85', u'Name': u'Chapter 7', u'StartPositionTicks': 18000000000L}, {u'ImageTag': u'f5147f3fb6e342c5fceb29a7f5021074', u'Name': u'Chapter 8', u'StartPositionTicks': 21000000000L}, {u'ImageTag': u'98cc6331b4a901d18d1b749ef884ca9b', u'Name': u'Chapter 9', u'StartPositionTicks': 24000000000L}, {u'ImageTag': u'f4485ca6847bbc1bd895950119f20604', u'Name': u'Chapter 10', u'StartPositionTicks': 27000000000L}, {u'ImageTag': u'807f97dee81fcb174195c6e913415de5', u'Name': u'Chapter 11', u'StartPositionTicks': 30000000000L}, {u'ImageTag': u'a706147edf6b2d707cdecb94b4ad7b03', u'Name': u'Chapter 12', u'StartPositionTicks': 33000000000L}, {u'ImageTag': u'c8e62015036f55cab68ace4433d01632', u'Name': u'Chapter 13', u'StartPositionTicks': 36000000000L}, {u'ImageTag': u'1107870ab30c269e1fe58474511cb040', u'Name': u'Chapter 14', u'StartPositionTicks': 39000000000L}, {u'ImageTag': u'73d1d4fdcf4ccd3c63ebfd90b496a9ff', u'Name': u'Chapter 15', u'StartPositionTicks': 42000000000L}], u'DateCreated': u'2018-03-03T22:39:58.0000000Z', u'VideoType': u'VideoFile', u'ImageTags': {u'Primary': u'e1c7bd049c4a53efa119612964cf2747'}, u'RunTimeTicks': 44411088896L, u'Artists': [u'Eric Clapton'], u'SupportsSync': True, u'Id': u'93d9c23caecd0a91b36a8b7a9cb87034'}
18:50:52.547 T:1822757616  NOTICE: EMBY.artwork -> DEBUG:: image cache thread count: 25
18:50:52.599 T:1822757616  NOTICE: Previous line repeats 1 times.
18:50:52.599 T:1822757616  NOTICE: EMBY.playbackutils -> Play called: Live From Madison Square Garden (feat. Steve Winwood)
18:50:52.625 T:1822757616  NOTICE: EMBY.downloadutils -> DEBUG:: ===== ENTER downloadUrl =====
18:50:52.648 T:1822757616  NOTICE: EMBY.downloadutils -> DEBUG:: {'headers': {'Accept-Charset': 'UTF-8,*', 'Accept-encoding': 'gzip', 'X-MediaBrowser-Token': u'{emby-token}', 'Content-type': 'application/json', 'Authorization': 'MediaBrowser UserId="0717b7a249a14ea8856a3228c5e2e115", Client="Kodi", Device="Kodi-Bedroom", DeviceId="BEE898FF123E4591A4E402F482274B38", Version="3.0.14a"', 'User-Agent': 'Emby-Kodi'}, 'json': {'DeviceProfile': {'Name': 'Kodi', 'MaxStreamingBitrate': 2147483000, 'Identification': {'Headers': [{'Match': 2, 'Name': 'User-Agent', 'Value': 'Kodi'}], 'ModelName': 'Kodi'}, 'ContainerProfiles': [], 'TranscodingProfiles': [{'Type': 0, 'Container': 'mp3', 'AudioCodec': 'mp3'}, {'Type': 1, 'VideoCodec': 'h264', 'Container': 'ts', 'AudioCodec': 'aac'}, {'Type': 2, 'Container': 'jpeg'}], 'SubtitleProfiles': [{'Method': 2, 'Format': 'srt'}, {'Method': 2, 'Format': 'sub'}, {'Method': 1, 'Format': 'srt'}, {'DidlMode': '', 'Method': 1, 'Format': 'ass'}, {'DidlMode': '', 'Method': 1, 'Format': 'ssa'}, {'DidlMode': '', 'Method': 1, 'Format': 'smi'}, {'DidlMode': '', 'Method': 1, 'Format': 'dvdsub'}, {'DidlMode': '', 'Method': 1, 'Format': 'pgs'}, {'DidlMode': '', 'Method': 1, 'Format': 'pgssub'}, {'DidlMode': '', 'Method': 1, 'Format': 'sub'}], 'MusicStreamingTranscodingBitrate': 1280000, 'CodecProfiles': [], 'ResponseProfiles': [], 'DirectPlayProfiles': [{'Type': 0, 'Container': ''}, {'Type': 1, 'Container': ''}, {'Type': 2, 'Container': ''}], 'TimelineOffsetSeconds': 5}, 'StartTimeTicks': 0, 'LiveStreamId': None, 'SubtitleStreamIndex': None, 'UserId': '0717b7a249a14ea8856a3228c5e2e115', 'MediaSourceId': None, 'AudioStreamIndex': None}, 'params': None, 'timeout': 30, 'url': u'{emby-server}/emby/Items/93d9c23caecd0a91b36a8b7a9cb87034/PlaybackInfo', 'verify': False}
18:50:52.679 T:1822757616  NOTICE: EMBY.downloadutils -> DEBUG:: ====== 200 Success ======
18:50:52.698 T:1822757616  NOTICE: EMBY.downloadutils -> DEBUG:: Response: {u'PlaySessionId': u'831c435a0912472c9d8efc1cace541f6', u'MediaSources': [{u'SupportsDirectStream': True, u'Container': u'mkv', u'RequiresClosing': False, u'IgnoreDts': False, u'IgnoreIndex': False, u'DefaultAudioStreamIndex': 1, u'SupportsDirectPlay': True, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.9760246, u'TimeBase': u'1/1000', u'Width': 624, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'Main', u'DisplayTitle': u'H264', u'NalLengthSize': u'4', u'CodecTimeBase': u'1001/48000', u'RealFrameRate': 23.9760246, u'Level': 30, u'RefFrames': 1, u'BitDepth': 8, u'BitRate': 1491059, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 352, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'IsAnamorphic': False, u'IsInterlaced': False, u'DisplayTitle': u'Dolby Digital stereo Default', u'SupportsExternalStream': False, u'ChannelLayout': u'stereo', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'ac3', u'CodecTimeBase': u'1/48000', u'TimeBase': u'1/1000', u'SampleRate': 48000, u'BitRate': 384000, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'/mnt/storage1/music/concerts/E/Eric Clapton/Live From Madison Square Garden (feat. Steve Winwood) (2009)/Eric Clapton - Live From Madison Square Garden (feat. Steve Winwood) (2009).mkv', u'RequiresOpening': False, u'Bitrate': 1491059, u'IsRemote': False, u'Name': u'Eric Clapton - Live From Madison Square Garden (feat. Steve Winwood) (2009).mkv', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'GenPtsInput': False, u'VideoType': u'VideoFile', u'ETag': u'88b170ac9162755c3c2c4ae0e628adab', u'RunTimeTicks': 44411088896L, u'SupportsProbing': True, u'Id': u'93d9c23caecd0a91b36a8b7a9cb87034'}]}
18:50:52.731 T:1822757616  NOTICE: EMBY.playutils -> DEBUG:: get source: {u'SupportsDirectStream': True, u'Container': u'mkv', u'RequiresClosing': False, u'IgnoreDts': False, u'IgnoreIndex': False, u'DefaultAudioStreamIndex': 1, u'SupportsDirectPlay': True, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.9760246, u'TimeBase': u'1/1000', u'Width': 624, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'Main', u'DisplayTitle': u'H264', u'NalLengthSize': u'4', u'CodecTimeBase': u'1001/48000', u'RealFrameRate': 23.9760246, u'Level': 30, u'RefFrames': 1, u'BitDepth': 8, u'BitRate': 1491059, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 352, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'IsAnamorphic': False, u'IsInterlaced': False, u'DisplayTitle': u'Dolby Digital stereo Default', u'SupportsExternalStream': False, u'ChannelLayout': u'stereo', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'ac3', u'CodecTimeBase': u'1/48000', u'TimeBase': u'1/1000', u'SampleRate': 48000, u'BitRate': 384000, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'{emby-server}/emby/Videos/93d9c23caecd0a91b36a8b7a9cb87034/stream?static=true&MediaSourceId=93d9c23caecd0a91b36a8b7a9cb87034&PlaySessionId=fc7690879ea64eef8daa91a0b94d635c&api_key={emby-token}', u'RequiresOpening': False, u'Bitrate': 1491059, u'IsRemote': False, u'Name': u'Eric Clapton - Live From Madison Square Garden (feat. Steve Winwood) (2009).mkv', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'GenPtsInput': False, u'VideoType': u'VideoFile', u'ETag': u'88b170ac9162755c3c2c4ae0e628adab', u'RunTimeTicks': 44411088896L, u'SupportsProbing': True, u'Id': u'93d9c23caecd0a91b36a8b7a9cb87034'}
18:50:52.746 T:1822757616  NOTICE: EMBY.playutils -> playback info: {u'SupportsDirectStream': True, u'Container': u'mkv', u'RequiresClosing': False, u'IgnoreDts': False, u'IgnoreIndex': False, u'DefaultAudioStreamIndex': 1, u'SupportsDirectPlay': True, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.9760246, u'TimeBase': u'1/1000', u'Width': 624, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'Main', u'DisplayTitle': u'H264', u'NalLengthSize': u'4', u'CodecTimeBase': u'1001/48000', u'RealFrameRate': 23.9760246, u'Level': 30, u'RefFrames': 1, u'BitDepth': 8, u'BitRate': 1491059, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 352, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'IsAnamorphic': False, u'IsInterlaced': False, u'DisplayTitle': u'Dolby Digital stereo Default', u'SupportsExternalStream': False, u'ChannelLayout': u'stereo', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'ac3', u'CodecTimeBase': u'1/48000', u'TimeBase': u'1/1000', u'SampleRate': 48000, u'BitRate': 384000, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'{emby-server}/emby/Videos/93d9c23caecd0a91b36a8b7a9cb87034/stream?static=true&MediaSourceId=93d9c23caecd0a91b36a8b7a9cb87034&PlaySessionId=fc7690879ea64eef8daa91a0b94d635c&api_key={emby-token}', u'RequiresOpening': False, u'Bitrate': 1491059, u'IsRemote': False, u'Name': u'Eric Clapton - Live From Madison Square Garden (feat. Steve Winwood) (2009).mkv', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'GenPtsInput': False, u'VideoType': u'VideoFile', u'ETag': u'88b170ac9162755c3c2c4ae0e628adab', u'RunTimeTicks': 44411088896L, u'SupportsProbing': True, u'Id': u'93d9c23caecd0a91b36a8b7a9cb87034'}
18:50:52.761 T:1822757616  NOTICE: EMBY.playutils -> play method: DirectStream play url: {emby-server}/emby/Videos/93d9c23caecd0a91b36a8b7a9cb87034/stream?static=true&MediaSourceId=93d9c23caecd0a91b36a8b7a9cb87034&PlaySessionId=fc7690879ea64eef8daa91a0b94d635c&api_key={emby-token}
18:50:52.818 T:1822757616  NOTICE: EMBY.playbackutils -> Detected widget.
18:50:52.834 T:1822757616  NOTICE: EMBY.playbackutils -> Playback activated via the context menu or widgets.
18:50:52.924 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"49be0d67dfa88d7213d34a5a681d2098","Progress":"37.7127503663898"}}
18:50:52.943 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"7e64e319657a9516ec78490da03edccb","Progress":"37.7127503663898"}}
18:50:52.959 T:1922232160  NOTICE: VideoPlayer::OpenFile: http://192.168.0.203:8096/emby/Videos/93d9c23caecd0a91b36a8b7a9cb87034/stream?static=true&MediaSourceId=93d9c23caecd0a91b36a8b7a9cb87034&PlaySessionId=fc7690879ea64eef8daa91a0b94d635c&api_key=096c98baf2ac4544a065a5ce2513a6bb
18:50:52.964 T:1478488816  NOTICE: Creating InputStream
18:50:53.003 T:1478488816  NOTICE: Creating Demuxer
18:50:53.073 T:1478488816  NOTICE: Opening stream: 0 source: 256
18:50:53.073 T:1478488816  NOTICE: Creating video codec with codec id: 28
18:50:53.088 T:1478488816  NOTICE: Creating video thread
18:50:53.088 T:1062204144  NOTICE: running thread: video_thread
18:50:53.089 T:1478488816  NOTICE: Opening stream: 1 source: 256
18:50:53.089 T:1478488816  NOTICE: Finding audio codec for: 86019
18:50:53.090 T:1478488816  NOTICE: Creating audio thread
18:50:53.099 T:939516656  NOTICE: running thread: CVideoPlayerAudio::Process()
18:50:53.106 T:939516656  NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, no pass-through)
18:50:53.290 T:1822757616 WARNING: CPythonInvoker(41, /home/osmc/.kodi/addons/plugin.video.emby.musicvideos/default.py): the python script "/home/osmc/.kodi/addons/plugin.video.emby.musicvideos/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
18:50:53.414 T:1729098480  NOTICE: EMBY.kodimonitor -> Method: Player.OnPlay Data: {"item":{"id":22249,"type":"musicvideo"},"player":{"playerid":1,"speed":1}}
18:50:53.431 T:1729098480  NOTICE: EMBY.kodimonitor -> kodi_id: 22249 item_type: musicvideo
18:50:53.459 T:1729098480  NOTICE: EMBY.kodimonitor -> Method: Unknown.OnChanged Data: null
18:50:53.617 T:1729098480  NOTICE: EMBY.player -> ONPLAYBACK_STARTED: {emby-server}/emby/Videos/93d9c23caecd0a91b36a8b7a9cb87034/stream?static=true&MediaSourceId=93d9c23caecd0a91b36a8b7a9cb87034&PlaySessionId=fc7690879ea64eef8daa91a0b94d635c&api_key={emby-token} itemid: 93d9c23caecd0a91b36a8b7a9cb87034
18:50:53.635 T:1729098480  NOTICE: EMBY.player -> DEBUG:: Sending POST play started: {'ItemId': u'93d9c23caecd0a91b36a8b7a9cb87034', 'PlaySessionId': u'fc7690879ea64eef8daa91a0b94d635c', 'QueueableMediaTypes': 'Video,Audio', 'SubtitleStreamIndex': '', 'MediaSourceId': u'93d9c23caecd0a91b36a8b7a9cb87034', 'IsMuted': False, 'PositionTicks': 1300000, 'CanSeek': True, 'VolumeLevel': 100, 'PlayMethod': u'DirectStream', 'AudioStreamIndex': 1}.
18:50:53.651 T:1729098480  NOTICE: EMBY.downloadutils -> DEBUG:: ===== ENTER downloadUrl =====
18:50:53.672 T:1729098480  NOTICE: EMBY.downloadutils -> DEBUG:: {'url': '{emby-server}/emby/Sessions/Playing', 'json': {'ItemId': u'93d9c23caecd0a91b36a8b7a9cb87034', 'PlaySessionId': u'fc7690879ea64eef8daa91a0b94d635c', 'QueueableMediaTypes': 'Video,Audio', 'SubtitleStreamIndex': '', 'MediaSourceId': u'93d9c23caecd0a91b36a8b7a9cb87034', 'IsMuted': False, 'PositionTicks': 1300000, 'CanSeek': True, 'VolumeLevel': 100, 'PlayMethod': u'DirectStream', 'AudioStreamIndex': 1}, 'params': None, 'timeout': 30}
18:50:53.711 T:1729098480  NOTICE: EMBY.downloadutils -> DEBUG:: ====== 204 Success ======
18:50:53.728 T:1729098480  NOTICE: EMBY.player -> ADDING_FILE: {'{emby-server}/emby/Videos/93d9c23caecd0a91b36a8b7a9cb87034/stream?static=true&MediaSourceId=93d9c23caecd0a91b36a8b7a9cb87034&PlaySessionId=fc7690879ea64eef8daa91a0b94d635c&api_key={emby-token}': {'currentfile': '{emby-server}/emby/Videos/93d9c23caecd0a91b36a8b7a9cb87034/stream?static=true&MediaSourceId=93d9c23caecd0a91b36a8b7a9cb87034&PlaySessionId=fc7690879ea64eef8daa91a0b94d635c&api_key={emby-token}', 'SubtitleStreamIndex': '', 'playsession_id': u'fc7690879ea64eef8daa91a0b94d635c', 'AudioStreamIndex': 1, 'mediasource_id': u'93d9c23caecd0a91b36a8b7a9cb87034', 'item_id': u'93d9c23caecd0a91b36a8b7a9cb87034', 'Type': u'MusicVideo', 'playmethod': u'DirectStream', 'refresh_id': u'93d9c23caecd0a91b36a8b7a9cb87034', 'currentPosition': 0, 'runtime': 44411088896L}}
18:50:53.779 T:1729098480  NOTICE: EMBY.player -> DEBUG:: reportPlayback Called
18:50:53.797 T:1729098480  NOTICE: EMBY.player -> DEBUG:: Report: {'ItemId': u'93d9c23caecd0a91b36a8b7a9cb87034', 'PlaySessionId': u'fc7690879ea64eef8daa91a0b94d635c', 'QueueableMediaTypes': 'Video', 'SubtitleStreamIndex': '', 'MediaSourceId': u'93d9c23caecd0a91b36a8b7a9cb87034', 'IsMuted': False, 'PositionTicks': 3330000, 'IsPaused': False, 'CanSeek': True, 'VolumeLevel': 100, 'PlayMethod': u'DirectStream', 'AudioStreamIndex': 1}
18:50:53.819 T:1729098480  NOTICE: EMBY.downloadutils -> DEBUG:: ===== ENTER downloadUrl =====
18:50:53.839 T:1729098480  NOTICE: EMBY.downloadutils -> DEBUG:: {'url': '{emby-server}/emby/Sessions/Playing/Progress', 'json': {'ItemId': u'93d9c23caecd0a91b36a8b7a9cb87034', 'PlaySessionId': u'fc7690879ea64eef8daa91a0b94d635c', 'QueueableMediaTypes': 'Video', 'SubtitleStreamIndex': '', 'MediaSourceId': u'93d9c23caecd0a91b36a8b7a9cb87034', 'IsMuted': False, 'PositionTicks': 3330000, 'IsPaused': False, 'CanSeek': True, 'VolumeLevel': 100, 'PlayMethod': u'DirectStream', 'AudioStreamIndex': 1}, 'params': None, 'timeout': 30}
18:50:53.864 T:1729098480  NOTICE: EMBY.downloadutils -> DEBUG:: ====== 204 Success ======
18:50:53.928 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"49be0d67dfa88d7213d34a5a681d2098","Progress":"37.9488031265266"}}
18:50:53.944 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"7e64e319657a9516ec78490da03edccb","Progress":"37.9488031265266"}}
18:50:54.123 T:1922232160  NOTICE: Samba is idle. Closing the remaining connections
18:50:54.205 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"UserDataChanged","Data":{"UserId":"0717b7a249a14ea8856a3228c5e2e115","UserDataList":[{"PlaybackPositionTicks":0,"PlayCount":8,"IsFavorite":false,"LastPlayedDate":"2018-03-10T17:50:53.6870690Z","Played":true,"Key":"93d9c23c-aecd-0a91-b36a-8b7a9cb87034","ItemId":"93d9c23caecd0a91b36a8b7a9cb87034"},{"UnplayedItemCount":1,"PlaybackPositionTicks":0,"PlayCount":0,"IsFavorite":false,"Played":false,"Key":"87385e5d-22fa-5d14-b15a-45eb975d0c31","ItemId":"87385e5d22fa5d14b15a45eb975d0c31"}]}}

FAIL (via node filter):

18:54:04.057 T:1922232160  NOTICE: VideoPlayer::OpenFile: videodb://musicvideos/artists/43694/22249/22249?albumid=22249&artistid=43694&xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22actors%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22artist%22%2c%22operator%22%3a%22startswith%22%2c%22value%22%3a%5b%22E%22%5d%7d%5d%7d%2c%22type%22%3a%22musicvideos%22%7d
18:54:04.062 T:922739440  NOTICE: Creating InputStream
18:54:04.065 T:1729098480  NOTICE: EMBY.kodimonitor -> Method: Playlist.OnClear Data: {"playlistid":1}
18:54:04.089 T:922739440 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.musicvideos/?dbid=22249&mode=play&id=93d9c23caecd0a91b36a8b7a9cb87034&filename=Eric+Clapton+-+Live+From+Madison+Square+Garden+%28feat.+Steve+Winwood%29+%282009%29.mkv
18:54:04.089 T:922739440   ERROR: CVideoPlayer::OpenInputStream - error opening [videodb://musicvideos/artists/43694/22249/22249?albumid=22249&artistid=43694&xsp=%7b%22group%22%3a%7b%22mixed%22%3afalse%2c%22type%22%3a%22actors%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22artist%22%2c%22operator%22%3a%22startswith%22%2c%22value%22%3a%5b%22E%22%5d%7d%5d%7d%2c%22type%22%3a%22musicvideos%22%7d]
18:54:04.090 T:922739440  NOTICE: CVideoPlayer::OnExit()
18:54:04.417 T:1729098480  NOTICE: EMBY.kodimonitor -> Method: Player.OnPlay Data: {"item":{"id":22249,"type":"musicvideo"},"player":{"playerid":1,"speed":1}}
18:54:04.462 T:1729098480  NOTICE: EMBY.kodimonitor -> kodi_id: 22249 item_type: musicvideo
18:54:04.487 T:1729098480  NOTICE: EMBY.kodimonitor -> Method: Unknown.OnChanged Data: null
18:54:05.091 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"7c9948ee753cf51ce1b7f00e633d3dba","Progress":"38.8700414937759"}}
18:54:05.486 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"7e64e319657a9516ec78490da03edccb","Progress":"38.8700414937759"}}
18:54:05.545 T:1729098480  NOTICE: EMBY.kodimonitor -> Method: VideoLibrary.OnUpdate Data: {"item":{"id":22249,"type":"musicvideo"}}
18:54:05.662 T:1729098480  NOTICE: EMBY.database -> opened: /home/osmc/.kodi/userdata/Database/emby.db - 1313393360
18:54:05.758 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"7c9948ee753cf51ce1b7f00e633d3dba","Progress":"39.0804979253112"}}
18:54:05.904 T:1729098480  NOTICE: EMBY.database -> Verifying emby DB
18:54:05.990 T:1902113520  NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:1102)
18:54:06.053 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"7e64e319657a9516ec78490da03edccb","Progress":"39.0804979253112"}}
18:54:06.110 T:1729098480  NOTICE: EMBY.database -> closing: /home/osmc/.kodi/userdata/Database/emby.db - 1313393360
18:54:06.130 T:1729098480  NOTICE: EMBY.downloadutils -> DEBUG:: ===== ENTER downloadUrl =====
18:54:06.269 T:1729098480  NOTICE: EMBY.downloadutils -> DEBUG:: {'url': u'{emby-server}/emby/Users/0717b7a249a14ea8856a3228c5e2e115/PlayedItems/93d9c23caecd0a91b36a8b7a9cb87034?format=json', 'json': None, 'params': None, 'timeout': 30}
18:54:06.647 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"7c9948ee753cf51ce1b7f00e633d3dba","Progress":"39.5648132780083"}}
18:54:06.855 T:1180955376  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"RefreshProgress","Data":{"ItemId":"7e64e319657a9516ec78490da03edccb","Progress":"39.5648132780083"}}
@quickmic
Copy link
Collaborator Author

quickmic commented Mar 10, 2018

btw, I'm using Kodi 18 Leia, but I think this is not the problem here.
Plugin 3.0.14a, but is was also in 13 and before

@angelblue05
Copy link
Collaborator

Sorry I don't always check github issues. That's why in the readme I said post to the emby forums as I'm available there, daily.

Leia playback is not going to work at the moment. Changes were made in the way files are played and I have to make adjustments in the add-on to fix it.

@quickmic
Copy link
Collaborator Author

No problem, it's not that urgend. But good to hear this seems to be a Leia only issue. I assumed that is a general issue. When I've a bit time, I'll give it a shot on Kodi 17 to verify.

@semool
Copy link

semool commented Mar 19, 2018

only as additional info with an strm file. With Kodi Leia Nightly from 14.03 it works, with newer Versions not:

18:44:21.802 T:138059748432  NOTICE: EMBY.playutils -> play method: DirectPlay play url: plugin://plugin.video.osmosis/?url=plugin&mode=10&mediaType=show&episode=s2e10&showid=46|Marvel's Jessica Jones
18:44:27.835 T:138440328272  NOTICE: VideoPlayer::OpenFile: http://localhost:50334/manifest?id=80130323
18:44:27.837 T:138059748432  NOTICE: Creating InputStream
18:44:27.875 T:138059748432   ERROR: AddOnLog: InputStream Adaptive: Key system request: com.widevine.alpha
18:44:27.876 T:138059748432 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/d9e9751125b26f1de09752d1a09a9753/?dbid=10756&mode=play&id=3886dca402b0d642a14d15be2c4c8160&filename=s2e10.strm|acceptencoding=gzip&seekable=0&user-agent=Mozilla%2f5.0%20(X11%3b%20Linux%20x86_64)%20AppleWebKit%2f537.36%20(KHTML%2c%20like%20Gecko)%20Chrome%2f59.0.3071.115%20Safari%2f537.36
18:44:27.877 T:138059748432   ERROR: AddOnLog: InputStream Adaptive: Cannot download plugin://plugin.video.emby.tvshows/d9e9751125b26f1de09752d1a09a9753/?dbid=10756&mode=play&id=3886dca402b0d642a14d15be2c4c8160&filename=s2e10.strm
18:44:27.878 T:138059748432   ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (plugin://plugin.video.emby.tvshows/d9e9751125b26f1de09752d1a09a9753/?dbid=10756&mode=play&id=3886dca402b0d642a14d15be2c4c8160&filename=s2e10.strm)
18:44:27.879 T:138059748432   ERROR: CVideoPlayer::OpenInputStream - error opening [http://localhost:50334/manifest?id=80130323]
18:44:27.879 T:138059748432  NOTICE: CVideoPlayer::OnExit()
18:44:27.923 T:138603783248   ERROR: EXCEPTION: XBMC is not playing any file

@quickmic
Copy link
Collaborator Author

Really, I don't think so. I use osmc dev builds for a couple of month and it never worked:
http://download.osmc.tv/dev/gmc-18/
Just to make sure we are no talking about different topics here. I don't say it's not working at all.
The problem is, when I select a musicvideo file (maybe others as well) via a self configured node-filter it's not working.
When I use the stock implemented filter (e.g. recently added music videos) it works fine.

@quickmic
Copy link
Collaborator Author

Looks like it's working now with the latest build from Kodi 18 (nightly) and your Plugin :)
Thanks for fixing. I will run a few more tests but I think the thread can be closed.

@angelblue05
Copy link
Collaborator

Thank you for keeping me posted. Glad it is resolved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants