-
Notifications
You must be signed in to change notification settings - Fork 158
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
Elementum 0.1.106 crash/restarts when integrating library #1085
Comments
Tested on both VM and read system. If needed I can rebuild this system multiple times for testing. |
@siwyroot It is impossible to see the error without full log file. |
Here is full log but rest is just plugin startup |
I captured log in moment when I clicked "Open directory with Kodi file browser" |
tried on ubuntu 24.04 and flatpak kodi 21.1 so it works if trakt is authorized, otherwise it does not. no restart, though - but it does reload for some reason. but browser is not launched when you click the button. but to be fair - it is just a "sugar" - to really configure library you need to click on path itself, not on "Open directory with Kodi file browser". |
For men browser do not lunch but I gest throw back to main menu and in logs it looks like elemntum reloads |
@siwyroot just to be 100% clear: BUT you do not need to click that button to configure library integration:
so you can configure elementum without waiting for a fix. can you confirm that clicking on "path" works for you? |
this is outdated, read next comment. i think i found the issue.
there was a logic added to ignore tokens (trakt or opensubtitles) so trakt auth process (that also uses |
found the real root cause: if you open settings not from elementum menu but from kodi context menu or from addons page - then button works, i think because in this case settings window is not considered as modal window , so it does not prevent showing new window. fail when open settings from elementum's menu:
|
@antonsoroko Thanks for explanation, I was using that button for so long that I did not consider different way. I can confirm that I can configure library by setting |
if i disable reload in function so there is some incompatibility between settings when they are in "modal dialog" mode (when they launched from elementum's menu) and "reload" process. but i am not sure how to fix this. @elgatito maybe you can take a look into this, please. looks like we can't use builtin functions as ListItem path here i tried but looks like only paths like "plugin://" or "script://" or directly playable URL or filepath can be used as ListItem path. some info here. so i do not know how to launch settings windows not as modal window from elementum's menu. maybe it is impossible. maybe we can ignore reload somehow - then buttons should work in any window mode. |
Every time I try to integrate elementum library with kodi, elementum restarts.
Expected Behavior
integrate library with kodi
Current Behavior
elementum plugin crash
Steps to Reproduce (for bugs)
Your Environment
Kodi 21.1
Elementum 0.1.106
Fedora 40
The text was updated successfully, but these errors were encountered: