content type in mypics.xml
#1
Question 
When browsing through a Picture add-on, what should be the content type? Is there even a content type at all?

I'm trying to use

PHP Code:
<itemlayout condition="Container.Content(files) + Container.HasFolders" width="620" height="40"

yet it does not return true in MyPics.xml, whereas it does return true for video files.

Using this works:
PHP Code:
<itemlayout condition="SubString(Container.FolderPath,plugin://plugin.image) + Container.HasFolders" width="620" height="40"

However I would prefer not having to work around this. That is, if I'm right in saying the content type for pictures should be files...?
Reply
#2
content types are set by the addon authors, if they dont its container.content().
Reply
#3
Cheers. I got it covered now, but that affects the non-addon listings too though. Basically I think it would be good if pictures would be classified as files too
Reply
#4
Doesnt "Container.Content(pictures)" Work?

EDIT -> o.k. did see it doesnt. /EDITEND


---------

or Probably sometthing like this:
PHP Code:
Window.IsVisible(pictures) + Container().HasFiles 
Reply

Logout Mark Read Team Forum Stats Members Help
content type in mypics.xml0