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] Recordings window: Fix recording groups not working (regression introduced by #10333) #10342
[PVR] Recordings window: Fix recording groups not working (regression introduced by #10333) #10342
Conversation
Ah missed this for tonight's build, will include it tomorrow assuming @Jalle19 finds no issues. Thanks. |
Too bad we didn't catch this last time. +1 if it fixes the regression. |
Yeah I've learned now that PlayFile returns false if it is called with a folder item and this is the condition to call the base class which handles folders correctly. Imo bad design, should be much more clear now. |
jenkins build this please |
Travis error is not related to this PR |
I see you fixed the resume option too. But wasn't it supposed to ask wether to resume or start from the beginning? |
I did not change resume behavior. What line of code in this PR you are referring to? |
In case you mean "case SELECT_ACTION_RESUME:", there is no change in behavior, I just added a comment explaining what the two bool parameters are doing. The abovementioned case is called when a user has the setting "default action when selecting video files" set to "resume". Then, no popup menu shall appear. If resume is not possible, the recording will automatically be played. Makes sense? |
Resume was broken, I guessed that lines 280, 287, and 301 in xbmc/pvr/windows/GUIWindowPVRRecordings.cpp restored the function, as it is working again. Then again, I might be wrong. I see you beat me to it, while typing I receive your reply. |
The context menue still offers me the choise I need (play from the beginning or play from the moment I quited), I wasn't aware of that. |
Sorry, but i'm not aware that i have changed the behavior. Media settings -> Videos -> Default select action = "Play"
=> this is exactly how select on a recording worked before #10333, no change in behavior Media settings -> Videos -> Default select action = "Resume"
|
"select a recording with resume info => popup with two items "play from beginning" and "resume from xx:xx:xx" appears" That does not happen atm, prreviously it did. Bottomline: what do I have to do to make this popup show? In a previous reply you stated that "Then, no popup menu shall appear.". I guess we have a communication problem. |
Okay, this is my last attempt to explain it. There is a setting that controls the behavior. Open Kodi settings, Goto "Media settings" -> "Videos". Set the setting "Default select action" to "Play". |
OK thanks, this was previously the behaviour when default action was set to resume. I obviously missed that. |
"Previously" this setting was not respected by the recordings window. You could have set it to whatever you wanted, it would not have changed behavior of the recordings window. So, your statement that "this was behavior when set to 'resume' is just plain wrong, because "previously" recordings window and this setting were 100% unrelated. It is important to me that you get that, because everything you are writing here implies that now something with 'play' action on recordings is broken. It's not! Okay? |
No, not OK. Everything I've written here implies only that I had it working (the resume or start from the beginning popup) if, and only if I set the default action to "resume" previously. |
Moreover, I thank you very much for fixing the matter, it is very usefull to me in it's present state. |
Fix recording groups not working (regression introduced by #10333).
@MilhoseVH fyi
@Jalle19 for review?