Page 1 of 1

Support more EPG properties

Posted: Mon May 11, 2015 4:08 pm
by tripkip
Looking at the latest Kodi Argus TV addon code, I saw that there is a lot of room for improvement!

Basically every line where there is a default value is a property of epg data that we are missing in argus tv and that can be very useful for the media player client. The term 'broadcast' in this piece of code refers to a single program that is being broadcasted, a single entry of your EPG data/tv schedule.

Implementing support for these elements will allow a much richer EPG in the client.

Code: Select all

            broadcast.strIconPath         = "";
            broadcast.iGenreType          = EPG_GENRE_USE_STRING;
            broadcast.iGenreSubType       = 0;
            broadcast.strGenreDescription = epg.Genre();
            broadcast.firstAired          = 0;
            broadcast.iParentalRating     = 0;
            broadcast.iStarRating         = 0;
            broadcast.bNotify             = false;
            broadcast.iSeriesNumber       = 0;
            broadcast.iEpisodeNumber      = 0;
            broadcast.iEpisodePartNumber  = 0;
            broadcast.strEpisodeName      = "";
            broadcast.strOriginalTitle    = "";
            broadcast.strCast             = "";
            broadcast.strDirector         = "";
            broadcast.strWriter           = "";
            broadcast.iYear               = 0;
            broadcast.strIMDBNumber       = "";
My personal favorites would be:
  • strIconPath - image for the episode/program
  • iGenreType - needs further investigation, I think this will enable color coded genres
  • iSeriesNumber
  • iEpisodeNumber
  • strEpisodeName
  • iYear
  • strIMDBNumber