which is the container ID for current playlist ?
#1
If I understand correctly, container ID sets the method to fill the item list content.

fro viewFilesMode.xml :
51 for vidéo files
59 for song info
57 for pictures

which ID let me display current playlist content ?
Actually MusicPlayer infolabel only let me get info about current played song, but gives nothing about listitem.

Is there a place where these specific IDs are explained ! I'm getting crazy searching forum/code/skin files !
Reply
#2
http://wiki.xbmc.org/index.php?title=Window_IDs

and

http://wiki.xbmc.org/index.php?title=Ope...nd_Dialogs

Should give you a good start
Image
Reply
#3
If using a SVN version you can turn on skin debugging in addon.xml. This really helps in locating what xml you are in, plus it has some other useful info.

If you dont want to use a SVN version, what I use to do is load up Alaska and there is a setting for skin debugging. It works basically the same as the skin debugging that is now built into XBMC...
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#4
Arcanthur Wrote:http://wiki.xbmc.org/index.php?title=Window_IDs

and

http://wiki.xbmc.org/index.php?title=Ope...nd_Dialogs

Should give you a good start

Thanks for the answer, but did you notice that in the wiki the window list jump from id 40 to 100 ?

Quote:If using a SVN version you can turn on skin debugging in addon.xml. This really helps in locating what xml you are in, plus it has some other useful info.

If you dont want to use a SVN version, what I use to do is load up Alaska and there is a setting for skin debugging. It works basically the same as the skin debugging that is now built into XBMC...

OK thanks I'll try this.
Reply
#5
I've tried the Alaska skin and set debugging mode to enable display information.
Ho by the way the control label has some error
( see includes.xml <include name="Debug">)
I had to change the label to :
Code:
/ $INFO[System.CurrentWindow] / $INFO[System.CurrentControl]
In order to crrectly display those values.

But still I have got my container's ID displayed.
Image


The mystery continues for me.
I think I'll try to go through scripts in order to fill the container for ID50.

I dont have this famous addon.xml file.
My svn rev :
Code:
svn info
Chemin : .
URL : http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk
Racine du dépôt : http://xbmc.svn.sourceforge.net/svnroot/xbmc
UUID du dépôt : 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Révision : 28542
Type de nœud : répertoire
Tâche programmée : normale
Auteur de la dernière modification : bobo1on1
Révision de la dernière modification : 28542
Date de la dernière modification: 2010-03-11 18:23:10 +0100 (jeu. 11 mars 2010)

But how am I supposed to to with it ?
Reply
#6
bizulk Wrote:If I understand correctly, container ID sets the method to fill the item list content.

fro viewFilesMode.xml :
51 for vidéo files
59 for song info
57 for pictures

you're getting it a bit wrong there, those ID's just refer to certain viewmodes, like 'list view', 'wall view' or 'thumbnail view' etc...
they've got nothing to do with setting content to videos, pictures or whatever.

bizulk Wrote:which ID let me display current playlist content ?

current playlist would be MyMusicPlaylist.xml. again you can use any ID you've previously defined. they only relate to how the information is presented and not what information is shown.

hope this make things a bit clearer. if you haven't came across it, the xbmc skinning manual should be a good place to start.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
Quote:you're getting it a bit wrong there, those ID's just refer to certain viewmodes, like 'list view', 'wall view' or 'thumbnail view' etc...
they've got nothing to do with setting content to videos, pictures or whatever.

OK, so ID are quite 'subtype' for list view.

When I activate the window MyMusicPlaylist.xml (500) the log indicates a call GetDirectory()
Code:
11:37:20 T:3032741760 M:2363092992   DEBUG: CGUIMediaWindow::GetDirectory (playlistmusic://)
11:37:20 T:3032741760 M:2363092992   DEBUG:   ParentPath = []
11:37:20 T:3032741760 M:2363092992 WARNING: CRITSEC[0xbfe41548]: Trying to initialze initialized section.
11:37:20 T:3032741760 M:2363092992 WARNING: CRITSEC[0x9523824]: Trying to initialze initialized section.
11:37:20 T:3032741760 M:2363092992   DEBUG: CDatabase: Connecting to database ViewModes at /home/sli/.xbmc/userdata/Database:
11:37:20 T:3032741760 M:2363092992   DEBUG: CDatabase: Connecting to database ViewModes at /home/sli/.xbmc/userdata/Database:
11:37:20 T:3032741760 M:2363092992   DEBUG: CDatabase: Connecting to database ViewModes at /home/sli/.xbmc/userdata/Database:
But this set the container to your recorded playlist in your DB.
My target is to load the current playlist (that I set with addtoplaylist() and setcurrentplaylist() cmds).

Maybe there is a special "directory string" that set my musiplaylist container with the current playlist.

Otherwise I'm thinking about a script that would to that.
Reply
#8
ronie Wrote:you're getting it a bit wrong there, those ID's just refer to certain viewmodes, like 'list view', 'wall view' or 'thumbnail view' etc...
they've got nothing to do with setting content to videos, pictures or whatever.

current playlist would be MyMusicPlaylist.xml. again you can use any ID you've previously defined. they only relate to how the information is presented and not what information is shown.
.

So why infolabel container are referring to IDs ?
http://wiki.xbmc.org/?title=InfoLabels
Reply

Logout Mark Read Team Forum Stats Members Help
which is the container ID for current playlist ?0