|
Author |
Message |
G_Drey_V
|
 |
Post subject: fields in mymovies.xml Posted: February 1st, 2012, 9:31 am |
|
 |
Flash Video |
Joined: January 31st, 2012, 8:59 am Posts: 11
|
where can I get the last version of MovieInfo class? It seems that code of plugin in example is a little bit old. I don't see how I can fill ForcedTitle or Tagline for mymovies.xml. By the way. How is OriginalTitle field is filled? For example for The Scorpion King the original title is <OriginalTitle>El rey escorpión</OriginalTitle>. Why?
|
|
|
|
 |
G_Drey_V
|
Post subject: Re: fields in mymovies.xml Posted: February 2nd, 2012, 8:08 am |
|
 |
Flash Video |
Joined: January 31st, 2012, 8:59 am Posts: 11
|
Thanks. Really I believe I'm using the last version of MCM and I don't see any movies.xml file in the film folders. Anyway I still don't what return format will be suitable for MCM. I mean what fields may contain xml which is returned by FetchByIDs plugin function. Is there any wiki or documentation regarding possible plugin API?
|
|
|
|
 |
G_Drey_V
|
Post subject: Re: fields in mymovies.xml Posted: February 5th, 2012, 3:14 pm |
|
 |
Flash Video |
Joined: January 31st, 2012, 8:59 am Posts: 11
|
Thanks for reply. Sure it has. I'm using VS2010. Maybe I should download some additional libraries for plugin development? Because I don't see any tag fields in your sample. I mean sample from that topic: http://forums.mediacentermaster.com/viewtopic.php?f=9&t=62. Code: [System.Serializable()] public class MovieInfo { public string IMDB_ID = ""; public string TMDB_ID = ""; public string CDUniverse_ID = ""; public string Local_Title = ""; public string Original_Title = ""; public string Year = ""; public string Runtime = ""; public string IMDBscore = ""; public string MPAArating = ""; public string[] AllGenres = new string[] { }; public string Budget = ""; public string Revenue = ""; public string Summary = ""; public string AllCastAndCrew = ""; public string Studios = "";
public byte[] Poster = null; public byte[] Backdrop = null; public string[] Backdrops = new string[] { }; }
|
|
|
|
 |
Pete
|
Post subject: Re: fields in mymovies.xml Posted: February 5th, 2012, 3:22 pm |
|
 |
Developer/Owner |
 |
Joined: May 1st, 2009, 10:12 am Posts: 11690 Location: Meridian, ID, USA
|
Ah okay, I thought you were trying to get auto-complete, I misunderstood. You're looking for these additions: Code: // Added with plugin system version 2.1 public string Country = string.Empty; public string Language = string.Empty; public string ParentalRatingSummary = string.Empty;
// Added with plugin system version 2.2 public string PosterURL = string.Empty; public string BackdropURL = string.Empty; public string NumberOfVotes = string.Empty; public string FullMPAA = string.Empty; public string FullCertifications = string.Empty; public string TagLine = string.Empty; public string Outline = string.Empty; public string Plot = string.Empty; public string Top250 = string.Empty; public string Director = string.Empty; public string[] Writers = new string[] { }; public string Awards = string.Empty; public string Website = string.Empty; public string Trailer = string.Empty;
_________________ Peter Souza IV stable version 2.20.32820.456 / November 23rd, 2020 Media Center Master on Facebook!
|
|
|
|
 |
Pete
|
Post subject: Re: fields in mymovies.xml Posted: February 5th, 2012, 3:25 pm |
|
 |
Developer/Owner |
 |
Joined: May 1st, 2009, 10:12 am Posts: 11690 Location: Meridian, ID, USA
|
Rumbaar wrote: mymovies.xml will most likely be deprecated due to the original creator of the format encrypting their version of that file. MB and most likely other are moving to movies.xml as the name, the formatting will be the same.
Not sure how that information will affect what you are doing. Apples and oranges, friend -- but appreciate you chiming in. We're talking about a structure of data (MCM calls MediaInfo) that is used to pass information about a movie between a plugin and MCM proper. 
_________________ Peter Souza IV stable version 2.20.32820.456 / November 23rd, 2020 Media Center Master on Facebook!
|
|
|
|
 |
G_Drey_V
|
Post subject: Re: fields in mymovies.xml Posted: February 5th, 2012, 4:22 pm |
|
 |
Flash Video |
Joined: January 31st, 2012, 8:59 am Posts: 11
|
Great. Many thanks. That's exactly what I was looking for. By the way where is it from? Is there any resource where I can get last classes declarations and other API for plugins?
|
|
|
|
 |
|
|