No #itemcount? (1 Viewer)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Is it really true that #itemcount is not returned from Moving Pictures?

    I have trouble to get it to show in the skin with this plugin...

    I know I can use #MovingPictures.general.totalmoviecount but I want the localized string "items" too!
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    you could use mediaportals string:

    <String id="507">items</String>

    Of course you wont be able to use this with the moviecount property in a single label control (no skin join function unfortunately). If using two controls is no issue for you then this can be done quite easily
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #4
    All I really want is the #itemcount to be exposed as it is in all built-in plugins. This will create a nice "112 Objects" with the correct language string. So in Danish it will be "112 objekter".

    All the built-in plugins can do this (music, video, pictures, radio, tv, burner).

    I endure the same irritation on TV-Series and Mes Films, why can't they just follow a bit of the standard-names in MediaPortal?

    Since you cannot (as you mention) join more variables or variables + strings in labels, this means no internationalization.

    Wouldn't it be appropiate to expose #itemcount to the skin? Or if not, why?

    [edit]In the original post I wrote "items" but I meant "objects". This doesn't mean anything, though.[/edit]
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    @pileave +1! While you are at it, can you get #itemcount supported in all the other community plugins as well :) IMO it should be mandatory for all plugins that list items.

    Would it not be possible to provide plugin developers with a standard kit of gui properties that should always be supported? Every time I have to skin a new plugin I just groan and beat my head trying to figure out which properties are supported!

    EDIT: Just to be clear, I am not blaming plugin devs, I think they are willing, but as there is so little docs on skinning they don't always know what should be supported, or how.

    BTW MovPics also does not support dimcolor on thumbnails and filmstrips!
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #7
    All in all this problem is based on the not-so-good "write your own plugin" tutorial in the Wiki. If this was up to date and had the most important listed properties, it would help :)

    Then again, I believe #selecteditem is created automatically, I guess same goes for #selectedthumb...
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    You make very good points, as usual, pilehave but I don't know the solution :) As we are wandering off topic here I have started a new post. I wasn't sure where to put it so I put it in the Plugins forum here
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    44
    Texas
    Home Country
    United States of America United States of America
    We, the Moving Pictures team, would be happy to add new skin properties, we just didn't know there was a standardized property we were supposed to populate. :/ Pretty much anything requested (within reason) can be thrown in the next release. Skin properties are easy to add.

    For future reference the most immediate way to get in touch with the Moving Pictures developers is via our IRC Channel.
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #10
    Well, there were really no standard properties, not defined in the Wiki or anything like that at least. It just would be nice if all (well, good important ones!) plugins had a set of standard properties to expose :)
     

    Users who are viewing this thread

    Top Bottom