Posts: 26,215
Joined: Oct 2003
Reputation:
187
it's a reference to which string should be used for the text. the strings are found in the language\xxx\strings.xml file, where xxx is the local language to use. this allows localization of xbmc.
ie label number 155 refers to the string "drive" in english.
Posts: 164
Joined: Mar 2004
Reputation:
0
oh, ok, that makes sence
then where is the actual tag that show the remaining space of the drive?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
the remaining space on the drive is calculated and displayed. then label number 160 is displayed. if it can't calculate the free space, then label number 161 is displayed.
i found this out by examining the source code for this window (guiwindowsysteminfo.cpp)
Posts: 164
Joined: Mar 2004
Reputation:
0
ok, thanks, looks like i will have to dig in the code myself a bit
so to confirm, i can't just take the remaining hd space and display it in another window? like home.xml? or is there a way to do it (without modifying the code of cource)
Posts: 26,215
Joined: Oct 2003
Reputation:
187
nope, you can't.
the freespace is calculated in the code, so you'll need to transplant the code into guiwindowhome.cpp as well.
the labels will only give you the words "drive" and "free space".
Posts: 164
Joined: Mar 2004
Reputation:
0
jmarshall, thanks
i was about to attempt to do that again, so you saved me another headache
Posts: 2
Joined: Jun 2004
Reputation:
0
to me this seems like a huge disadvantage that should be corrected. i use xbmc as my dashboard and sorely miss this information on the main page like you get with most other dashboards. i spent many hours trying to figure out how to get the information from the system info page on the home page only to be disappointed upon finding this post...it is, in the end, what has made me decide to stop working on the skin i was creating...what is the point if i can't rearrange everything i don't like?
Posts: 164
Joined: Mar 2004
Reputation:
0
well, maybe you could just put a button on the home screen that will link to the system info page
although, i do agree, i would love to have info. especially the ip on the main screen.
Posts: 25
Joined: May 2004
Reputation:
0
ya, this was the first thing i tried to do when creating my skin. this should definately be a feature request. it'd also be nice to see a little pie chart... heh, i know i'm dreaming.