2012-05-26, 20:08
There is a few different ways, which is best practice?
I dont like this as it is an absolute reference, not relative the actual running add-on.
$ADDON[script.linux.nm 621]
.
This is ok but does not looks so nice. Also it does not accept higher than 9999 which is fine but does not match most add-on existing pattern.
<label>$LOCALIZE[SCRIPT9999]</label>
This is nice but seem to refer to xbmc internal strings? Is there a range that the addon can use or how does it work?
<label>621</label>
I dont like this as it is an absolute reference, not relative the actual running add-on.
$ADDON[script.linux.nm 621]
.
This is ok but does not looks so nice. Also it does not accept higher than 9999 which is fine but does not match most add-on existing pattern.
<label>$LOCALIZE[SCRIPT9999]</label>
This is nice but seem to refer to xbmc internal strings? Is there a range that the addon can use or how does it work?
<label>621</label>