Databases/Epg: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Text replacement - "Category:Live_TV" to "")
(Updated for v19)
Line 1: Line 1:
{{Template:DatabasesNavBox}}
{{Template:DatabasesNavBox}}
{{mininav| [[Development]] {{l2| [[Userdata]]}} | [[Databases]]  }}
{{mininav| [[Development]] {{l2| [[Userdata]]}} | [[Databases]]  }}




Line 10: Line 9:
The current stable release of {{kodi}} is using the following version of the database:
The current stable release of {{kodi}} is using the following version of the database:


;Kodi v18 - Epg12.db
;Kodi v19 - Epg13.db




Line 83: Line 82:
|-
|-
|iStarRating || Integer || Star rating
|iStarRating || Integer || Star rating
|-
|bNotify || bool ||
|-
|-
|iSeriesId || Integer ||  
|iSeriesId || Integer ||  
|-
|-
|iEpisodeID || Integer ||  
|iEpisodeId || Integer ||  
|-
|-
|iEpisodePart || Integer ||  
|iEpisodePart || Integer ||  
Line 96: Line 93:
|iFlags || Integer ||  
|iFlags || Integer ||  
|-
|-
|sSeriesLink || varchar(255) ||
|sSeriesLink || varchar(255) ||  
|}
|}


Line 126: Line 123:
|idVersion || integer || Database version
|idVersion || integer || Database version
|-
|-
|iCompressCount || integer ||  
|iCompressCount || integer || Number of times database has been compressed
|}
|}






{{Top}}
{{Top}}
{{updated|19}}


{{updated|18}}
[[Category:PVR]]
[[Category:PVR]]
[[Category:Index]]
[[Category:Manual]]
[[Category:Karellen]]
[[Category:Karellen]]
[[Category:Development]]
[[Category:Development]]
[[Category:Video library]]
[[Category:Music library]]
[[Category:Advanced topics]]

Revision as of 23:44, 24 June 2021

Kodi Databases

See also:

Home icon grey.png   ▶ Development
▶ Userdata
▶ Databases ▶ Epg


EPG#.db

The EPG#.db database file contains the listings for the Electronic Program Guide for Live-TV

The current stable release of Kodi is using the following version of the database:

Kodi v19 - Epg13.db


Warning: The databases are critical components of Kodi. We strongly urge that you do not interfere with them, unless you have knowledge and experience with database designs.


epg

Lists the channel names and source of the EPG information

Column Name Data Type Description
idEpg integer Primary Key
sName varchar(64) Channel Name
sScraperName varchar(32) Source of Information

Nuvola apps kscd.png

epgtags

This table stores the downloaded EPG data

Column Name Data Type Description
idBroadcast integer Primary Key
idBroadcastUid integer
idEpg integer
sTitle varchar(128) Program Name
sPlotOutline text Short program description
sPlot text Long program description
sOriginalTitle varchar(128) Original program title
sCast varchar(255) Cast in program
sDirector varchar(255) Director of program
sWriter varchar(255) Writer of program
iYear integer Release year of program
sIMDBNumber varchar(50) IMDB title ID
sIconPath varchar(255) Path to channel icon
iStartTime integer Program start time in seconds from 1 January 1970
iEndTime integer Program end time in seconds from 1 January 1970
iGenreType Integer
iGenreSubType integer
sGenre varchar(128)
iFirstAired Integer First time aired
iParentalRating Integer Parental rating
iStarRating Integer Star rating
iSeriesId Integer
iEpisodeId Integer
iEpisodePart Integer
sEpisodeName varchar(128)
iFlags Integer
sSeriesLink varchar(255)


lastepgscan

This table holds information detailing EPG updates

Column Name Data Type Description
idEpg integer Primary Key
sLastScan varchar(20) yyy-mm-dd hh:mm:ss of last EPG scan for new content


version

Database details

Column Name Data Type Description
idVersion integer Database version
iCompressCount integer Number of times database has been compressed



Return to top