peak3d development roadmap
#81
@glennguy

Aha - using the master and not substream solved it.
Wow it's fast!


So, my code will check if inpustream version > 2.X.
If so, use inpustream for hls playback.
Otherwise, I will do what is done currently (parse m3u8 getting best quality substream)

Actually, I'll remove the parse m3u8 code - it has always felt a bit hacky.
Most users will be moving to 17.4 and get the inpustream speed.
Otherwise, the speed difference isn't huge (about 1-2 seconds quicker)

Now all we need is someone to update IPTV Simple Client to use inpustream when playing channels.

Or better yet, a PVR Client binary add-on that simply passes the methods down to a Python add-on that returns the required data.

pseudo code:
Code:
PVR_ERROR GetChannels(ADDON_HANDLE handle, bool bRadio)
    data = XBMC->RunPlugin(plugin://plugin.module.simpleiptv?func=getChannels&bRadio=bRadio)
    for channel in data:
       PVR_CHANNEL xbmcChannel;
       xbmcChannel.iChannelNumber   = channel.iChannelNumber;
       PVR->TransferChannelEntry(handle, &xbmcChannel);

The settings for this PVR Client add-on would allow you to select when "parser" add-on you want to use.

eg. channel list, epg list, & play. Then the inpustream code could be in python add-on..
It would make it so much easier to extend the functionality (multiple m3u8 lists etc).


I think I may have noticed maybe a bug with the HLS inpustream:

On some live streams, it's returning a duration (eg. 3mins)
Which means KODI gives you the option to "Resume from X"
Selecting this pretty much crashes KODI (endless loading).
Without hls, it works fine (no resume point)
Maybe there is a way to force no resume point?
(and yes - I am setting duration to 0 in the listitem info)
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average


Messages In This Thread
peak3d development roadmap - by peak3d - 2017-01-09, 15:25
RE: peak3d development roadmap - by M4tt0 - 2017-01-09, 17:00
RE: peak3d development roadmap - by nickr - 2017-01-09, 23:13
RE: peak3d development roadmap - by RockerC - 2017-01-10, 09:20
RE: peak3d development roadmap - by da-anda - 2017-01-10, 11:27
RE: peak3d development roadmap - by marantz - 2017-01-12, 13:49
RE: peak3d development roadmap - by peak3d - 2017-01-16, 13:55
RE: peak3d development roadmap - by Atreyu - 2017-01-18, 09:19
RE: peak3d development roadmap - by Meiden - 2017-02-23, 10:03
RE: peak3d development roadmap - by docwra - 2017-02-24, 17:45
RE: peak3d development roadmap - by peak3d - 2017-04-02, 22:34
RE: peak3d development roadmap - by peak3d - 2017-04-03, 12:44
RE: peak3d development roadmap - by peak3d - 2017-04-03, 13:07
RE: peak3d development roadmap - by RockerC - 2017-04-04, 11:27
RE: peak3d development roadmap - by peak3d - 2017-04-05, 19:39
RE: peak3d development roadmap - by DHaych88 - 2017-04-24, 04:41
RE: peak3d development roadmap - by DHaych88 - 2017-04-26, 02:18
RE: peak3d development roadmap - by peak3d - 2017-06-27, 11:48
RE: peak3d development roadmap - by docwra - 2017-06-27, 12:29
RE: peak3d development roadmap - by peak3d - 2017-06-27, 12:32
RE: peak3d development roadmap - by peak3d - 2017-06-27, 13:04
peak3d development roadmap - by Memphiz - 2017-06-27, 20:09
RE: peak3d development roadmap - by peak3d - 2017-06-27, 21:40
peak3d development roadmap - by Memphiz - 2017-06-28, 07:31
RE: peak3d development roadmap - by peak3d - 2017-06-28, 09:33
peak3d development roadmap - by Memphiz - 2017-07-05, 08:47
RE: peak3d development roadmap - by bsoriano - 2017-07-08, 19:29
RE: peak3d development roadmap - by peak3d - 2017-07-10, 14:43
RE: peak3d development roadmap - by peak3d - 2017-08-06, 07:30
RE: peak3d development roadmap - by V8MEM - 2017-08-06, 09:16
RE: peak3d development roadmap - by peak3d - 2017-08-06, 09:35
RE: peak3d development roadmap - by peak3d - 2017-08-08, 10:25
RE: peak3d development roadmap - by brulsmurf - 2017-08-07, 11:30
RE: peak3d development roadmap - by peak3d - 2017-08-08, 10:24
RE: peak3d development roadmap - by brulsmurf - 2017-08-08, 14:51
RE: peak3d development roadmap - by enen92 - 2017-08-07, 16:08
RE: peak3d development roadmap - by JinJin - 2017-08-07, 20:06
RE: peak3d development roadmap - by enen92 - 2017-08-08, 14:58
RE: peak3d development roadmap - by dr88dr88 - 2017-08-08, 18:12
RE: peak3d development roadmap - by brulsmurf - 2017-08-08, 20:12
RE: peak3d development roadmap - by peak3d - 2017-08-10, 10:36
RE: peak3d development roadmap - by Majide - 2017-08-10, 22:43
RE: peak3d development roadmap - by peak3d - 2017-08-11, 12:45
RE: peak3d development roadmap - by peak3d - 2017-08-22, 07:45
RE: peak3d development roadmap - by Milhouse - 2017-08-24, 02:52
RE: peak3d development roadmap - by Milhouse - 2017-08-24, 04:17
RE: peak3d development roadmap - by Milhouse - 2017-08-24, 05:38
RE: peak3d development roadmap - by Milhouse - 2017-08-24, 06:01
RE: peak3d development roadmap - by peak3d - 2017-08-24, 08:27
RE: peak3d development roadmap - by Milhouse - 2017-08-24, 10:35
RE: peak3d development roadmap - by peak3d - 2017-08-24, 12:39
RE: peak3d development roadmap - by JinJin - 2017-08-24, 11:32
RE: peak3d development roadmap - by peak3d - 2017-08-24, 13:50
RE: peak3d development roadmap - by Milhouse - 2017-08-24, 14:06
RE: peak3d development roadmap - by Milhouse - 2017-08-24, 23:59
RE: peak3d development roadmap - by Milhouse - 2017-08-25, 01:11
RE: peak3d development roadmap - by glennguy - 2017-08-26, 14:36
RE: peak3d development roadmap - by glennguy - 2017-08-29, 14:52
RE: peak3d development roadmap - by matthuisman - 2017-08-30, 07:44
RE: peak3d development roadmap - by Martijn - 2017-09-05, 16:58
RE: peak3d development roadmap - by micahg - 2017-09-08, 05:08
RE: peak3d development roadmap - by peak3d - 2017-09-08, 08:59
RE: peak3d development roadmap - by micahg - 2017-09-08, 15:54
RE: peak3d development roadmap - by micahg - 2017-09-17, 03:27
RE: peak3d development roadmap - by peak3d - 2017-09-17, 20:46
RE: peak3d development roadmap - by micahg - 2017-09-18, 03:29
RE: peak3d development roadmap - by Ed76 - 2019-01-12, 18:54
RE: peak3d development roadmap - by peak3d - 2019-01-13, 11:44
RE: peak3d development roadmap - by Varstahl - 2019-05-03, 09:26
RE: peak3d development roadmap - by CiNcH - 2019-01-18, 09:54
RE: peak3d development roadmap - by peak3d - 2019-01-23, 17:33
RE: peak3d development roadmap - by CiNcH - 2019-01-23, 17:43
RE: peak3d development roadmap - by peak3d - 2019-01-23, 18:01
RE: peak3d development roadmap - by afedchin - 2019-01-25, 14:13
RE: peak3d development roadmap - by CiNcH - 2019-01-25, 14:15


Logout Mark Read Team Forum Stats Members Help
peak3d development roadmap51