Databases/ViewModes: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Text replacement - "Category:Live_TV" to "")
(Updated for v19)
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 v18 - ViewModes6.db
;Kodi v19 - ViewModes6.db




Line 55: Line 55:
|skin || text || Skin settings apply to
|skin || text || Skin settings apply to
|}
|}




Line 60: Line 61:


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


{{updated|18}}
[[Category:PVR]]
[[Category:PVR]]
[[Category:Index]]
[[Category:Manual]]
[[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:Advanced topics]]
[[Category:Skin_development]]

Revision as of 23:50, 24 June 2021

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 v19 - 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