How to Put Binary Addons in an Own Repo
#1
I have a Problem
When there are Binry Addons:

i can make an Addon name
"Name.windows.64"
"Name.windows.32"
"Name.Raspberry"
...

I can add them in an Repo .
but it doesn't work with an Addon that requires the Binary Addon Since The name Variing
cant require it in the addon.xml

Using the Same name for all Versions is also not Possible

So is there a way how it could be done?
Reply
#2
why do you claim you cannot have multiple platforms in one addon.xml?

from /randomaddon:
Code:
<extension>
    point="xbmc.player.musicviz"
    library_linux="visualization.shadertoy.so.1.1.0"
    library_windx="visualization.shadertoy.dll"
    library_rbpi="visualization.shadertoy_rbpi.so.1.1.0"/>
</extension>

something else that is the problem?

that being said, for binary add-ons the idea has always been one repo per platform/arch. it just hasn't materialized yet..
Reply
#3
What would be the _PLATFORM form Rasberry1 and Rasberry2&3 ?

So i think one Repo per Platform would be a solution
Reply
#4
You might want to look how libreelec do it for their pvr addons (which are binary)
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#5
I tried now with seperate Repositorys For the Platform for Inputstream addons

I think there is still a Bug in Kodi17 on the input stream Addons. The DLL , Lib Files are Loaded. While Beeing Loaded the Lib Cant be Deleted
21:15:20 T:14672 ERROR: XFILE::CFile:Big Grinelete - Error deleting file C:\Users\lore\AppData\Roaming\Kodi\addons\inputstream.mpd\inputstream.mpd.dll
21:15:20 T:14672 ERROR: XFILE::CFile:Big Grinelete - Error deleting file special://home/addons/inputstream.mpd/inputstream.mpd.dll
21:15:20 T:14672 ERROR: XFILE::CFile:Big Grinelete - Error deleting file C:\Users\lore\AppData\Roaming\Kodi\addons\inputstream.mpd\inputstream.mpd.dll
21:15:20 T:14672 ERROR: XFILE::CFile:Big Grinelete - Error deleting file special://home/addons/inputstream.mpd/inputstream.mpd.dll
21:15:20 T:14672 ERROR: CAddonInstallJob[inputstream.mpd]: could not read addon description of special://home/addons/inputstream.mpd
(Also cant be deleted from Hand Since they are open)

So the update must deactivate the Plugin before updating it. Seems Updating the Input Stream Plugins will not work :-(
Mayby someone has an Idea
Reply
#6
right, missing a piece of logic in the installer. as this shit only bites on windows they tend to pass by the devs.
Reply
#7
Ive Written an addon für Magine(German Live TV Provider) that needs inputstream.mpd (1.2.14)+ Widevine
Theyar now in the Nightly but not in the Beta or Alphas. So an User Needs to Update.

Im optimist I hope that 2017 an Plugin for adobe DRM will come to Live. I think there will be an 1.2.15 When Netfix comes to Live...

For Widevine another DLL ist rreuqired,so im Looking for an easy way to help the User. So they can Install an Repo and get Autoupdates for the Addons

Hope i could make the Point, just Looking for the best way to do it
Reply
#8
I'm sure you know that shipping widevine isn't recommended at all!
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#9
afaik binary addons are treated as "system dlls" and they are therefore never released.
There is a PR for this wich should solve this issue: https://github.com/xbmc/xbmc/pull/10200

It was not clear if it is really used, but if binary addons remain open this PR should be considered.
Reply
#10
@Martijin: Not the DLL © Google. only the ddl that Calls the dll from Google. The User Still have to copy the Chrome DLL by themself. . So it should be save.

@peak3d
Thanks , so i hope it comes for the next beta
Reply
#11
Hi,
at first I would like to thank you for creating addon Magine for KODI and Your time. I tried use this addon without success - I tried to find solution seriously but after many days of looking for I decided to ask You as an author for advice. I can't find direct contact to You or some wiki or forum related to this addon - so I'm trying reply to some your old post related to Magine addon.

I have RPI1 platform with Libreelec, many basic errors with path to inputstream libraries and so one...I solved also in KODI 17.x, but now I'm trying KODI 18, just now with yesterday develepment build Libreelec by Milhouse, with installed inputstream.adaptive. The man problem is black screen and hard reboot if I open some stream (ARD for example). I have paid account, which is OK on other devices in browser. I tried also other free account ... but the result was the same.

Here is log output from Libreelec, where is by mi opinion good result with mpd parsing, but i don't know why system freezes after enter to encryption section - the last message before dead:

Code:

...log from browsing KODI GUI...
11:47:58.781 T:1586529168   DEBUG: plugin.video.magine: TIMES :
11:47:58.783 T:1586529168   DEBUG: plugin.video.magine: live_play
11:47:58.784 T:1875252112   DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
11:47:58.785 T:1875252112   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
11:47:58.792 T:1586529168   DEBUG: plugin.video.magine: leseclips
11:47:58.794 T:1586529168   DEBUG: plugin.video.magine: URL :::::: https://magine.com/api/contenturl/v1/cha...1515320280
11:47:59.777 T:1586529168   DEBUG: plugin.video.magine: {u'hls2legacy': u'http://maginetv2.hs.llnwd.net/11245/hls2-legacy-112451515320280.m3u8
', u'smoothstreaming': u'http://maginetv2.hs.llnwd.net/11245/112451515320280.ism/Manifest', u'dashs': u'https://maginetv2.hs.llnwd.net/11245/1
12451515320280/Manifest.mpd', u'hls5audio': u'http://maginetv2.hs.llnwd.net/11245/hls5-audioonly-112451515320280.m3u8', u'dash': u'https://mag
inetv2.hs.llnwd.net/11245/112451515320280/Manifest.mpd', u'smoothstreamings': u'https://maginetv2.hs.llnwd.net/11245/112451515320280.ism/Manif
est', u'hls2audio': u'http://maginetv2.hs.llnwd.net/11245/hls2-audioonly-112451515320280.m3u8', u'hls4audio': u'http://maginetv2.hs.llnwd.net/
11245/hls4-audioonly-112451515320280.m3u8', u'hls2': u'http://maginetv2.hs.llnwd.net/11245/hls2-any-112451515320280.m3u8', u'hls5': u'http://m
aginetv2.hs.llnwd.net/11245/hls5-any-112451515320280.m3u8', u'hls4': u'http://maginetv2.hs.llnwd.net/11245/hls4-any-112451515320280.m3u8'}
11:47:59.798 T:1586529168   DEBUG: plugin.video.magine: URL :::::: https://magine.com/api/time/v1
11:48:00.817 T:1586529168   DEBUG: plugin.video.magine: URL :::::: https://magine.com/api/airing/v2/112451515320280
11:48:02.143 T:1586529168   DEBUG: plugin.video.magine: NEXT :<built-in function next>
11:48:02.239 T:1875252112   DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
11:48:02.239 T:1875252112   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
11:48:02.296 T:1942364176    INFO: easy_acquire - Created session to https://maginetv2.hs.llnwd.net
11:48:03.066 T:1942364176   DEBUG: CCurlFile::GetMimeType - https://maginetv2.hs.llnwd.net/11245/112...nifest.mpd -> application/dash+xml
11:48:03.143 T:1942364176   DEBUG: CPlayerCoreFactory::GetPlayers(https://maginetv2.hs.llnwd.net/11245/112...nifest.mpd)
11:48:03.143 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
11:48:03.143 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
11:48:03.143 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
11:48:03.144 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
11:48:03.144 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
11:48:03.145 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
11:48:03.146 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
11:48:03.146 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
11:48:03.147 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
11:48:03.147 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
11:48:03.148 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
11:48:03.148 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
11:48:03.148 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
11:48:03.149 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
11:48:03.150 T:1942364176   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
11:48:03.150 T:1942364176   DEBUG: CPlayerCoreFactory::GetPlayers: matched {0} rules with players
11:48:03.150 T:1942364176   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
11:48:03.151 T:1942364176   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
11:48:03.151 T:1942364176   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
11:48:03.151 T:1942364176   DEBUG: CPlayerCoreFactory::GetPlayers: added {0} players
11:48:03.160 T:1942364176   DEBUG: CMMALPool::CMMALPool Created pool 0x3728850 of size 26 x 0 for port vc.ril.video_decode:out:0(I420)
11:48:03.184 T:1942364176   DEBUG: Radio UECP (RDS) Processor - new CDVDRadioRDSData
11:48:03.184 T:1942364176  NOTICE: VideoPlayer::OpenFile: https://maginetv2.hs.llnwd.net/11245/112...nifest.mpd
11:48:03.187 T:1942364176   DEBUG: OnPlayBackStarted: CApplication::OnPlayBackStarted
11:48:03.193 T:1815081872   DEBUG: ['[SC] Zacalo sa prehravat']
11:48:03.193 T:1815081872   DEBUG: ['[SC] Nieje to moj plugin ... ']
11:48:03.333 T:1942364176   DEBUG: CCurlFile::GetMimeType - https://maginetv2.hs.llnwd.net/11245/112...nifest.mpd -> application/d
ash+xml
11:48:03.334 T:1942364176   DEBUG: CMMALRenderer::CMMALRenderer
11:48:03.343 T:1553798032   DEBUG: Thread MMALProcess start, auto delete: false
11:48:03.343 T:1553798032   DEBUG: CMMALRenderer::Run - starting
11:48:03.344 T:1545409424   DEBUG: Thread VideoPlayer start, auto delete: false
11:48:03.352 T:1545409424  NOTICE: Creating InputStream
11:48:03.358 T:1545409424   DEBUG: ADDON: Dll Initializing - InputStream Adaptive
11:48:03.359 T:1942364176   DEBUG: ClampLimits: 0x0 1280x720 -> 1280x720 clamped=0
11:48:03.372 T:1942364176   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0x3727510
11:48:03.373 T:1545409424   DEBUG: SECTION:LoadDLL(/usr/lib/kodi/addons/inputstream.adaptive/inputstream.adaptive.so.2.1.11)
11:48:03.373 T:1545409424   DEBUG: Loading: /usr/lib/kodi/addons/inputstream.adaptive/inputstream.adaptive.so.2.1.11
11:48:03.380 T:1942364176   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2),
nBufferCountActual(2), nBufferSize(81920), nBufferAlignment(16)
11:48:03.404 T:1942364176   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.egl_render input port 220 output port 221 m_handle 0x3727098
11:48:03.410 T:1942364176   DEBUG: COMXCoreComponent::UseEGLImage component(OMX.broadcom.egl_render) - port(221), nBufferCountMin(1), nBufferC
ountActual(1), nBufferSize(15360) nBufferAlignment(16)
11:48:03.448 T:1942364176   DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.image_decode handle 0x3727510
11:48:03.453 T:1942364176   DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.egl_render handle 0x3727098
11:48:03.454 T:1942364176   DEBUG: DecodeJpegToTexture: decoded special://skin/backgrounds/media-overlay.jpg 1280x720
11:48:03.577 T:1594917776   DEBUG: Loading settings for https://maginetv2.hs.llnwd.net/11245/112...nifest.mpd
11:48:03.742 T:1614242704   DEBUG: CGUIInfoManager::SetCurrentMovie(https://maginetv2.hs.llnwd.net/11245/112...nifest.mpd)
11:48:04.038 T:1875252112   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
11:48:04.039 T:1875252112   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
11:48:04.070 T:1942364176  NOTICE: m_playbackStarting
11:48:04.070 T:1942364176  NOTICE: StereoscopicsManager::IsPlaying
11:48:04.690 T:1875252112   DEBUG: CAnnouncementManager - Announcement: OnChanged from xbmc
11:48:04.691 T:1875252112   DEBUG: GOT ANNOUNCEMENT, type: 1024, from xbmc, message OnChanged
11:48:04.705 T:1942364176  NOTICE: m_playbackStarting
11:48:04.706 T:1942364176  NOTICE: StereoscopicsManager::IsPlaying
11:48:04.867 T:1545409424    INFO: AddOnLog: InputStream Adaptive: SetVideoResolution (1920 x 1080)
11:48:04.868 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: Open()
11:48:04.868 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.license_data: [not shown]
11:48:04.869 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.license_key: [not shown]
11:48:04.869 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.license_type: com.widevine.alpha
11:48:04.869 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.manifest_type: mpd
11:48:04.877 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: Initial bandwidth: 0
11:48:04.896 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
11:48:04.896 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
11:48:04.909 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting values
11:48:04.916 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: MAXRESOLUTION selected: 1
11:48:04.920 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
11:48:04.920 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
11:48:04.944 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting values
11:48:04.949 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: MAXRESOLUTIONSECURE selected: 1
11:48:04.956 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
11:48:04.957 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
11:48:04.973 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting values
11:48:04.975 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: STREAMSELECTION selected: 1
11:48:04.979 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
11:48:04.979 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
11:48:04.991 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting values
11:48:04.997 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
11:48:04.998 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
11:48:05.004 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting values
11:48:05.007 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: Searching for decrypters in: /usr/lib/kodi/addons/inputstream.adaptive/
11:48:05.255 T:1942364176  NOTICE: m_playbackStarting
11:48:05.256 T:1942364176  NOTICE: StereoscopicsManager::IsPlaying
11:48:05.751 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: Found decrypter: /usr/lib/kodi/addons/inputstream.adaptive/libssd_wv.so
11:48:05.752 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: Supported URN: urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED
11:48:05.756 T:1545409424   DEBUG: CurlFile::Open(0x5d5658b0) https://maginetv2.hs.llnwd.net/11245/112...nifest.mpd
11:48:05.782 T:1942364176  NOTICE: m_playbackStarting
11:48:05.783 T:1942364176  NOTICE: StereoscopicsManager::IsPlaying
11:48:06.428 T:1942364176  NOTICE: m_playbackStarting
11:48:06.428 T:1942364176  NOTICE: StereoscopicsManager::IsPlaying
11:48:06.999 T:1942364176  NOTICE: m_playbackStarting
11:48:06.999 T:1942364176  NOTICE: StereoscopicsManager::IsPlaying
11:48:07.004 T:1545409424   ERROR: Interface_Filesystem::get_property_values - invalid data (addon='0x67f82ea0', file='0x5d5b8ac8')
11:48:07.004 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: Effective URL
11:48:07.107 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: Download https://maginetv2.hs.llnwd.net/11245/112...nifest.mpd
finished
11:48:07.113 T:1545409424    INFO: AddOnLog: InputStream Adaptive: Successfully parsed .mpd file. #Streams: 4 Download speed: 0.0000 Bytes/s
11:48:07.117 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
11:48:07.117 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
11:48:07.126 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting values
11:48:07.131 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
11:48:07.132 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
11:48:07.142 T:1545409424   DEBUG: CAddonSettings[inputstream.adaptive]: loading setting values
11:48:07.143 T:1545409424   DEBUG: AddOnLog: InputStream Adaptive: Entering encryption section

############### END LOG FILE ################

(blackscreen and reboot rpi..)

Do You have any idea, what i'm doing wrong or what I forgot..?

Many thanks and sorry for my bad english :-)

C.I.
Reply

Logout Mark Read Team Forum Stats Members Help
How to Put Binary Addons in an Own Repo0