Databases/ViewModes: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Create Page)
 
(Updated for v18)
Line 10: Line 10:
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 v17 - ViewModes6.db
;Kodi v18 - ViewModes6.db




Line 22: Line 22:
{| class="wikitable"
{| class="wikitable"
! style="width:130px; text-align:left;" | Column Name  
! style="width:130px; text-align:left;" | Column Name  
! style="width:100px; text-align:left;" | Data Type
! style="width:100px; text-align:left;" | Data Type
! style="width:400px; text-align:left;" | Description  
! style="width:400px; text-align:left;" | Description  
|-
|-
Line 36: Line 36:
{| class="wikitable"
{| class="wikitable"
! style="width:130px; text-align:left;" | Column Name  
! style="width:130px; text-align:left;" | Column Name  
! style="width:100px; text-align:left;" | Data Type
! style="width:100px; text-align:left;" | Data Type
! style="width:400px; text-align:left;" | Description  
! style="width:400px; text-align:left;" | Description  
|-
|-
Line 62: Line 62:




{{updated|17}}
{{updated|18}}
[[Category:PVR]]
[[Category:PVR]]
[[Category:Index]]
[[Category:Index]]

Revision as of 05:32, 23 April 2019

Kodi Databases

See also:

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



ViewModes#.db

Kodi stores the selected view type for every path in every skin. This enables different view types for different parts of the library. This database contains the last set view and sorting method for each path while navigating Kodi.

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

Kodi v18 - ViewModes6.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.


version

Database details

Column Name Data Type Description
idVersion integer Database version
iCompressCount integer


view

This table stores details on the saved view mode for all known paths.

Column Name Data Type Description
idView integer Primary Key
window integer Window GUI ID
path text Path to trigger the view on
viewMode integer View Mode
sortMethod integer ID of sort method
sortOrder integer Sort order (ascending or descending)
sortAttributes integer
skin text Skin settings apply to



Return to top