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
[PVR] Support for Kodi Eventlog #8374
Conversation
* @return True if the client was found, false otherwise. | ||
*/ | ||
bool GetClientName(int iClientId, std::string &strName) const; | ||
bool GetClientName(int iClientId, std::string &strName, bool bFriendly = true) const; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
if I am not mistaken, the decision was that only fixes make it to Jarvis. All other have to wait for 17.0 |
@MartijnKaijser feel free to retarget thi PR, just thought that the new eventlog feature could need some love... At least my eventlog is almost always empty (except "Kodi sucessfully started") and therefore adds not too much value. |
iirc we would still allow minor non-API "feature" changes during beta |
I don't consider use of activity log as minor. This can have a big impact. It's not a self contained little feature |
Event log is in master for quite some time now and has proven to work. I do not see any risk in writing some more log entries. We're not talking about mass data or use of untested functionality here. |
some backends do really weird things with timer notifications if the backend has been away for a second and flood the user with tons of "timer removed", and "timer added" spam. Could be confusing to have that in the activity log, but the change is nice in general, thanks. |
When you send an event, it makes use of several globals like window manager, thread messages, etc. Estimating risk is not easy. Even backports to Isengard have broken things though risk was considered low. |
@da-anda sadly tvheadend is one of those :-) |
I voted against #8270 because it contained lots of changed code (compared to this PR) without any functional change. This PR is different - few code changes, but end-user relevant functional enhancements. Currently, we're working towards first beta, but it is not yet released. In this phase smaller improvements are imo still okay. Once beta 1 is out, work mode should change and only fixes should be allowed. A beta is supposed not be functionally perfect, but feature complete - otherwise it would be a RC. This is how other projects/products I know work and this makes sense for me. But as I said, I can live with not having this PR in Jarvis. I suggest let @MartijnKaijser have the final word on this. |
an app like kodi is never feature complete. and the more we move to RERO this is even less important. Note that for PVR related changes special care is required. You only tested this with a single backend (tvh), right? Did you test adding new timer on the backend and trigger update while playing video? I am sure there is a whole bunch of untested scenarios related to this change. |
If you put it this way I'm of course doomed. But maybe it was just dumb to make a difference between functional and non functional changes and to vote against a non functional change PR while still in alpha phase. Maybe this was a mistake but exactly this made myself pointless for this discussion I guess. :-( Anyway, meanwhile my point of few is that there should be no early and late alpha phase wrt different rules for PR content. THIS would make things difficult to handle. Rules should change for different release cycle stages only - not while in a single phase. |
I thought we are in beta already. Am I wrong? |
We released alpha 4 and working towards releasing beta 1, which is due Nov 15. ;-) I thought this means we are still in alpha, but... |
the log says BETA1, hence the current code is beta. |
which log? |
kodi.log This means that we kind of release beta to the public Nov, 14th |
this is what @MartijnKaijser sent out to all
|
I have to agree with @FernetMenta here. It's certainly a nice feature however it's not even really used yet by other kodi parts. Having pvr start using this actively with variety of backends makes it a potential time bomb. Code base has improved massively over the past years but even 15 has proven that a tiny fix in pvr or skinning has unwanted side affects. As such caution is needed until we have a better grasp on it. |
Okay, no problem with that - as I wrote earlier. All good. ;-) |
@ksooo thanks |
jenkins build this please |
[PVR] Support for Kodi Eventlog
This PR extends Kodi eventlog (Jarvis feature) with some PVR events, namely
Ideas for other events are welcome.
@da-anda @Jalle19 mind taking a look