-
Notifications
You must be signed in to change notification settings - Fork 55
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
Plugin fails to load if sat receiver is powered on after Kodi start #154
Comments
The name change was just so it’s clear it’s not specifically for VU hardware. I’ve confirmed the same issue on Libreelec. @ksooo any ideas here? I also remember this working before but I hardly ever restart my devices so didn’t notice. |
Thanks for acknowledging the bug. Merry Christmas! |
Good point on the second issue. Could you create a new issue for error if you’re in deep standby, maybe we could show a card instead so the user doesn’t need to click ok.
… On 24 Dec 2018, at 10:54, heikoh81 ***@***.***> wrote:
Thanks for acknowledging the bug.
Also, at most times, my sat receiver VUSolo is in deepstandby.
If I now start Kodi, I get this popup:
"Add-on couldn't be loaded. An unknown error has occured."
==> I think that no popup should be shown at all, or at least, the possiblity to disable this warning in settings.
Merry Christmas!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Actually on second thought I don’t think this will be possible. The error message is what kodi returns because the addon failed to load. Kodi needs to know the current state of the addon to attempt to reload later (assuming the initial bug is fixed). The behaviour would need to change for all PVR addons not just this one. For the majority of PVR users an error dialog if the addon failed to load would be in line with expectations. |
I could live with the popup, as long as Enigma2-Plugin resumes operation after my VUSolo hat booted up. |
The default behaviour should be start up the addon when accessing TV or Radio (if it wasn’t started on boot). This wouldn’t be the addon handling this it would be the main pvr functionality in Kodi. |
@sidey79 let's continue any further conversation in this issue. Okay i'm on a different setup but the main problem is, that the pvr addon is loaded only at startup of kodi and not later when the receiver becomes active. Log: https://gist.github.com/phunkyfish/1edb3d316574c4304b1b7081ea1348a6 I think, there is now sceduled job, which retries later to ininitalize the module: Open It seem's that the webinterface cannot be reached. Make sure that you set the correct configuration options in the addon settings! Does this URL return a response in a browser?: http://et9x00/web/deviceinfo |
Kodi will try to start the addon each time you try to access PVR UI. It's not working though which is what we need to figure out. Remember that when being used with kodi your Enigma2 box is essentially a server which should be running all the time which is the easiest fix and requires zero code changes ;) |
Kodi will try to start the addon each time you try to access PVR UI. It's not working though which is what we need to figure out. When i access the UI i get always this (tried serval times)
Remember that when being used with kodi your Enigma2 box is essentially a server which should be running all the time which is the easiest fix and requires zero code changes ;) This is not an option for me, and maybe also not for others. |
Yes, I see the same, I just don't know why it's not trying to start the addon again. I was kidding with the workaround. It's required functionality, any server can be down for a time, kodi should be able to recover if it's not available on start. |
Happy New Year :-) I prefer to have my VUSolo in DeepStandby most of the time. |
Makes sense, will dig into this further after the holiday. |
that the tuner is used in standby is normal for enigma2. |
And I think that is true for 90% of users. I even have my STB plugged into a TV but still stream to the TV on kodi cause the experience is better (and uniform across all TVs in the house).
However the use case for motorised dishes and auxiliary equipment is a fair use of deep standby and should be supported.
As stated above this did work in older kodi versions just need to be fixed in the current one.
… On 2 Jan 2019, at 03:41, M2k80 ***@***.***> wrote:
that the tuner is used in standby is normal for enigma2.
i have often read, that its best for streaming to set the box to standby, because only here no tuner get blocked from direct tv watching.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@ksooo is it true that if the addon fails to start on boot of kodi it should try to start again if TV or Radio are accessed in the UI? When this happens the UI says PVR Manager starting but nothing happens. |
Ok, I can’t find anyway to get the addon to start after an initial fail. It will only restart if it successfully loaded and an addon setting is changed that requires a restart. @ksooo is this a known issue or would you like an issue created for it? |
I'd also love to see a fix for this (VU DUO2)... is there any chance of fixing this in the plugin or does the Kodi PVR code needs to be changed? Is that the scheduled job which tries to restart the plugin? If the frequencies of that job could be changed AND the error message about loading the module could be suppressed it might provide a quick & dirty solution until a better method is found. Thanks! |
Could you post a debug log showing the behaviour, I.e. not starting up once your device is switched on? I can then create a kodi bug based on that. |
I was surprised too see that I couldn't reproduce the problem (yet). However, according to Kodi I'm still running an old version, 2.4.10. I guess that the new version isn't available because I'm still running Kodi 17 and all your commits are for v18? Thanks! |
That’s correct. I believe the issue is on kodi 18 ;) |
Well, it happened to me on 17 as well but I'd be happy to test the new version when V18 is finally released. Must be really soon now... :) |
This is actually a missing feature in the addon, which is good as it's something I can remedy. Will try to have a look at this weekend. More details in the xbmc github linked issue above. |
Ok, this is next up, I expect to have something in testbuilds in the next couple of weeks. |
This is great news. If you have a testbuild, could you provide a link and a description how to install the testbuild? I'm glad to help testing. Meanwhile, I have Kodi 18 RC4 on FireTVStick 2. Best regards, |
Yes, you need to upgrade to the latest full release, addons will be built against the final release of kodi and its libraries.
There would only be official testbuilds for libreElec I’m afraid. So if you have a PI or Intel device you could try it when ready.
… On 15 Feb 2019, at 19:16, heikoh81 ***@***.***> wrote:
This is great news. If you have a testbuild, could you provide a link and a description how to install the testbuild? I'm glad to help testing.
Meanwhile, I have Kodi 18 RC4 on FireTVStick 2.
I have Enigma2 Client 3.16.2. There is an update for version 3.17,0 however on installing I get this message:
"The dependency on binary.kodi.global.main.version 1.0" (it stops scrolling so I can't post more"
-> is this message due the RC4?
Best regards,
Heiko
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@bservet could you provide instructions on how you have the addon set up? The full addon name etc. and config? Maybe I can mimic what it does and build it into this addon. That would be cool. |
This is already available in the kodi C++ addon API. PVR still uses the C API but when it moves this would be possible. |
So for the moment the addon you are using should be the chosen solution. |
Maybe the PVR addon could automatically call this add-on when the PVR is in deep standby? |
As the PVR addons are binary they are far more limited in what they can do as far as interacting with other addons go. Python addons have much more access to do things like this I’m afraid. Please post any further commentary or ideas in the new issue related to this topic #189. Thanks |
@heikoh81 please test all your use cases and create a new issue if you find anything that doesn't work. 3.19.0 should be available in binary addon repos in the next 24 hours. |
Thanks for the update. The behaviour is as expected: BUT: I hope you can fix these glitches. |
Hmmm, can you provide a full debug log. Let’s start with the pop ups first. Maybe run so the pop ups appear two times. |
Here you go: If I open http://192.168.178.242/web/deviceinfo in my browser, I get. If I open http://192.168.178.242/web/movielist?dirname=%2Fhdd%2Fmovie%2F:
|
If the error occurs, the popus appear constantly every 5 seconds! |
There must be a timing issue then it gets stuck in a loop. The recheck time must be too quick for the /deviceinfo call. |
I think it’s crashing your E2 device :( Can you try restarting the device when it won’t play back (leave kodi as it is) and see does it come back up? |
And afraid that’s not a full debug log. Can you restart when in debug mode so I can see the log from a full startup including the issue. Thanks |
You are also running a very old image on your E2 device. Is the device old? |
The device is a VU+ Solo, it is several years old and has limited CPU. Can you maybe tune the timeout values a little bit for older receivers to be recognized. |
There is some use case such as an EPG update causing a slowness in the check for a live connection. Or maybe it’s a number of different processes across the addon and the device all happening at the same time. |
Can try tuning but the solution is probably to avoid the connection attempts while playing back, performing EPG updates etc. This is not a small amount of work though. Can you downgrade easily in the meanwhile? After you get me that log of course 😉 |
Could you also create a new issue for this please when you supply a new log? |
I remember that VUSolo-pvr-plugin that I used before Enigma2-plugin had the option to enable/disable EPG grabbing while streaming. Also, I don't need EPG/recordings or any other information in Kodi. So it would be create if you integrate options to disable all grabbing etc. at all if wanted (checkboxes in the plugin setting).
How can I do that? I have the option to install plugin from zip within kodi? Will provide the .log later. |
How do you upgrade currently? I’m not familiar with android. As far as I’m aware there is an addon to manage updates. I would try that. As I said it will take a while to get everything in place to run a for Low spec E2 device. Proabably another couple of weeks. |
I install via Kodi repository, I did not change any default settings.
Ok, would be great if you integrate this. I hope I can reprodruce the problem tonight, as I turned all checkboxes in 3.19.0 to off yesterday and the problem stopped. |
Ok, then go the repo and hit update and it should allow you to pick a previous version (hopefully it works like this on Android).
Which checkboxes did you turn to off? That might give us a clue as to what is causing this. If you no longer have problems when everything is off is that not the problem solved? Or are some of those features required by you? |
I have done more testing: Then I stopped watching live TV, changed to "Videos" and started a recording. As far as I can say, the problems start as soon as playback of normal Video files start. I'm working on good logs, I cleaned outt my channel list to 20 channels so that logging is not too big. |
I wonder is it network saturation. Are the video files you are playing big? Do you have large video buffers set in kodi (advancedsettings.xml)? |
It would be good to know if this only happens during playback. If so a fix is much easier. |
These are normal SD mpeg2-files, some HD files, all .ts-recordings. No special settings in advancedsettings.xml except my MySQL database for watched videos.
I can say for sure that it only happens during playback of my SMB Video files. |
If you playback the TS recordings via the addon what happens? |
Hi there,
if I start my VUSolo 2 minutes before Kodi starts on my FireTVStick2, everything works fine.
Channel list is loaded (and also recordings, but I don't need recordings).
However, if my Kodi is already running and I start my VUSolo now, Kodi/Enigma2 wil never load channels.
I can see "PVR Manager is starting up, stuck at 0%".
I then have to restart KODI in order to see the channel list.
This has been a bug for several Kodi versions (I'm currently using Kodi 18 RC3).
Before Kodi RC3 the plugin was called VUSolo, but now it seems to be renamed to "Enigma2".
But I remember that a few versions back (maybe Kodi 14 or 15?) I was able to start my VUSolo after Kodi start, and channel list was loaded afterwards.
I hope this can be fixed soon,
best regards,
Heiko
The text was updated successfully, but these errors were encountered: