How to Modify the standard List view?
#1
Hello!

I'm trying to see how to modify the standard "List" view (see screenshot below). However, I can't figure out where this list is placed in the xml files. Is this list hardcoded? Basically, I just want to add "duration" after the title track and maybe align it to the left instead of right.

Image
screenshot015 par Borghor, sur Flickr

Thanks for any help!
Reply
#2
What skin are you modifying there?
Reply
#3
It's a modification of Shade. Wanted to make it compatible with Eden and now I feel like adding new stuff, etc... Smile
Reply
#4
Set Debugging from false to true in addon.xml and go to the list view you should see the name.xml ...
Reply
#5
thanks!

then, it's in MyMusicNav.xml, fixedlist "50". But strangely, can't find id="50" in MyMusicNav.xml, nor in ViewsMusicLibrary.xml
Reply
#6
Look in the ViewsFileMode.xml.
Reply
#7
Not there... tried all Include*.xml fileS... :/

SVN repo is here if that helps : http://code.google.com/p/shade-xbmc-eden/source/browse/
ok! found id="50" in DialogAlbumInfo.xml


Thanks guys, I'll see how I can add duration and chanhe the alignment.
Reply
#8
(2012-05-03, 22:17)Balinus Wrote: Not there... tried all Include*.xml fileS... :/

SVN repo is here if that helps : http://code.google.com/p/shade-xbmc-eden/source/browse/
ok! found id="50" in DialogAlbumInfo.xml


Thanks guys, I'll see how I can add duration and chanhe the alignment.
Balinus,

No that is not it, what you want is "CommonRootView" include in the ViewsFileMode.xml. Take a look at the file from line 58
PHP Code:
<control type="fixedlist" id="50"
The id="50" is your view id.

Wyrm (xTV-SAF)


If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
#9
As a general advice - study your includes.xml

It will probably contain code that is (repeatedly) used in various windows with <include> function as well as other XML files (include file="..") with further code. You may want to organize them differently so it makes sense to you.
My skins:

Amber
Quartz

Reply
#10
(2012-05-04, 04:03)wyrm Wrote: No that is not it, what you want is "CommonRootView" include in the ViewsFileMode.xml. Take a look at the file from line 58
PHP Code:
<control type="fixedlist" id="50"
The id="50" is your view id.

Wyrm (xTV-SAF)

oh great, that was it! Smile Thanks!

Image
screenshot067 par Borghor, sur Flickr


(2012-05-04, 11:46)pecinko Wrote: As a general advice - study your includes.xml

It will probably contain code that is (repeatedly) used in various windows with <include> function as well as other XML files (include file="..") with further code. You may want to organize them differently so it makes sense to you.

You wouldn't believe how much time I lost before I understood that a lot of things were "hidden" in the includes*.xml ! Smile

Thanks for the advice. I was beginning to think it might be a good idea to organise things differently. Especially the ViewsVideoLibrary.xml which contain 15 000 lines of code! I think I'll separate each view into a different file.
Reply
#11
This might come in handy -

Debugging/skinning aid for any skin
Reply
#12
Thanks! Debuggrid is nice to have! How often did I changed a position by "2" a a time and looked by eye the "level"! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
How to Modify the standard List view?0