elgatito / plugin.video.elementum

Elementum add-on for Kodi. Development of this addon has been stopped!
http://elementum.surge.sh
MIT License
483 stars 159 forks source link

Unable to run newer versions of Elementum add-on past version 0.1.87 #1077

Open veniciusgp opened 3 weeks ago

veniciusgp commented 3 weeks ago

For reason unknown, my device can only work with version 0.1.87.android_arm or lower.

Expected Behavior

Updated Elementum add-on should run normally.

Current Behavior

Immediately after installing version 0.1.89.android_arm or higher, the message "Downloading required binary file for 'android_arm64' appears.

Note: My platform is not android_arm64

Possible Solution

Steps to Reproduce (for bugs)

  1. Update Elementum add-on to any version newer than 0.1.87.android_arm

Context

Your Environment

WhatsApp Image 2024-10-11 at 11 34 55

2 - kodi log kodi.log

elgatito commented 3 weeks ago

Set platform to android-arm in Elementum settings, instead of Auto. Somehow it is detected as android-arm64 and your system cannot run it.

veniciusgp commented 3 weeks ago

Set platform to android-arm in Elementum settings, instead of Auto. Somehow it is detected as android-arm64 and your system cannot run it.

I changed the "Application platform type" parameter from auto to android_arm and it worked.

I'm now using the latest version 0.1.106.android_arm

Thank you man

elgatito commented 2 weeks ago

I don't get this thing:

2024-10-11 12:54:48.337 T:1571    DEBUG <general>: [plugin.video.elementum] Automatically detected platform: android-arm. Returning: {'auto_arch': '32-bit', 'arch': 'arm', 'os': 'android', 'version': '', 'kodi': 19, 'build': '19.4 (19.4.0) Git:20220302-e12e66e019', 'fork': True, 'machine': '', 'system': '', 'platform': ''}
2024-10-11 12:54:57.359 T:1823    DEBUG <general>: [plugin.video.elementum] Automatically detected platform: android-arm64. Returning: {'auto_arch': '32-bit', 'arch': 'arm64', 'os': 'android', 'version': '', 'kodi': 19, 'build': '19.4 (19.4.0) Git:20220302-e12e66e019', 'fork': True, 'machine': '', 'system': '', 'platform': ''}

There is auto-detect that tries to load shared library, and first run properly detected it, but first one failed with it.

antonsoroko commented 2 weeks ago

@elgatito so i guess https://github.com/elgatito/plugin.video.elementum/commit/28eb32fb97634f14ee3ed16c96ea7bba6f1490b5 is the fix for this autodetect issue?

elgatito commented 2 weeks ago

@elgatito so i guess 28eb32f is the fix for this autodetect issue?

@antonsoroko It is not clear what is the cause of the issue, so it just a possible workaround to avoid loading shared library more than once.