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: Prevent thumbnail extraction (as it cannot work pro… #10373
[PVR] Recordings: Prevent thumbnail extraction (as it cannot work pro… #10373
Conversation
@axbmcuser fyi |
@@ -86,6 +86,9 @@ bool CThumbExtractor::operator==(const CJob* job) const | |||
bool CThumbExtractor::DoWork() | |||
{ | |||
if (m_item.IsLiveTV() |
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 |
Could you wait until Saturday? Why got this broken again? iirc I have fixed this some time ago. |
@FernetMenta You mean this fix, right? https://github.com/xbmc/xbmc/blob/master/xbmc/cores/VideoPlayer/DVDFileInfo.cpp#L107 Fine, but there are more cases you didn't catch. So, it's still broken, not again, imo. ;-) There are many places where
My approach is more restrictive than yours because it generally prevents CThumbExtractor to access pvr recordings, regardless from where it's called. BTW, I did not invent this "type filter" approach at the beginning of EDIT: In case we agree to merge this PR, your abovementioned fix could even be removed, as |
Thanks for explanation. Go ahead
could you do this? maybe move the other exceptions like IsDiscImage to the other place too? |
@FernetMenta yep, will do. |
…perly without major pvr addon api changes).
… not needed any longer, as now done in CThumbExtractor::DoWork()
793fe4d
to
e52bf39
Compare
@FernetMenta done. IsDiscImage check was at "the other place" already, btw. |
jenkins build this please |
Travis error is unrelated |
…perly without major pvr addon api changes).
Fixes the ugly problem reported here: #10333 (comment)
@Jalle19, @FernetMenta good to go? I think I now found a good place for the "pvr recording check"...