-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Added PVR.EpgEventIcon guiinfo label #14372
Conversation
Shouldn't it be mapped to the PVR.xxx values where all other PVR related stuff is stored? Line 4602 in 3ac1118
|
I don't think so, this should work similar to the VideoPlayer.Plot API, it's not for the PVR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not Videoplayer.EpgEventIcon, but PVR.EpgEventItem. Videoplayer knows nothing about EPG.
@ksooo but you also have epg info (related to pvr) on videoplayer like: VIDEOPLAYER_HAS_EPG
|
How about trusting me a little bit? I know this code for a couple of years now. Well, all labels related to EPG are subject to get moved to PVR. They were added to VideoPlayer scope at times were we did not have a sharp eye on software architecture... Plot and starttime are generic properties, valid for both 'normal' videos and PVR. Thus, PVR 'overrides' the generic properties. |
@ksooo Request changes made. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only some minors.
xbmc/GUIInfoManager.cpp
Outdated
/// \table_row3{ <b>`PVR.EpgEventIcon`</b>, | ||
/// \anchor PVR_EpgEventIcon | ||
/// _string_, | ||
/// Returns the thumbnail for the epg event associated with the item (if it exists) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
xbmc/guilib/guiinfo/GUIInfoLabels.h
Outdated
@@ -593,6 +593,7 @@ | |||
#define PVR_TIMESHIFT_PROGRESS_START_TIME (PVR_STRINGS_START + 70) | |||
#define PVR_TIMESHIFT_PROGRESS_END_TIME (PVR_STRINGS_START + 71) | |||
#define PVR_STRINGS_END PVR_TIMESHIFT_PROGRESS_END_TIME | |||
#define PVR_EPG_EVENT_ICON (PVR_STRINGS_START + 72) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Just a comment regarding the wording: Added PVR.EpgEventIcon API What you are doing in Kodi terminology is adding a guiinfo label, not an API. |
Review requests implemented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What @ksooo says
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks.
jenkins build this please |
@sualfred fyi |
Description
Similar to #14361 but for the VideoPlayer
Types of change
Checklist: