Hide unused buttons from default screen. (1 Viewer)

JSchuricht

Test Group
  • Team MediaPortal
  • January 13, 2009
    237
    43
    Arizona
    United States of America United States of America
    Country flag
    I am building a system for someone and need to hide as many unused buttons on the default screen as possible. I have been searching for a while now, probably with the wrong terms but what file contains the list of buttons. For instance if I wanted to remove videos, audio and images from the default screen, what config file are they in and what are they called so I can comment them out?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,391
    6,966
    Germany Germany
    Country flag
    This could be done using different approaches.

    1: You could remove unwanted plugins completely from the MP2-Client\Plugins folder. But as Skins depend on some plugins, this will break the use of them and you will get a fallback to default (blue) skin.

    2: The better way for controlling, which items are shown in "Home" is to modify the plugin's workflowactions: https://github.com/MediaPortal/Medi...in/default/workflow/media-actions.xml#L16-L33.

    This means: each plugin describes which action can be entered from which state. The quoted ones above define actions from "Home" to the different media sections. If you comment them out step by step, you will see the menu items disappearing.
     

    JSchuricht

    Test Group
  • Team MediaPortal
  • January 13, 2009
    237
    43
    Arizona
    United States of America United States of America
    Country flag
    It wasn't a 100% fix but it helped. I was able to knock the home page down from 15 to 6 buttons with a combination of the methods you posted.

    For plugins I removed OnlineVideos, PartyMusicPlayer, Tve3RecordingMetadataExtractor and Utilities

    In media-actions I was unable to comment out the lines without the majority of the buttons disappearing unexpectedly. Removing the lines entirely did work for Audio, Videos, BrowseLocalMedia, BrowseMedia, Images and Latest Media.

    Series and Movies are the only things I wanted to keep so I didn't try to remove them. Removing weather or news broke everything and I was unable to find anything that worked for playlists. In this particular instance I would like to go as far as hiding or locking settings as well... perhaps in a future version. It could prove useful for people with kids too.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    R [solved] Hide Windows 10 volume OSD Feature Requests 3
    404 Website unusable Website/Forum/Wiki Feedback 4
    W MP unusable after Windows april update General Support 5
    framug 1.25.0 Modify native Irtrans buttons Remotes 10
    Patrik-See Spenden Button (Url) geht nicht mehr Allgemeines Supportforum 3
    T [solved] Green Button start MP not working....but box ticked in config. General Support 1
    wizard123 [solved] Auto sizing buttons to text content MediaPortal 1 11
    Rob Hexenmeister Navigation problems adding menu buttons to EPG General Support 1
    S Remote button to change audio and subtitle on / off General 10
    Rob Hexenmeister [solved] Latest Media Handler - skinning buttons Fanart Handler 19
    T How to add missing buttons IR Server Suite (IRSS) 0
    Rob Hexenmeister Video Buttons / Latest Media MediaPortal 1 Skins 7
    emphatic PC Power button on puts MediaPortal in Away Mode Remotes 5
    N [Finished] [MP2-789] MCE remote control Recorded TV and My Pictures buttons do not work MediaPortal 2 17
    Rob Hexenmeister Shutdown options General Support 0
    Wampus [MP2-752] Record-Button not working on the fly General 7
    S Pause button no longer works with MadVR in 1.19 General Support 4
    J Info button is virtually pressed with each button use in MePo 1.19 Remotes 8
    W "Enter" button no longer works General Support 26
    B [Finished] TV Guide Navigation Button Archive 0
    Top Bottom