Updated Wiki pages could use review (1 Viewer)

DieBagger

Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    DieBagger -Thanks for doing those. I really could have used them when I started skinning :) I read through them and did not find any mistakes, but I am not a great expert either.

    What is missing is the usage, links to related xmls and controls, tips and known issues. But that is missing on almost every Wiki page. For example, documentation on videowindow is only helpful if you know what media overlays are, the relationship between music and video overlays, the role of videooverlaytop.xml, the use of allowoverlay and the difference between built in overlays and imported overlays.

    So I hope to start adding some more general information that then links to the GUI controls pages, to give more of an overview.

    I also added some basic description of Styles to Skin Architecture

    rekenaar - maybe there should be a sticky for Skin Wiki Documentation - so there is a central place to keep track of all the changes and additions people are making. Then this post could be moved there? That way NoBugs, and others don't have to go hunting through various threads in different forums?

    EDIT: Could anyone attempt to document the dialogs? These are hard coded in MP so it is very difficult to know or remember which Dialog xml is used by MP in various windows. There is a page on Dialogs but it is out of date and does not tell you when MP uses which Dialog.
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    For example, documentation on videowindow is only helpful if you know what media overlays are, the relationship between music and video overlays, the role of videooverlaytop.xml, the use of allowoverlay and the difference between built in overlays and imported overlays.

    I agree that an explanation of these elements would be very useful, do you know more about this?

    btw: I added the pages for the controls checkbutton and spinbutton (new in 1.1)
    MediaPortal1_Development/SkinArchitecture/spinbutton - MediaPortal Manual Documentation
    MediaPortal1_Development/SkinArchitecture/checkbutton - MediaPortal Manual Documentation
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    I agree that an explanation of these elements would be very useful, do you know more about this?
    Yes, I spent four hours documenting these and many other things only to lose all my additions/changes. SIGH! I was too stupid to do it locally in text format first. So I will try again as soon as I can. But you have inspired me. I have often wanted to provide more 'how to' style info but it was so daunting, especially without the technical details of the GUI Controls fully documented. Every time I tried, I just could not figure out where or how to start. But I decided it is better to add 'overview' pages - i.e. on Media Overlays - and then link to more detailed technical pages like the excellent ones you have done.

    Fantastic! I think there are only a few left now, at least of all the controls listed :):
    • playlistcontrol
    • playlistbutton
    • updownbutton

    When I get a chance I will try and check if there are any more controls not listed in the Wiki.

    Automerged Double Post:

    I just did a quick check and here are the only controls I found not listed in the Wiki - if you feel inspired :):
    • ActionGroup
    • Menu (as used in MyHome)
    Of course, my list is not updated to MP 1.1 yet, so there maybe other new ones but those are listed on the Skin Changes page.
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    Hi,

    I've created a small plugin to showcase the different control types and get a better understanding of the different control properties. I'm planning on putting a link to the plugin to the wiki so a potential developer/skinner can get a quick overview on the available controls. The one thing I can't get working is the side menu (the one that pops up from the left/right). I copied the menu from another xml file but how do I open it? Any help would be much appreciated.

    :D
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    Is the code in an xml? If so, just post the file and I will take a look. Which xml did you copy the menu from? Is it an actiongroup wiith group/button controls? If so, you probably need to check the visibility conditions since you have moved it to a diff xml. Usually the menus have <visibility>!Control.hasfocus(50)</visibility> and then in the facade (ID 50) navigation tags (onright/left) to go to the one of the buttons in the menu. But I don't know if that helps as I'm not sure I understood the problem/question correctly.
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    Yeah that helped ;)

    I didn't find the control with id 50 which is why I couldn't figure out what triggers the menu to show... ^^

    I'm currently trying to figure out the playlistcontrol. How can I setup a playlist so that after I move an item up/down, the up/down button is still selected...

    plalist_updown.PNG

    It works in MyMusic so it has to be possible but I can't figure out how it's done...

    Thx
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    When I went back to the Wiki today it had saved all my edits as drafts!!! :) Now I love our Wiki. I made lots of changes/additions and a new page for Media Overlays I would appreciate it if you or anyone could check it for clarity and accuracy.

    About the playlists - it looks like you are using Blue3? If so, that is odd, because most of the playlist settings are defined in references.xml. Have you modified that file?

    Otherwise, perhaps MP is doing something in MyVideos and MyMusic that makes the up/down buttons work, because I noticed in TVSeries Playlists it also does not work. The definition for playlistcontrol in TVSeries.Playlist.xml is almost exactly the same in Blue3 as it is in common.facade.videotitle.xml or common.facade.music.xml so it makes no sense that it works in one and not in the other.

    You many need an experienced developer to dig into this one :)

    EDIT: BTW I was testing in MP 1.0.2 in Vista, so it is not a MP 1.1.0 issue.
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom