New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change decrypter search path for Android #601
Conversation
@glennguy inputstream.adaptive/src/main.cpp Line 2147 in ef78a57
If so, this change shouldn't actually be needed? If anything, maybe the order needs to be reversed. Or, if there are no versions that use xbmcbinaddons anymore, then can get rid of the whole ifdef else (I suspect we needed this change for IA Testings to stop it picking up IA's files) |
@matthuisman you're correct, I'll push the changes soon if I get a chance, otherwise tonight. |
i suspect a path still needs to be added? So, maybe
for all platforms? or
|
was just thinking
|
ef78a57
to
b04f7d7
Compare
Thanks for the suggestion, much cleaner and no redundancy now. |
just trying to think through the rollout of moving IA to repo If this PR is merged, a new version of IA with this PR included in kodi android will actually fail as it wont find the .so. So, once this is merged - the next version of IA must be in repo. I think this could happen after 19 is released... as long as a built-in binary add-on can be replaced / updated by a repo version? The built-in .so will remain, but IA will no longer search for it there. |
without having tested it (and not using android at all) i think the packaged version will strand in |
@glennguy Doing some tests now to find out My idea to test is:
|
Yeah that's right and with search path I think we might need to change to special://home |
Test Results Kodi 18.9 Kodi 19 Here is the log
From the log:
changes to
So using the correct libinputstream.adaptive.so and libssd_wv.so without any reboot needed @glennguy interesting that libssd_wv.so automatically gets cached but we don't use the cached version... Plan of attack Kodi 19
|
b04f7d7
to
732d850
Compare
Thanks heaps for testing
I think that's the case, DllHelper logging where it's moved to and IA is just logging the path the decrypter was found in. |
did up a test repo:
Here is my log: Conclusion - this PR looks good once @howie-f can confirm what may be happening with the update |
update should be detected when the add-on hits the official repo. as system add-ons and manually installed are bound to official repo update checks. |
As @matthuisman pointed out above:
Point 1 is solved in this PR |
So this is ready to merge and release? |
yes ready to go |
Ok I’ll merge and release 2.6.12 shortly. |
Do you want to add to the changelog that this make adaptive update from repo for android? EDIT, I can update that after this is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@ksooo
As requested this one-liner will direct inputstream.adaptive to search in the user addons folder instead of packaged folder for libssd_wv.so
Now installations and updates from the official repo will function correctly, myself and @matthuisman have verified using a parallel installation with a different add-on id.
One potential issue that I haven't investigated and don't have immediate time for is how things work when upgrading from an Android installation of Kodi packaged with IA to a package without - will the packaged IA libraries and other add-on files remain and cause conflict? Or are they removed? If this is an unfamiliar scenario I'll find time in the next few days to setup and test it.