A Ziggo add-on would be cool. Are you planning to do a normal video add-on or a PVR-IP add-on or both ?

Right now I'm not planning anything, I'm just fiddling around to figure out if I am capable of getting any results That being said, maybe it should be both. PVR-IP for the live TV streams, video add-on for replay TV and the on demand content. What do you think?

(2017-08-06, 07:30)peak3d Wrote: AES-128 encryption is supported, SAMPLE-AES not as there was no usecase for this ntil now.

So am I reading this right, you are going to support SAMPLE-AES? My NBC Sports addon could really make use of that as they are switching the majority of the streams to SAMPLE-AES. If you need someone to test I'd be more than willing.

I'd like to start putting together a guide for this, because it seems awesome, but what's necessary to get going is not really clear at all. In particular, it'd be nice to have a guide that links to WIP addons that can make use of this, include the steps necessary to get things up and running (turn on adaptive stream, and OS specific actions necessary), and finally the steps necessary to made the addons work. So far, here's what I know and what I don't know. the questions here are genuine questions that I don't know the answer to.

1. Install a relatively recent Kodi 18 nightly. (Can I install a Win64 nightly?) Preferrably one from the past month.

3. If on Android, no need to install additional software. On other platforms, what do I have to install, and do I still need to do weird stuff involving copying folders around?

4. Install addons. Which ones? From where? No idea. I know you wrote a list of them in an earlier post, but, for example, I'm guessing the Netflix addon you are talking about isn't the same one in the Kodi forum that launches Chrome.

5. Setup these addons.

6. Play

Might be nice to have an FAQ section that answers the following questions:

Will the adaptive streaming stuff ever come turned on by default and why isn't it on by default now?

Why do I need to install additional software separately? (This one I know. The GPL. With that said, the GPL only requires the user to separately install it. This post makes me think you are also requiring the user to manually move folders post-install, which I think is a step more than the GPL requires. I may be misreading that though.

Since there's HLS support, any chance of a new Youtube addon where we can change resolutions midstream?

@natethomas I'll open a separate thread for inputstream.adaptive and repost your remarks / questions there
There'll be around 20 addons currently based / using inputstream.adaptive and plan is to write this stuff on the start post of this new thread

1) Check and enable / install the inpustream add-on
If not Android:
2) Check for ssd_wv and copy it do CDM folder
3) If not present, then download it
4) Download widevine and install in CDM folder

I'm sure @glennguy and myself would be happy to have a hand in making an official helper add-on.

The hardest part I find currently is matching a ssd_wv with correct version of inpustream.
Which makes it tricky to host these and make sure correct version is downloaded for the matching version of inputstream.
So possibly KODI could host these somewhere with names like 2.0.7-ssd_wv.dll where 2.0.7 is the matching version of inputstream.
It looks like newer version of inpustream always include the decrypter, but is this so for eg Ubuntu PPA etc?

Also, any progress on getting inpustream to work in Windows Store version?
I think something to do with the sandbox stopped it working.

(2017-08-24, 01:38)matthuisman Wrote: The hardest part I find currently is matching a ssd_wv with correct version of inpustream.

Some versions of LibreELEC (ie. my test builds) include /usr/lib/libssd_wv.so, and a built-in (and matched) version of inputstream.adaptive, and in this case the helper would just need to create a libssd_wv.so symbolic link in DECRYPTERPATH with /usr/lib/libssd_wv.so as the target.

My addon already searches those locations for it first and copies if found.
I copy just so it's platform independent and easier to remove when re-installing.
Instead of first checking if link, then unlink else remove.

The addon also stores the inpustream version in addon settings.
So, each time it's called, it checks the versions still match and both files exists in CDM.
If either of those fail - it simply runs the install code.

Code:

if (addon.getAddonInfo('version') == installed and
os.path.exists(os.path.join(cdm_path, config.WIDEVINECDM_DICT[system_])) and
os.path.exists(os.path.join(cdm_path, config.SSD_WV_DICT[system_]))):

This way, if CDM is deleted, or addon data deleted or inpustream updates - it forces a re-install.

I currently use the major version of inputstream when building path to online libssd.
eg. inpustream 1.X will point to /1.0/windows64/ssd_wv.dll
whereas inpustream 2.X will point to /2.0/windows64/ssd_wv.dll

I hope that a ssd_wv for 2.X will also work on all other 2.X versions.
i think this may not be the case however.
But, for later versions - hopefully most platforms should have it included anyway.

The one good thing about libssd is that it's very quick to compile.
I compile it for i386 as I couldn't find any already compiled for it.

OK so your helper addon runs every time another addon needs to use widevine, in which case libssd_wv.so should always match whatever is installed (in OS, or add-on)? If so that sounds fine.

However in terms of your copy, just one nit-pick (which others might not agree with). You're prioritising the addon path over the OS path - I'd always see the OS version of the file having priority over any add-on version myself. For instance, say the user has installed an add-on that included libssd_wv.so, then upgrades to a new version of the OS that includes a more recent version of the addon (built-in) and also a newer version of /usr/lib/libssd_wv.so so that now the built-in add-on is used in preference to the user-installed addon. Your copy code will continue to copy the older version of libssd_wv.so from the user-installed add-on path, and ignore the OS version.

However this discussion probably isn't appropriate for this thread. If it's an issue I guess we'll find out (PM me if you want to discuss it further).

Quick Links

About Kodi

Kodi is a free and open source media player application developed by the XBMC Foundation, a non-profit technology consortium.

Kodi is available for multiple operating-systems and hardware platforms, featuring a 10-foot user interface for use with televisions and remote controls. It allows users to play and view most videos, music, podcasts, and other digital media files from local and network storage media and the internet.