-
-
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
[Estuary] Add more metadata to Video info pane #17179
Conversation
This PR adds the following metadata to the Video info pane: - Date *(episode/video)* - DateAdded *(episode/movie/video)* - Duration *(episode/movie/video)* - PlayCount - LastPlayed - DBType This is useful for VOD video plugins to provide additional information related to the video/streams. But it is equally useful for local video media.
I removed the Duration from the metadata as it is already available from the Media Flags info. |
<param name="control_id" value="161" /> | ||
<param name="label" value="[COLOR button_focus]$LOCALIZE[570]: [/COLOR]$INFO[ListItem.DateAdded]" /> | ||
<param name="altlabel" value="$LOCALIZE[570]: $INFO[ListItem.DateAdded]" /> | ||
<param name="visible" value="!String.IsEmpty(ListItem.DateAdded) + (String.IsEqual(ListItem.DBType,episode) | String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,video))" /> |
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.
please add DBType musicvideo as well.
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.
Done.
1a934b4
to
c7a2fd6
Compare
looks good to me, thx! |
[Estuary] Add more metadata to Video info pane
Description
This PR adds the following metadata to the Video info pane (when available):
Duration (episode/movie/video)Motivation and Context
This is useful for VOD video plugins to provide additional information
related to the video/streams. But it is equally useful for local video
media.
This fixes add-ons/plugin.video.vrt.nu#674
How Has This Been Tested?
This has been tested on Kodi Leia mostly, however this part of the skin is not different to Kodi Matrix.
Screenshots (if appropriate):
Screenshot for local movie
Screenshot for local TV show
Screenshot for local TV show episode
Screenshot for VOD movie
Screenshot for VOD TV show episode
Types of change
Checklist: