Kodi Community Forum

Full Version: What is the relation between viewMode ID and skin's XML?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi to all,
in my userdata/Database/ViewModes6.db I can see the view table containing the viewMode column:
Quote: 1|10025|videodb://movies/genres/1/|131572|29|1|1|skin.estuary
2|10025|/data/videos/cartoons/|131572|4|1|0|skin.estuary
4|10502|musicdb://recentlyaddedalbums/|65591|0|0|0|skin.estuary
I cannot understand the videMode IDs: what are that numbers? 131572, 65591 and many others like 131572, 65536, ... I supposed to find them into the XML files of the skin, but I was wrong!
Can somebody help me and explain? Thank you very much!
(2018-11-21, 19:11)Niccolo Wrote: [ -> ] 1|10025|videodb://movies/genres/1/|131572|29|1|1|skin.estuary
After some reverse engineering (did not read the source code jet) it seems that the least significant part of viewMode is actually the ID of the viewmode. E.g: the line quoted above:

131572 = 0x201F4, least significant 16 bits = 0x01F4 = 500

infact 500 corresponds to View_500_Wall.xml, which is the one I selected for that path. I have jet to understand the most significant part, in my live case it is 0x01 or 0x02...