Solved strm files
#38
@FernetMenta 

I think I reached my max for now, so I'll just wait for you. Just ping me when you are ready to look into this. Thank you :-)

I really can't figure out why playing the first item in the playlist, moving to the next item with auto play makes the video buffer infinitely. Everything is called correctly, I see the artwork is loaded, metadata filled, but the video itself is stuck in buffer mode forever until I hit stop playback.

If instead, I play the second item in the list, and move to the next item with auto play, everything works as intended. I really don't know why it would behave differently.

Here are the changes I made to test strm as non-playlist, which works for the most part except for what I explained above:
Quote:PlayListFactory.cpp
https://github.com/xbmc/xbmc/blob/master...y.cpp#L142
Changes: ".m3u|.b4s|.pls|.wpl|.asx|.ram|.url|.pxml");
https://github.com/xbmc/xbmc/blob/master...y.cpp#L148
Changes: ".m3u|.b4s|.pls|.wpl|.asx|.ram|.url|.pxml");

Application.cpp
https://github.com/xbmc/xbmc/blob/384894...3038-L3045
Changes:  

std::string path = item.GetDynPath();
if (path.empty())
  path = item.GetPath();

if (item.IsPlugin() || URIUtils::IsPlugin(path))
{ // we modify the item so that it becomes a real URL
  bool resume = item.m_lStartOffset == STARTOFFSET_RESUME;
  CFileItem item_new(item);
  if (XFILE::CPluginDirectory::GetPluginResult(path, item_new, resume))
    // removed std::move, otherwise it always buffers indefinitely with auto-play
    // but it buffers forever without auto-play and play from here is used.
    return PlayFile(item_new, player, false);
  return false;
}
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average


Messages In This Thread
strm files - by angelblue05 - 2018-03-09, 00:27
strm files - by angelblue05 - 2018-03-11, 21:49
RE: strm files - by Koying - 2018-03-11, 22:02
strm files - by angelblue05 - 2018-03-11, 22:28
RE: strm files - by angelblue05 - 2018-03-12, 03:21
RE: strm files - by FernetMenta - 2018-03-12, 09:40
strm files - by angelblue05 - 2018-03-12, 12:23
RE: strm files - by Koying - 2018-03-12, 16:10
RE: strm files - by FernetMenta - 2018-03-12, 19:43
strm files - by angelblue05 - 2018-03-12, 22:57
strm files - by Koying - 2018-03-13, 09:52
RE: strm files - by FernetMenta - 2018-03-13, 11:26
RE: strm files - by FernetMenta - 2018-03-14, 20:46
RE: strm files - by angelblue05 - 2018-03-15, 00:59
RE: strm files - by jjd-uk - 2018-03-16, 16:16
strm files - by angelblue05 - 2018-03-17, 16:11
RE: strm files - by jjd-uk - 2018-03-17, 17:04
RE: strm files - by angelblue05 - 2018-03-18, 01:38
RE: strm files - by angelblue05 - 2018-03-18, 08:47
RE: strm files - by jjd-uk - 2018-03-18, 11:32
RE: strm files - by angelblue05 - 2018-03-18, 12:02
RE: strm files - by angelblue05 - 2018-03-19, 05:40
RE: strm files - by angelblue05 - 2018-04-02, 12:27
RE: strm files - by FernetMenta - 2018-04-02, 19:12
RE: strm files - by angelblue05 - 2018-04-02, 23:37
RE: strm files - by FernetMenta - 2018-04-03, 12:00
RE: strm files - by angelblue05 - 2018-04-03, 12:20
RE: strm files - by angelblue05 - 2018-04-07, 13:40
RE: strm files - by FernetMenta - 2018-04-08, 10:17
strm files - by angelblue05 - 2018-04-08, 10:40
RE: strm files - by LongMan - 2018-04-08, 22:27
strm files - by angelblue05 - 2018-04-09, 00:17
RE: strm files - by Wimpie - 2018-04-09, 13:09
RE: strm files - by LongMan - 2018-04-09, 16:25
RE: strm files - by angelblue05 - 2018-04-13, 02:55
RE: strm files - by FernetMenta - 2018-04-13, 10:20
RE: strm files - by angelblue05 - 2018-04-14, 00:21
RE: strm files - by angelblue05 - 2018-04-14, 11:59
RE: strm files - by FernetMenta - 2018-04-15, 16:04
RE: strm files - by FernetMenta - 2018-04-15, 16:59
RE: strm files - by angelblue05 - 2018-04-16, 02:40
RE: strm files - by semool - 2018-04-21, 17:47


Logout Mark Read Team Forum Stats Members Help
strm files00