Extension Installer V2 (1 Viewer)

rolenof

Portal Member
April 29, 2011
18
8
35
Russia
Home Country
Russian Federation Russian Federation
There is the bug in Plugin maker. It can't publish information about plugin if update.xml located on sourceforge.net, it says that we accept only from sourceforge.com.
 

emphatic

Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    All of a sudden, the whole list of Installed extensions has gone blank. I think this happened after I used an Avallonis skin update patch. The plugins I have installed (that are normally shown in the Extension Manager) are:

    Amped
    Avallonis
    Black Glass Nova HD
    Extensions
    FanArt handler
    IMDB+
    Infoservice
    LatestMediaHandler
    LAVFilters
    MP TV-Series
    MusicInfoHandler
    Mustayaluca
    MyLyrics
    MyTorrents
    OnlineVideos
    PureAudio
    SubCentral
    Trakt
    YouTube.FM

    I since this happened installed MP TV-Series again, and now I have that, Trakt and SubCentral again. Is there a way to recover all the plugins "missing" or do I just have to re-install them now?

    Cheers
    Emph
     

    Dragy

    Portal Pro
    April 27, 2009
    778
    333
    32
    Home Country
    Netherlands Netherlands
    I found out that the ProgramData\Team MediaPortal\MediaPortal\Installer\V2\ folder is pretty big, it has backups and installers for all versions of all extensions.

    Why does it keep so much files and why does it make backups of unzipped files (when installed)? What can I remove?
     

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    I think there is a major flaw in the current version of the Extension Installer:

    When installing extension A which installs extension B which installs extension C the installer crashes. This was noticed when MP-TVSeries installer was created, which installs SubCentral, which installs SubtitleDownloader - all MPE packages.

    The error is

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: Value of '2' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
    Parameter name: Value
    at System.Windows.Forms.ProgressBar.set_Value(Int32 value)
    at MpeCore.Classes.SectionPanel.InstallSection.packageClass_FileInstalled(Object sender, InstallEventArgs e)
    at MpeCore.Classes.Events.FileInstalledEventHandler.Invoke(Object sender, InstallEventArgs e)
    at MpeCore.Classes.ActionType.ExtensionInstaller.Execute(PackageClass packageClass, ActionItem actionItem)
    at MpeCore.Classes.SectionPanel.InstallSection.InstallSection_Shown(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnShown(EventArgs e)
    at System.Windows.Forms.Form.CallShownEvent()
    at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
    at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
    at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
     

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    Would be nice to categorise the plugins as well - categories as per the repository...

    Let's fix these bugs first before any new features please... :p

    I've been looking at the code whole evening and the issue I reported is quite problematic. Of course there are hacks to make it work but the main issue seems to be that object states are mixed up when incrementing progress bar.

    In this case, the ExtensionInstaller class is executed for SubCentral and the progress bar is incremented, and when ExtensionInstaller is executed again for SubtitleDownloader, it is incrementing the same progress bar which was already incremented by SubCentral installation...
     
    Last edited:

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    @seco - do you still have the MPE file of TvSeries that holds SubCentral with SubtitleDownloader MPE? I'd like to debug and fix this before MP 1.3 beta and want to save the time to create that scenario.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    @seco - do you still have the MPE file of TvSeries that holds SubCentral with SubtitleDownloader MPE? I'd like to debug and fix this before MP 1.3 beta and want to save the time to create that scenario.
    Send the file by PM ;)
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    Is any chance to add plugin to list of installed plugins manually?
    I suppose it's like MpeInstaller.InstalledExtensions.Add(smth);
    But how I can move info from update xml to this?
     

    Users who are viewing this thread

    Top Bottom