Suggestions (1 Viewer)

dukus

Portal Pro
January 20, 2006
783
748
44
Home Country
Romania Romania
Please post in this thread, any suggestion or improvement idea.
:D
 

idioteque

Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    is it possible to execute an external command like a batch file after installing, and do the same after un-installing?

    If not can this be implemented ?
     

    dukus

    Portal Pro
    January 20, 2006
    783
    748
    44
    Home Country
    Romania Romania
    is it possible to execute an external command like a batch file after installing, and do the same after un-installing?

    If not can this be implemented ?

    I think solve yours problem, with a small plugin file. I add support for plugins, see wiki
     

    idioteque

    Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    OK thank you,

    Now for some advanced features: :)
    Can I read the config of the installed MP and changes settings or use info of the config

    Example 1: Read path of video shares and add files to that path
    Example 2: Read settings and change settings ?
     

    dukus

    Portal Pro
    January 20, 2006
    783
    748
    44
    Home Country
    Romania Romania
    For reading some information from config:
    Ex.: Read all share information : (you may find more MovieShares.cs)

    Code:
    using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MediaPortal.xml")))
    {
       string defaultShare = xmlreader.GetValueAsString("movies", "default", "");
            for (int index = 0; index < 20; index++)
            {
              string shareName = String.Format("sharename{0}", index);
              string sharePath = String.Format("sharepath{0}", index);
              string sharePin = String.Format("pincode{0}", index);
    
              string shareType = String.Format("sharetype{0}", index);
              string shareServer = String.Format("shareserver{0}", index);
              string shareLogin = String.Format("sharelogin{0}", index);
              string sharePwd = String.Format("sharepassword{0}", index);
              string sharePort = String.Format("shareport{0}", index);
              string shareRemotePath = String.Format("shareremotepath{0}", index);
              string shareViewPath = String.Format("shareview{0}", index);
    
              string shareNameData = xmlreader.GetValueAsString("movies", shareName, "");
              string sharePathData = xmlreader.GetValueAsString("movies", sharePath, "");
              string sharePinData = MediaPortal.Util.Utils.DecryptPin(xmlreader.GetValueAsString("movies", sharePin, ""));
             }
    }
     

    jburnette

    Portal Pro
    August 24, 2006
    758
    116
    Kentucky
    Home Country
    United States of America United States of America
    dukus,
    I really like the idea and once I got the hang of package creation, it's much easier than having to write a long how-to of where to put all of the files. One problem though, when you click install from within the plugins/mpinstaller screen in MP setup, it doesn't automatically choose the file type MPI. In the filename box it shows "openFileDialog1" with no file type specified.
     

    dukus

    Portal Pro
    January 20, 2006
    783
    748
    44
    Home Country
    Romania Romania
    i not forgot, but not really tested with a skin installation, but somebody can confirm it is work we may add.
     

    Users who are viewing this thread

    Similar threads

    I am Sure the Issues will be fixed towards a stable. NET6 Version. Please don't get me wrong - My Intent was not any Complaint at all. I just wanted to: understand current Status & Situation understand my Options for a stable System improve my Knowledge & learn from Experts Especially because your limited Dev Resources and the...
    I am Sure the Issues will be fixed towards a stable. NET6 Version. Please don't get me wrong - My Intent was not any Complaint at...
    Hello Folks, Yesterday I upgraded to Mediaportal 2.5 via uninstalling 2.4.1 first and then install the latest .NET6 Variant of...
    Replies
    12
    Views
    1K
    I've setup my HDHomeRun in MP1 as (4) IPTV cards rather than Atsc. I can see the (4) Atsc cards, but just have them disabled. I did it this way so I didn't have to edit the channel names every time tested a new TV-server install. Anyway, it works. I don't know if this would get you past the BDA driver issue. I'll provide more...
    I've setup my HDHomeRun in MP1 as (4) IPTV cards rather than Atsc. I can see the (4) Atsc cards, but just have them disabled. I...
    I am brand new to MediaPortal. I have installed MP 2.4.1 on Windows 10. It is a fresh install and fully up to date. I have an...
    Replies
    19
    Views
    1K
    Hi, yes, you are right. The official x64 1.32 is buggy. You can try a new installers from this post if you like.
    Hi, yes, you are right. The official x64 1.32 is buggy. You can try a new installers from this post if you like.
    hi, I'm setting up a new computer and have installed MP 1.3.2 after a few goes and getting all the prereqs installed, I was...
    Replies
    3
    Views
    743
    Thanks again for all the help. I deleted 'BDHandler.dll" from the process folder, and as expected, it no longer appears in the MePo configuration utility. I also downloaded the X86 BDReader plugin that you posted. Renamed the existing files in the MePo folder, and copied the updated files to the MePo folder. For the most part...
    Thanks again for all the help. I deleted 'BDHandler.dll" from the process folder, and as expected, it no longer appears in the...
    I'm not sure that this works on 32-bit, but if I try to play a 4K UHD Blu-ray (Using makeMKV, modified firmware, and AnyDVD HD) the...
    Replies
    22
    Views
    2K
    Just did an update of my system from Win 7 / MP 1.25 to Win 10 / MP 1.31 on a single seat system and came across a problem with the tv server startup being erratic. Approx 50% of the time on PC reboot from scratch the tv server process was showing "starting" but would never start and consequently neither would MP or MP Server Config...
    Just did an update of my system from Win 7 / MP 1.25 to Win 10 / MP 1.31 on a single seat system and came across a problem with the...
    Just did an update of my system from Win 7 / MP 1.25 to Win 10 / MP 1.31 on a single seat system and came across a problem with the...
    Replies
    0
    Views
    747
    Top Bottom