Databases/Addons: Difference between revisions
(Create Page) |
(Updated for v20) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:DatabasesNavBox}} | {{Template:DatabasesNavBox}} | ||
{{mininav| [[Development]] {{l2| [[Userdata]]}} | [[Databases]] }} | {{mininav| [[Development]] {{l2| [[Userdata]]}} | [[Databases]] }} | ||
= Addons#.db = | = Addons#.db = | ||
The Addons#.db database | The Addons#.db database contains the information on all Kodi addons such as skins, scraper, video-addons etc | ||
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 | ;Kodi v20 - Addons33.db | ||
Line 59: | Line 58: | ||
== | == installed == | ||
Add-ons that have been installed, showing status and usage details | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 70: | Line 69: | ||
|- | |- | ||
|addonID || text || Foreign key to [[Databases/Addons#addons|addons table]] | |addonID || text || Foreign key to [[Databases/Addons#addons|addons table]] | ||
|- | |- | ||
| | |enabled || boolean || 0/1 - No / Yes | ||
|- | |||
|installDate || text || Date add-on was installed | |||
|- | |||
|lastUpdated || text || Date add-on was last updated | |||
|- | |||
|lastUsed || text || Date add-o was last used | |||
|- | |- | ||
| | |origin || text || Originating Repository<br> | ||
*A hash (if it's b6a50484-93a0-4afb-a01c-8d17e059feda) means ORIGIN_SYSTEM<br> | |||
*blank means MANUAL (or from ZIP) install<br> | |||
*anything else is installed from a REPOSITORY.<br> | |||
See: [https://github.com/xbmc/xbmc/blob/592fdeef613d44e0f8a8d6375a900435d34ded3b/xbmc/addons/addoninfo/AddonInfo.h#L30-L57 Github] | |||
|- | |- | ||
| | |disabledReason || Integer || NONE = 0<br>USER = 1<br>INCOMPATIBLE = 2<br>PERMANENT_FAILURE = 3<br> | ||
See: [https://github.com/xbmc/xbmc/blob/592fdeef613d44e0f8a8d6375a900435d34ded3b/xbmc/addons/addoninfo/AddonInfo.h#L30-L57 Github] | |||
|} | |} | ||
== | == package == | ||
Details of downloaded zip files for installation. Can be used to roll-back to previous versions. Does not include add-ons installed using ''Install via zip file'' method. | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 103: | Line 102: | ||
|addonID || text || Foreign key to [[Databases/Addons#addons|addons table]] | |addonID || text || Foreign key to [[Databases/Addons#addons|addons table]] | ||
|- | |- | ||
| | |filename || text || Path and name of add-on zip file | ||
|- | |- | ||
| | |hash || text || Hash security check of zip file | ||
|} | |} | ||
== repo == | |||
Details related to the Repository | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 128: | Line 122: | ||
|addonID || text || Foreign key to [[Databases/Addons#addons|addons table]] | |addonID || text || Foreign key to [[Databases/Addons#addons|addons table]] | ||
|- | |- | ||
| | |checksum || text || Hash of the repository | ||
|- | |- | ||
| | |lastcheck || text || Last time Repository was checked for updates | ||
|- | |||
|version || text || Installed version of the repository | |||
|- | |||
|nextcheck || text || Next scheduled check for updates | |||
|} | |} | ||
== update_rules == | |||
== | How non-official repositories are updated | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 148: | Line 145: | ||
|addonID || text || Foreign key to [[Databases/Addons#addons|addons table]] | |addonID || text || Foreign key to [[Databases/Addons#addons|addons table]] | ||
|- | |- | ||
| | |updateRule || Integer || Any = 0<br> | ||
::used internally, not to be explicitly set<br> | |||
User Disabled Auto Update = 1<br> | |||
::automatic updates disabled via AddonInfo dialog<br> | |||
Pin Old Version = 2<br> | |||
::user downgraded to an older version<br> | |||
See: [https://github.com/xbmc/xbmc/blob/592fdeef613d44e0f8a8d6375a900435d34ded3b/xbmc/addons/addoninfo/AddonInfo.h#L30-L57 Github] | |||
|} | |} | ||
Line 167: | Line 166: | ||
|idVersion || integer || Database version | |idVersion || integer || Database version | ||
|- | |- | ||
|iCompressCount || integer || | |iCompressCount || integer || Number of times database has been compressed | ||
|} | |} | ||
Line 173: | Line 172: | ||
{{Top}} | {{Top}} | ||
{{updated|20}} | |||
[[Category:PVR]] | [[Category:PVR]] | ||
[[Category:Add-ons]] | [[Category:Add-ons]] | ||
[[Category:Karellen]] | [[Category:Karellen]] | ||
[[Category:Development]] | [[Category:Development]] | ||
[[Category:Video library]] | [[Category:Video library]] | ||
[[Category:Music library]] | [[Category:Music library]] | ||
[[Category: | [[Category:Skin_development]] |
Latest revision as of 23:16, 22 January 2023
Kodi Databases
See also: |
---|
Development Userdata |
Databases | Addons |
Addons#.db
The Addons#.db database contains the information on all Kodi addons such as skins, scraper, video-addons etc
The current stable release of Kodi is using the following version of the database:
- Kodi v20 - Addons33.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.
addonlinkrepo
Links the Add-on to the Repository
Column Name | Data Type | Description n |
---|---|---|
idRepo | integer | Foreign key to repo table |
idAddon | integer | Foreign key to addons table |
addons
Details relating to the add-on
Column Name | Data Type | Description |
---|---|---|
id | integer | Primary Key |
metadata | blob | |
addonID | text | ID of the Add-on |
version | text | Add-on version |
name | text | Add-on friendly name |
summary | text | Short friendly description |
news | text | Notes |
description | text | Extended description of add-on |
installed
Add-ons that have been installed, showing status and usage details
Column Name | Data Type | Description |
---|---|---|
id | integer | Primary Key |
addonID | text | Foreign key to addons table |
enabled | boolean | 0/1 - No / Yes |
installDate | text | Date add-on was installed |
lastUpdated | text | Date add-on was last updated |
lastUsed | text | Date add-o was last used |
origin | text | Originating Repository
See: Github |
disabledReason | Integer | NONE = 0 USER = 1 INCOMPATIBLE = 2 PERMANENT_FAILURE = 3 See: Github |
package
Details of downloaded zip files for installation. Can be used to roll-back to previous versions. Does not include add-ons installed using Install via zip file method.
Column Name | Data Type | Description |
---|---|---|
id | integer | Primary Key |
addonID | text | Foreign key to addons table |
filename | text | Path and name of add-on zip file |
hash | text | Hash security check of zip file |
repo
Details related to the Repository
Column Name | Data Type | Description |
---|---|---|
id | integer | Primary Key |
addonID | text | Foreign key to addons table |
checksum | text | Hash of the repository |
lastcheck | text | Last time Repository was checked for updates |
version | text | Installed version of the repository |
nextcheck | text | Next scheduled check for updates |
update_rules
How non-official repositories are updated
Column Name | Data Type | Description |
---|---|---|
id | integer | Primary Key |
addonID | text | Foreign key to addons table |
updateRule | Integer | Any = 0
User Disabled Auto Update = 1
Pin Old Version = 2
See: Github |
version
Database details
Column Name | Data Type | Description |
---|---|---|
idVersion | integer | Database version |
iCompressCount | integer | Number of times database has been compressed |
Return to top |
---|