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: Respect setting SETTING_MYVIDEOS_SELECTACTIO… #10333
[PVR] Recordings window: Respect setting SETTING_MYVIDEOS_SELECTACTIO… #10333
Conversation
d714d80
to
21b7fd2
Compare
bReturn = true; | ||
break; | ||
case SELECT_ACTION_PLAY_OR_RESUME: | ||
PlayFile(m_vecItems->Get(iItem).get(), false, true); |
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.
…N also for recordings. Fixes inconsistent 'select item' behavior wrt 'normal' videos and recordings.
21b7fd2
to
63198fd
Compare
@Jalle19 good to go now? |
@@ -262,11 +262,34 @@ bool CGUIWindowPVRRecordings::OnMessage(CGUIMessage &message) | |||
{ | |||
case ACTION_SELECT_ITEM: | |||
case ACTION_MOUSE_LEFT_CLICK: | |||
switch(CSettings::GetInstance().GetInt(CSettings::SETTING_MYVIDEOS_SELECTACTION)) |
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.
jenkins build this please |
According to a forum comment, "recording folders don't seem to work under liveTV", which I'm assuming is due to this change (as there's no other relevant change since the last working build). |
@MilhouseVH Thanks for the heads up. I will take look later today. |
…ssion [PVR] Recordings window: Fix recording groups not working (regression introduced by #10333)
With default select action set to "Show information", KODI now opens the Information Dialog of a recording (which is correct). When i hit "play recording" within the info dialog, the dialog closes and opens up again, becuase Estuary does Dialog.close(PVRRecordingInfo,true) & Action(Select). I hope it hasn't been reported before. Thanks. |
Not related to this PR. Open a TRACK ticket if you find a new issue, please. |
On second thought this actually is related to this PR, although an Estuary problem. Thanks for reporting. |
I noticed it in comparison while building right before and after this PR got merged - combined with the intention of this PR it made sense to me that it's most likely related. Side note: Replacing Action(Select) with Action(Play) in Estuary did not solve the issue in my quick tests. (Nothing happens with Action(Play)) |
Using "Action(Play)" is the right approach; unfortunately currently this reveals another bug. I just tracked it down and will come up with a fix. |
This time i can't tell if truly related, but something quite bad regarding the recordings-folder i noticed recently is: Reproduce 1 (almost works every time in my case):
Reproduce 2 (if example 1 does not reproduce):
Debug log: Tract is down (404), i'm happy to move the report there, once it's back. Additional Info: Tested on LibreELEC nightly (debug log), additional testing with MillhouseLibreELEC 0828 + Windows win32 nightly 608220d all with same error/result). All setups fresh/clean |
This is definitely not related to this PR. please open a track ticket. |
@FernetMenta fyi, i quickly debugged this. When opening the recordings window, a thumbextractor gets created, but not by pvr code! You see the consequences... The playing Live TV channel gets stopped: (lldb) thread backtrace * thread #35: tid = 0xd6ea2, 0x0000000116f04524 pvr.hts.3.4.6.dylib`::CloseLiveStream() + 4 at client.cpp:322, name = 'JobWorker', stop reason = breakpoint 1.1 * frame #0: 0x0000000116f04524 pvr.hts.3.4.6.dylib`::CloseLiveStream() + 4 at client.cpp:322 frame #1: 0x0000000100d6b6ea Kodi`PVR::CPVRClient::CloseStream(this=0x0000000109ba0800) + 58 at PVRClient.cpp:1817 frame #2: 0x00000001015de583 Kodi`PVR::CPVRClients::CloseStream(this=0x0000000106e3a710) + 99 at PVRClients.cpp:1345 frame #3: 0x00000001016b0dca Kodi`PVR::CPVRManager::CloseStream(this=0x000000010705f000) + 474 at PVRManager.cpp:1204 frame #4: 0x00000001017911de Kodi`CDVDInputStreamPVRManager::Close(this=0x0000000108c35bd0) + 110 at DVDInputStreamPVRManager.cpp:233 frame #5: 0x000000010178f062 Kodi`CDVDInputStreamPVRManager::~CDVDInputStreamPVRManager(this=0x0000000108c35bd0) + 66 at DVDInputStreamPVRManager.cpp:63 frame #6: 0x000000010178f185 Kodi`CDVDInputStreamPVRManager::~CDVDInputStreamPVRManager(this=0x0000000108c35bd0) + 21 at DVDInputStreamPVRManager.cpp:62 frame #7: 0x000000010178f1e9 Kodi`CDVDInputStreamPVRManager::~CDVDInputStreamPVRManager(this=0x0000000108c35bd0) + 25 at DVDInputStreamPVRManager.cpp:62 frame #8: 0x0000000100bec1fc Kodi`CDVDFileInfo::GetFileStreamDetails(pItem=0x000000011b5eb3d0) + 1868 at DVDFileInfo.cpp:351 frame #9: 0x00000001018f6b4c Kodi`CThumbExtractor::DoWork(this=0x000000011b5eb390) + 5068 at VideoThumbLoader.cpp:140 frame #10: 0x0000000100cae9df Kodi`CJobWorker::Process(this=0x000000011639cf10) + 111 at JobManager.cpp:69 frame #11: 0x000000010094b080 Kodi`CThread::Action(this=0x000000011639cf10) + 896 at Thread.cpp:221 frame #12: 0x0000000100949789 Kodi`CThread::staticThread(data=0x000000011639cf10) + 969 at Thread.cpp:131 frame #13: 0x0000000106cc1805 libsystem_pthread.dylib`_pthread_body + 131 frame #14: 0x0000000106cc1782 libsystem_pthread.dylib`_pthread_start + 168 frame #15: 0x0000000106cbefa1 libsystem_pthread.dylib`thread_start + 13 (lldb) |
@FernetMenta Happens only if you select a recording folder. Then, for this folder on the right half of the recordings window a "folder listing" is displayed. I think the directory provider behind this listing tries to extract the thumbnails. |
@FernetMenta yep, the code defining the folder listing ui (around https://github.com/xbmc/xbmc/blob/master/addons/skin.estuary/1080i/MyPVRRecordings.xml#L252) is causing the trouble. I removed it for testing purposes and as expected Live TV no longer gets stopped when opening the recordings window. Bad thing is that I don't have a good ida for a fix right now. Maybe we should not do the folder listing if pvr is playing live tv or a recording? What do you think? |
@ksooo |
@axbmcuser May I kindly ask you not to misuse random unrelated github PRs to contact me personally. Every github comment generates an email for every Team Kodi member. I check trac on a regular base, btw. Thanks. |
Understood. |
Recordings window: Respect setting SETTING_MYVIDEOS_SELECTACTION also for recordings. Fixes inconsistent 'select item' behavior wrt 'normal' videos and recordings.
Reported here: http://forum.kodi.tv/showthread.php?tid=249318
@Jalle19: next one for review, if you like.