Page tree

  Wiki Navigation


 Recently Updated

 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


  • Required:  Yes, if your plugin depends on this class
  • Type of Change:  Rework

Interface methods changes


int AddActor(string strActor1);

changed to

int AddActor(string strActorImdbId, string strActorName);
void AddActorToMovie(int lMovieId, int lActorId);

changed to

void AddActorToMovie(int lMovieId, int lActorId, string role);
void DeleteActor(string actor);

changed to

void DeleteActor(string actorImdbId);
void SetMovieWatchedStatus(int iFileId, bool watched);

changed to

void SetMovieWatchedStatus(int iFileId, bool watched, int percent);
bool GetMovieWatchedStatus(int iFileId);

changed to

bool GetMovieWatchedStatus(int iFileId, out int percent, out int timesWatched);
int GetMovieDuration(int iFileId);

changed to

int GetMovieDuration(int iMovieId);
void SetMovieDuration(int iFileId, int duration);

changed to

void SetMovieDuration(int iMovieId, int duration);


See the version compatibility article for more information.

This change resulted in an increase of the compatibility version of the MP.DB.Videos subsystem and MP.Plugins.Videos. This means, that if your plugin has an [UsesSubsystem("MP.DB.Videos")] or [UsesSubsystem("MP.Plugins.Videos")] attribute, you need to update your compatibility information. Your unchanged plugin won't install and work anymore on an MP 1.3 installation.

Changing the compatibility information is done in the CompatibleVersion attribute. If your plugin isn't affected by the changes or you update your plugin in a way that keeps it compatible with both MP1.2 and MP1.3, you should keep the minRequiredVersion value at, otherwise you should increase both versions. The new version number should be, which is the version number of the MP1.3 Alpha release.

Please note that if you are affected by this change but don't have the corresponding UsesSubsystem attribute, that's a bug in your plugin too. Please add the UsesSubsystem attribute for the MP.DB.Videos and MP.Plugins.Videos subsystem, and any other subsystem you use, to help improve the user experience in future upgrades.


Mantis Issue:

Related xml(s):


Windows IDs:


Related GUI control:




Date added:

Thu, 05 Jul 2012

XML/Code Samples







This page has no comments.