Can I change video list to files' time duration instead of file size
#1
In the MyVideoNav screen while viewing files the file size is displayed (default).
I would rather see the time duration.

I cannot find MyVideoNav.xml in my Raspberry Pi, Kodi 18.7 Estuary skin to begin.
Reply
#2
(2021-07-16, 19:16)LouF Wrote: In the MyVideoNav screen while viewing files the file size is displayed (default).
I would rather see the time duration.

I cannot find MyVideoNav.xml in my Raspberry Pi, Kodi 18.7 Estuary skin to begin.
Why do you want to display the duration ? it is already written at the right bottom. But you can do that :
It is not in the myvideonav.xml file but in the View_54_Infowall.xml file for the wall and info wall views.

In the View_54_Infowall.xml find in
xml:
<include name="InfoWallEpisodeLayout">
this line :
xml:
<label>$PARAM[thumb_label]</label>
and change this line to
xml:
<label>$INFO[ListItem.duration]</label>
Reply
#3
And for the WideList view, it is in the View_55_WideList.xml file

You have to change some line : 
xml:
<label>$VAR[ListLabel2Var]</label>
to 
xml:
<label>$INFO[ListItem.duration]</label>
but I don't know which ones...
Reply
#4
(2021-07-24, 16:28)Bungee_G Wrote: And for the WideList view, it is in the View_55_WideList.xml file

You have to change some line : 
xml:
<label>$VAR[ListLabel2Var]</label>
to 
xml:
<label>$INFO[ListItem.duration]</label>
but I don't know which ones...

It was in the View_55_WideList.xml for the file list display that I typically use at the 3rd and 4th locations down; 3rd is for focused (highlighted file), 4th is for the normal list display.

I am browsing files of videos I have on an attached drive to a Raspberry Pi.  I view them on a TV set, and the boxes on the bottom are very small so that is why I want to see the duration in the list.

BTW, there are two other locations of the "$VAR[ListLabel2Var]" above the two that were changed (in identically named branches).  I call those place #s 1 and 2.  Those did not affect the list display that I typically use , and didn't I check for functionality differences.  I probably don't want them to change, either.

Other notes (for others' reference): Kodi does not need to be restarted after changes to the file are made and saved; the xml files are located at /usr/share/kodi/addons/skin.estuary/xml


Thank you very much !!
Reply

Logout Mark Read Team Forum Stats Members Help
Can I change video list to files' time duration instead of file size0