Jump to content

Bug: 4.0.0 musicvideo selection via node


quickmic

Recommended Posts

quickmic

Hello

08:31:12.098 T:1902112992  NOTICE: Creating InputStream
08:31:42.141 T:1902112992   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
08:31:42.141 T:1902112992   ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:57578/emby/kodi/musicvideos/269993/file.strm?KodiId=37132&Name=3+Doors+Down+-+One+Light.mkv&Id=269993:
08:31:42.141 T:1902112992   ERROR: Open - failed to open source <http://127.0.0.1:57578/emby/kodi/musicvideos/269993/file.strm?KodiId=37132&Name=3+Doors+Down+-+One+Light.mkv&Id=269993>
08:31:42.141 T:1902112992   ERROR: Open - failed to open source <videodb://musicvideos/titles/37132?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22artist%22%7d%2c%22rules%22%3a%7b%22or%22%3a%5b%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%22alternative%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22alternative%20-%20%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22%20-%20alternative%22%5d%7d%5d%7d%2c%22type%22%3a%22musicvideos%22%7d>
08:31:42.142 T:1902112992   ERROR: CVideoPlayer::OpenInputStream - error opening [videodb://musicvideos/titles/37132?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22artist%22%7d%2c%22rules%22%3a%7b%22or%22%3a%5b%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%22alternative%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22alternative%20-%20%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22%20-%20alternative%22%5d%7d%5d%7d%2c%22type%22%3a%22musicvideos%22%7d]
08:31:42.142 T:1902112992  NOTICE: CVideoPlayer::OnExit()
08:31:42.184 T:4066783248  NOTICE: CVideoPlayer::CloseFile()
08:31:42.184 T:4066783248  NOTICE: VideoPlayer: waiting for threads to exit
08:31:42.184 T:4066783248  NOTICE: VideoPlayer: finished waiting
08:31:46.306 T:3702517984  NOTICE: EMBY.webservice -> Webservice called with params: {'KodiId': '37132', 'Name': '3 Doors Down - One Light.mkv', 'Id': '269993'}
08:31:47.333 T:3702517984  NOTICE: EMBY.webservice -> ERROR:: [Errno 32] Broken pipe
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/plugin.video.emby/resources/lib/webservice.py", line 172, in handle_request
                                                self.send_response(200)
                                              File "/usr/lib/python2.7/BaseHTTPServer.py", line 406, in send_response
                                                self.send_header('Server', self.version_string())
                                              File "/usr/lib/python2.7/BaseHTTPServer.py", line 412, in send_header
                                                self.wfile.write("%s: %s\r\n" % (keyword, value))
                                              File "/usr/lib/python2.7/socket.py", line 328, in write
                                                self.flush()
                                              File "/usr/lib/python2.7/socket.py", line 307, in flush
                                                self._sock.sendall(view[write_offset:write_offset+buffer_size])
                                            error: [Errno 32] Broken pipe
08:32:01.384 T:3165642976   ERROR: EXCEPTION: XBMC is not playing any file
08:32:01.840 T:3165642976   ERROR: Previous line repeats 1 times.

@angelblue

 

please let me know, if you need additional information for tracing the bug, cause this issue appears only with my custom node.

 

 

Link to comment
Share on other sites

Angelblue05

Thanks for reporting, I'll let you know if I need more. When you say your custom node, can you define what you mean? I do have some music videos setup for testing, I'd like to replicate your issue on my side if possible.

Link to comment
Share on other sites

quickmic

My custom genre node (here is the issue):

<?xml version='1.0' encoding='UTF-8'?>
<node order="40" type="filter">
        <label>Alternative</label>
        <content>musicvideos</content>
        <match>one</match>
        <rule field="genre" operator="is">alternative</rule>
        <rule field="genre" operator="contains">alternative - </rule>
        <rule field="genre" operator="contains"> - alternative</rule>
        <order direction="ascending">artist</order>
</node>

But it works via "recently played" (default node)

 

If you cannot trace it, I can post the logs custom-gerne-node vs  recently played-node.

Edited by quickmic
  • Like 1
Link to comment
Share on other sites

quickmic

Custom genre node (issue):
09:27:15.845 T:3081736416 NOTICE: EMBY.player -> --<[ playback ]
09:27:18.386 T:3081736416 NOTICE: EMBY.monitor -> [ playlist ] cleared
09:27:18.416 T:3081736416 ERROR: EXCEPTION: XBMC is not playing any file
09:27:28.607 T:4064350224 ERROR: Previous line repeats 3 times.
09:27:28.607 T:4064350224 NOTICE: VideoPlayer::OpenFile: videodb://musicvideos/titles/37132?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22artist%22%7d%2c%22rules%22%3a%7b%22or%22%3a%5b%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%22alternative%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22alternative%20-%20%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22%20-%20alternative%22%5d%7d%5d%7d%2c%22type%22%3a%22musicvideos%22%7d
09:27:28.608 T:2521813216 NOTICE: Creating InputStream
09:27:58.641 T:2521813216 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
09:27:58.641 T:2521813216 ERROR: CCurlFile::Open failed with code 0 for http://127.0.0.1:57578/emby/kodi/musicvideos/269993/file.strm?KodiId=37132&Name=3+Doors+Down+-+One+Light.mkv&Id=269993:
09:27:58.641 T:2521813216 ERROR: Open - failed to open source <http://127.0.0.1:57578/emby/kodi/musicvideos/269993/file.strm?KodiId=37132&Name=3+Doors+Down+-+One+Light.mkv&Id=269993>
09:27:58.642 T:2521813216 ERROR: Open - failed to open source <videodb://musicvideos/titles/37132?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22artist%22%7d%2c%22rules%22%3a%7b%22or%22%3a%5b%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%22alternative%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22alternative%20-%20%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22%20-%20alternative%22%5d%7d%5d%7d%2c%22type%22%3a%22musicvideos%22%7d>
09:27:58.642 T:2521813216 ERROR: CVideoPlayer::OpenInputStream - error opening [videodb://musicvideos/titles/37132?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22artist%22%7d%2c%22rules%22%3a%7b%22or%22%3a%5b%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%22alternative%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22alternative%20-%20%22%5d%7d%2c%7b%22field%22%3a%22genre%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22%20-%20alternative%22%5d%7d%5d%7d%2c%22type%22%3a%22musicvideos%22%7d]
09:27:58.642 T:2521813216 NOTICE: CVideoPlayer::OnExit()
09:28:09.039 T:2733605088 NOTICE: EMBY.webservice -> Webservice called with params: {'KodiId': '37132', 'Name': '3 Doors Down - One Light.mkv', 'Id': '269993'}
09:28:13.864 T:2733605088 NOTICE: EMBY.webservice -> ERROR:: [Errno 32] Broken pipe
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.emby/resources/lib/webservice.py", line 172, in handle_request
self.send_response(200)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 406, in send_response
self.send_header('Server', self.version_string())
File "/usr/lib/python2.7/BaseHTTPServer.py", line 412, in send_header
self.wfile.write("%s: %s\r\n" % (keyword, value))
File "/usr/lib/python2.7/socket.py", line 328, in write
self.flush()
File "/usr/lib/python2.7/socket.py", line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
09:28:56.307 T:3081736416 ERROR: EXCEPTION: XBMC is not playing any file
09:28:59.117 T:3081736416 ERROR: Previous line repeats 1 times.
09:28:59.117 T:3081736416 NOTICE: EMBY.objects.actions -> [ play ] kodi_id: 37132 media: musicvideo
09:28:59.156 T:3081736416 ERROR: EXCEPTION: XBMC is not playing any file
09:29:10.700 T:3081736416 ERROR: Previous line repeats 3 times.
09:29:10.700 T:3081736416 NOTICE: EMBY.player -> Cancel playback report
09:29:15.075 T:4064350224 NOTICE: Previous line repeats 1 times.
09:29:15.075 T:4064350224 NOTICE: CVideoPlayer::CloseFile()
09:29:15.075 T:4064350224 NOTICE: VideoPlayer: waiting for threads to exit
09:29:15.075 T:4064350224 NOTICE: VideoPlayer: finished waiting
09:29:15.358 T:3081736416 NOTICE: EMBY.objects.actions -> [ update/0 ] kodi_id: 37132 media: musicvideo


recently played node (works):



09:29:26.379 T:3081736416 NOTICE: EMBY.player -> --<[ playback ]
09:29:29.139 T:3081736416 NOTICE: EMBY.monitor -> [ playlist ] cleared
09:29:30.473 T:2733605088 NOTICE: EMBY.webservice -> Webservice called with params: {'KodiId': '37132', 'Name': '3 Doors Down - One Light.mkv', 'Id': '269993'}
09:29:58.980 T:2477777120 NOTICE: Previous line repeats 4 times.
09:29:58.980 T:2477777120 NOTICE: EMBY.entrypoint.default -> path: ?mode=play&id=269993&dbid=37132&filename=3 Doors Down - One Light.mkv&transcode=False params: {
"dbid": "37132",
"filename": "3 Doors Down - One Light.mkv",
"transcode": "False",
"mode": "play",
"id": "269993"
}
09:29:59.005 T:2477777120 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetItem ]
09:29:59.530 T:2477777120 NOTICE: EMBY.downloader -> --[ void/5225ded3-cb53-4fd5-a2bc-5461322d34b0 ]
09:30:00.378 T:2477777120 NOTICE: Previous line repeats 2 times.
09:30:00.378 T:2477777120 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetServerAddress ]
09:30:00.586 T:2477777120 NOTICE: EMBY.downloader -> --[ void/f3e5bd6d-e576-4cf5-9f71-9e67464ab9a4 ]
09:30:00.769 T:2477777120 NOTICE: EMBY.objects.actions -> [ play/269993 ] One Light
09:30:00.882 T:2477777120 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetToken ]
09:30:01.131 T:2477777120 NOTICE: EMBY.downloader -> --[ void/4d06faaf-f959-48ed-846c-468a149d8fb9 ]
09:30:01.259 T:2477777120 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetPlaybackInfo ]
09:30:01.426 T:2477777120 NOTICE: EMBY.downloader -> --[ void/d5a0966d-2ede-49e2-abbd-25d580b219d6 ]
09:30:01.666 T:2477777120 NOTICE: Previous line repeats 1 times.
09:30:01.666 T:2477777120 NOTICE: EMBY.helper.playutils -> {u'PlaySessionId': u'5ef2086cf9e3431ab7861002fc140b10', 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'Width': 1920, u'VideoRange': u'SDR', u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'TimeBase': u'1/1000', u'NalLengthSize': u'4', u'CodecTimeBase': u'1001/48000', u'RealFrameRate': 23.9760246, u'Level': 40, u'DisplayTitle': u'1080p H264', u'RefFrames': 1, u'BitDepth': 8, u'BitRate': 5353709, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 1080, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'Index': 1, u'DisplayTitle': u'Dolby Digital stereo Default', u'ChannelLayout': u'stereo', u'IsInterlaced': False, u'BitRate': 384000, u'SupportsExternalStream': False, u'IsTextSubtitleStream': False, u'Channels': 2, u'TimeBase': u'1/1000', u'Codec': u'ac3', u'IsForced': False, u'CodecTimeBase': u'1/44100', u'Level': 0, u'Type': u'Audio', u'SampleRate': 44100, u'IsDefault': True, u'IsExternal': False}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'/mnt/storage1/music/videos/3/3 Doors Down/No Info/3 Doors Down - One Light.mkv', u'RequiresOpening': False, u'Bitrate': 5353709, u'IsRemote': False, u'Name': u'3 Doors Down - One Light', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'DiscardCorruptPts': False, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'RunTimeTicks': 1779330048, u'FillWallClockDts': False, u'SupportsProbing': True, u'Id': u'e6cc255655c5b460d502261a05bbfa94', u'Size': 119075209}]}
09:30:01.676 T:2477777120 NOTICE: EMBY.helper.playutils -> Skip source selection.
09:30:01.699 T:2477777120 NOTICE: EMBY.helper.playutils -> --[ direct stream ]
09:30:02.211 T:4064350224 NOTICE: VideoPlayer::OpenFile: http://127.0.0.1:57578/emby/kodi/musicvideos/269993/file.strm?KodiId=37132&Name=3+Doors+Down+-+One+Light.mkv&Id=269993
09:30:02.226 T:2368696544 NOTICE: Creating InputStream
09:30:02.260 T:2368696544 NOTICE: Creating Demuxer
09:30:02.661 T:2368696544 NOTICE: Opening stream: 0 source: 256
09:30:02.661 T:2368696544 NOTICE: Creating video codec with codec id: 27
09:30:02.686 T:2368696544 NOTICE: Creating video thread
09:30:02.686 T:2198860000 NOTICE: running thread: video_thread
09:30:02.687 T:2368696544 NOTICE: Opening stream: 1 source: 256
09:30:02.687 T:2368696544 NOTICE: Finding audio codec for: 86019
09:30:02.688 T:2368696544 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
09:30:02.688 T:2368696544 NOTICE: Creating audio thread
09:30:02.688 T:2190467296 NOTICE: running thread: CVideoPlayerAudio::Process()
09:30:02.738 T:2198860000 NOTICE: CAMLCodec::OpenDecoder - using V4L2 pts format: 64Bit
09:30:02.748 T:2477777120 NOTICE: EMBY.objects.actions -> {u'jsonrpc': u'2.0', u'id': 1, u'result': {u'items': [{u'type': u'musicvideo', u'id': 37132, u'label': u'One Light'}], u'limits': {u'start': 0, u'total': 1, u'end': 1}}}
09:30:02.749 T:2190467296 NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 44100, no pass-through)
09:30:02.950 T:2477777120 NOTICE: EMBY.default -> ---<[ default ]
09:30:02.979 T:3081736416 NOTICE: EMBY.player -> -->[ play/269993 ] {'Volume': 47, u'PlaySessionId': u'5ef2086cf9e3431ab7861002fc140b10', u'SubsMapping': {}, u'CurrentPosition': 0, 'Muted': False, u'SubtitleStreamIndex': None, 'Server': <emby.Emby object at 0xa2646730>, 'Paused': False, u'MediaSourceId': u'e6cc255655c5b460d502261a05bbfa94', u'AudioStreamIndex': 1, u'DeviceId': u'4AEE0547AC524887AA55B3877A56D1D1', 'File': 'http://{emby-server}/emby/Videos/269993/stream?static=true&MediaSourceId=e6cc255655c5b460d502261a05bbfa94&api_key={emby-token}', u'PlayOption': u'Addon', u'CurrentEpisode': None, u'Path': u'http://{emby-server}/emby/Videos/269993/stream?static=true&MediaSourceId=e6cc255655c5b460d502261a05bbfa94&api_key={emby-token}', u'ServerId': None, u'Runtime': 1779330048, u'Type': u'MusicVideo', u'Id': u'269993', u'PlayMethod': u'DirectStream'}
09:30:04.426 T:3081736416 NOTICE: EMBY.objects.actions -> [ play ] kodi_id: 37132 media: musicvideo
09:30:07.356 T:3081736416 NOTICE: EMBY.player -> Setting audio: 1 subs: None

  • Like 1
Link to comment
Share on other sites

sualfred

from where do you access the custom node?

Because I cannot reproduce it on my end with a custom node.

 

Edit:

Do you link the custom node via a custom shortcut with the skin shortcuts script somewhere?

Edited by sualfred
  • Like 1
Link to comment
Share on other sites

quickmic

Well, I use Estuary MOD V2 with custom widget settings.

Actually the nodes are stored here:

/home/osmc/.kodi/userdata/library/video/musicvideos/

  • Like 1
Link to comment
Share on other sites

quickmic

btw, I guess you can drop it here as well:

/usr/share/kodi/system/library/video/musicvideos/

 

...default nodes location

Link to comment
Share on other sites

Angelblue05

Well, I use Estuary MOD V2 with custom widget settings.

Actually the nodes are stored here:

/home/osmc/.kodi/userdata/library/video/musicvideos/

That's where I stored it, and playback works via it.

 

Are you accessing that via Videos > Music Videos > Alternative? If not, does it work if you do?

Edited by Angelblue05
Link to comment
Share on other sites

Angelblue05

@@quickmic

 

So to clarify here, /home/osmc/.kodi/userdata/library/video/musicvideos/genres/alternative.xml

 

If so, still works here. What is your custom shortcut settings?

Link to comment
Share on other sites

quickmic

As test case, I also dropped the node here:

/home/osmc/.kodi/userdata/library/video/musicvideos/alternative.xml

Are you accessing that via Videos > Music Videos > Alternative? If not, does it work if you do?

I switched back to default skin and checked this way. Also not working...

 

I will rebuild my musicvideo db, just in case there is an issue. But actually, I don't think so.

  • Like 1
Link to comment
Share on other sites

Angelblue05

What platform is Kodi running on? And are you using a different default action than play?

Edited by Angelblue05
Link to comment
Share on other sites

quickmic

Test was on osmc.

I will try the same setup on PC (Linux Mint).

So I suggest, suspend the investigation, till I have more solid information.

Link to comment
Share on other sites

sualfred

Which device? A Vero or RPi?

 

For the future please post a full log so we get all informations.

Edited by sualfred
  • Like 1
Link to comment
Share on other sites

quickmic

Vero 4k

 

For the future please please post a full log so we get all informations.

 

 

ok, next time. btw same behaviour on my PC... Still checking if something is wrong on my setup.

Link to comment
Share on other sites

sualfred

And all default nodes are working? It only affects your custom nodes?

 

Please post a full log of the PC. 

Link to comment
Share on other sites

quickmic

 

Please post a full log of the PC.

 

I will, don't push me :D

 

First I have to reproduce what is the exactly issue. I assume this is a kodi bug and not a emby-kodi bug.

Give me some time. I will make a good documentation, I promise.

Link to comment
Share on other sites

quickmic

Here is the documentation:

 

First approach is with Estuary MOD V2:

https://1drv.ms/u/s!AsC6yIANTPi5duXmul9oaoCAZEY

https://1drv.ms/u/s!AsC6yIANTPi5dLKiKhIithKnLTM

 

Second with default skin:

https://1drv.ms/u/s!AsC6yIANTPi5d83g4UF7jxZ-ozE

https://1drv.ms/u/s!AsC6yIANTPi5dTahzbdPLaNB38s

 

 

The node I used was:

<?xml version='1.0' encoding='UTF-8'?>
<node order="2" type="filter" visible="Library.HasContent(MusicVideos)">
  <label>MY TEST NODE</label>
  <content>musicvideos</content>
  <path>videodb://musicvideos/</path>
  <icon>DefaultRecentlyAddedMusicVideos.png</icon>
  <match>all</match>
  <rule field="tag" operator="contains">Music videos</rule>
  <order direction="descending">lastplayed</order>
</node>

So as you can see, it's actually not the node which causes the problem, it's the way how to trigger it.

Still thinking it's not a emby for kodi issue.

 

  • Like 1
Link to comment
Share on other sites

Angelblue05

You have a huge music video library. With that option enabled, Kodi queues up all of the videos in the current listing. It can take a very long time.

 

That's why we couldn't replicate, I only have two videos and Sualfred has one heh.

 

If you try to make a custom node that creates a small playlist, with less than 50 items, does the issue still happen with play next enabled?

Edited by Angelblue05
Link to comment
Share on other sites

quickmic

I test with only 8 videos in the list. Same behavior.

The only difference is, the GUI response is faster, but video still doesn't play.

  • Like 1
Link to comment
Share on other sites

sualfred

Was able to reproduce it with "auto play next" enabled for musicvideos.

Please disable that and try it via context menu "play from here". That works on my end.

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...