Skip to content
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

Kodi crashes when trying to play files using Nakamori #511

Open
Tamba3998 opened this issue May 27, 2022 · 7 comments
Open

Kodi crashes when trying to play files using Nakamori #511

Tamba3998 opened this issue May 27, 2022 · 7 comments
Labels
Kodi 19.x (Matrix) It involves Kodi 19 compatibility
Milestone

Comments

@Tamba3998
Copy link

Tamba3998 commented May 27, 2022

Kodi 19.3.0 (Android)

2022-05-27 18:17:42.817 T:29270 INFO : CAddonMgr::FindAddons: plugin.video.nakamori v4.1.0 installed
2022-05-27 18:17:42.818 T:29270 INFO : CAddonMgr::FindAddons: repository.nakamori v1.4.6 installed
2022-05-27 18:17:42.818 T:29270 INFO : CAddonMgr::FindAddons: resource.images.nakamori v3.2.0 installed
2022-05-27 18:17:42.820 T:29270 INFO : CAddonMgr::FindAddons: script.module.nakamori v3.5.2 installed
2022-05-27 18:17:42.821 T:29270 INFO : CAddonMgr::FindAddons: script.module.nakamori-lib v3.5.1 installed
2022-05-27 18:17:42.821 T:29270 INFO : CAddonMgr::FindAddons: script.module.nakamoriplayer v3.5.1 installed
2022-05-27 18:17:42.823 T:29270 INFO : CAddonMgr::FindAddons: service.nakamori v3.5.1 installed

Shoko Server v4.1.1.0 (daily)

Deleted userdata folder and only enabled the nakamori repo + addon.
When trying to play a file, I get the "loading" animation for ~20 seconds, then Kodi exits without any messages.

I've attatched two logs that are just me starting Kodi --> Nakamori --> trying to play a file, but they don't look all that useful because they end with

------ Window Init (DialogBusy.xml) ------

so whatever it is doing while the loading animation is spinning isn't logged.
Playing files without Nakamori still works.

kodi.log
kodi2.log

@bigretromike
Copy link
Owner

bigretromike commented May 27, 2022

resource.images.nakamori v3.2.0 installed
script.module.nakamori v3.5.2 installed
script.module.nakamori-lib v3.5.1 installed
script.module.nakamoriplayer v3.5.1 installed
service.nakamori v3.5.1 installed

remove those.

I merge everything now into one addon (for time being) and both nakamori-players probably conflicts with each other.

@Tamba3998
Copy link
Author

I got rid of the other addons and it might have helped...a little?
I was able to open 3 files and it only crashed on the third one.
I'm also on version 4.1.1 now
kodi.log

@bigretromike
Copy link
Owner

Thats better, also if you used nakamori 3.x you probably have remixed routing plugin that one need to go out also, we are using official routing plugin.

I will investigate into playing file issue

@bigretromike bigretromike added the Kodi 19.x (Matrix) It involves Kodi 19 compatibility label May 27, 2022
@bigretromike bigretromike added this to the 4.1-rc milestone May 27, 2022
@bigretromike
Copy link
Owner

I found a bit different issue. I will look this also.
I will assume that Kodi dont show you message that the network is to slow and video just cuts of because of empty buffor.

Could you specify what do you mean by crash, does it crash kodi, crash player and exit to nakamori menu with episodes ?

@Tamba3998
Copy link
Author

It completely crashes kodi:
click file --> loading animation for 10-20 seconds --> get dropped to the Android desktop

I've tried increasing the buffer time in the nakamori settings, but that didn't stop the crashes.
Even when playback works, it seems to buffer for a while before the playback starts, so I can definitely see this being a buffer issue, but I don't think it's the network speed (wired connection), because I can have Kodi play the same files, from the same server without nakamori, and the playback starts instantly.
Maybe Shoko server is slowing things down?

@bigretromike
Copy link
Owner

bigretromike commented May 28, 2022

Its definitly slower than native access to file, but still it shouldn't be that slow.
I remember having to tweak player a bit because Kodi being stupid and broken in kodi19-beta.

I did try to run few files for more than a minute, but I will go ahead and test it a bit more, maybe on emulator too.

@Tamba3998 could you try to install Kodi 19.4, its on kodi.tv page, dunno why its not on store, but I'm on 19.4. Also delete once again userdata after installing nakamori from repo - because from what you wrote you delete it with mixed installation.

I run few episodes on my phone, and one other phone (but with Kodi19.4) and everything play fine. The 20second crash, sound familiar - but it was an issue with service and player long ago. So if you can you could also clean Kodi data (long press on icon, app in > storage usage > Clear cache + Clear data. THEN install repo from here: https://shokunin.monogatari.pl/repo/repository.nakamori.zip after that install nakamori. And check then.
Also I dont see anything in Kodi logs that would be unusual probably because it crash and dont have time to write log. Android log would be helpful but I didn't got those for few major android release so im unsure how to get that right now.

Lets first try with Clear Kodi19.4 installation and start from there.
Here is link for android version https://kodi.tv/download/android depending on your system pick 64bit version or the other one.

@bigretromike
Copy link
Owner

Big file depending on size vs bandwith (1,5GB on 100mbps or 4Gb on 5Ghz Wifi) as a http stream will timeout (for 20 sec - 80 seconds) and then Kodi crashes. Same file work flawless on direct access.

@bigretromike bigretromike modified the milestones: 4.1-rc, 4.2-rc Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Kodi 19.x (Matrix) It involves Kodi 19 compatibility
Projects
None yet
Development

No branches or pull requests

2 participants