Feature Request - Set specific InfoLabels when playing PVR recordings

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ineffablebob Offline
Junior Member
Posts: 11
Joined: Jul 2013
Reputation: 0
Post: #1
I'm attempting to use information about the currently playing recording from the MythTV PVR plugin, and there's not a lot of information available in the infolabels that you'd expect to see. This is with Kodi V16 RC2 on Windows. Here's all the info that I can see (I used the Python API's getInfoLabel method):

11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Time : 00:00
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.TimeRemaining : 59:57
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.TimeSpeed : 00:00
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Duration : 59:57
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Title : Elementary
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.TVShowTitle :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Season :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Episode :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Genre :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Director :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Country :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Year :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Rating :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.UserRating :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Votes :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.RatingAndVotes :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.mpaa :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.IMDBNumber :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.EpisodeName :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.PlaylistPosition :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.PlaylistLength :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Cast :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.CastAndRole :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Album :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Artist :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Studio :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Writer :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Tagline :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.PlotOutline :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.Plot : Holmes and Watson learn that Morland has been keeping a secret that puts their safety at risk; two murders are connected to a for-profit college that utilizes illegal recruitment practices.
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.LastPlayed :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.PlayCount :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.VideoCodec : mpeg2video
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.VideoResolution : 1080
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.VideoAspect : 1.78
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.AudioCodec : ac3
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.AudioChannels : 6
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.AudioLanguage : eng
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.SubtitlesLanguage :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.StereoscopicMode :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.EndTime :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.NextTitle :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.NextGenre :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.NextPlot :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.NextPlotOutline :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.NextStartTime :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.NextEndTime :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.NextDuration :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.ChannelName :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.ChannelNumber :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.SubChannelNumber :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.ChannelNumberLabel :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.ChannelGroup :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP VideoPlayer.ParentalRating :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.FinishTime : 12:19 PM
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.FinishTime(format) : 12:19 PM
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.Chapter : 00
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.ChapterCount : 00
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.Time : 00:00
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.Time(format) : 00:00
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.TimeRemaining : 59:57
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.TimeRemaining(format) : 59:57
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.Duration : 59:57
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.Duration(format) : 59:57
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.SeekTime : 00:00
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.SeekOffset :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.SeekOffset(format) :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.SeekStepSize :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.ProgressCache :
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.Folderpath : pvr://recordings/active/Default/
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.Filenameandpath : pvr://recordings/active/Default/Elementary s04e10 (2016) Alma Matters, TV (WWMT-HD), 20160129_030000.pvr
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.StartTime : 11:07 AM
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.StartTime(format) : 11:07 AM
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.Title : Elementary
11:19:28 T:7828 DEBUG: [script.trakt] service: [traktPlayer] TEMP Player.Filename : Elementary s04e10 (2016) Alma Matters, TV (WWMT-HD), 20160129_030000.pvr

I'd expect that infolabels like episode, season, TVShowTitle, Year, etc would be set. I know the data is there, because it's in the Player.Filename infolabel, but for some reason it's not making it into the more specific infolabels. (Also Plot is populated, but that's not really helpful in identifying what is playing.)

Note that in v15, the Title infolabel included both the show and episode name, but in v16 it has only the show name. All the other stuff like episode and season was still blank in v15.

I should note that I mentioned this to the MythTV PVR developer a while back, and he said that the data is being populated by the MythTV PVR addon. I can't really verify that, not sure how to go about it, but if he's right then the info is getting lost somewhere between the PVR addon and the setting of infolabels.
(This post was last modified: 2016-01-29 18:30 by ineffablebob.)
find quote