Welcome to Media Center Master!
A powerful solution for mastering your digital media library.
Supporting Emby, Kodi/XBMC/OSMC, Plex, Windows Media Center, and more!

Home Download Gallery Wiki Issue Tracker Licensing Forums

   FAQ  •  Search •  Login •  Register     
It is currently October 20th, 2017, 5:31 pm

All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: fields in mymovies.xml
PostPosted: February 1st, 2012, 9:31 am 
Offline
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?


 Profile  
 Post subject: Re: fields in mymovies.xml
PostPosted: February 1st, 2012, 3:00 pm 
Offline
Original BluRay
User avatar

Joined: January 7th, 2011, 8:19 pm
Posts: 1295
Location: Melbourne, Australia
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.

_________________
"An important reward for a job well done is a personal sense of worthwhile achievement."
Image


 Profile  
 Post subject: Re: fields in mymovies.xml
PostPosted: February 2nd, 2012, 8:08 am 
Offline
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?


 Profile  
 Post subject: Re: fields in mymovies.xml
PostPosted: February 2nd, 2012, 3:04 pm 
Offline
Original BluRay
User avatar

Joined: January 7th, 2011, 8:19 pm
Posts: 1295
Location: Melbourne, Australia
Yes I'm not sure if Pete has implemented the name change, but is coming. As MediaBrowser is being forced to change it because of the original creator of mymovies.xml need to keep it an 'in house' format.

As for technical aspects of plugins, I'll have to refer you to others with more knowledge on the subject. Hopefully they'll be able to help you.

_________________
"An important reward for a job well done is a personal sense of worthwhile achievement."
Image


 Profile  
 Post subject: Re: fields in mymovies.xml
PostPosted: February 5th, 2012, 2:08 pm 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11315
Location: Meridian, ID, USA
Does your development environment have IntelliSense? You should be able to see the newer/additional properties, such as tagline.

_________________
Peter Souza IV
stable version 2.16.11117.1299 / April 21st, 2017
Media Center Master on Facebook!


 Profile  
 Post subject: Re: fields in mymovies.xml
PostPosted: February 5th, 2012, 3:14 pm 
Offline
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[] { };
    }


 Profile  
 Post subject: Re: fields in mymovies.xml
PostPosted: February 5th, 2012, 3:22 pm 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11315
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.16.11117.1299 / April 21st, 2017
Media Center Master on Facebook!


 Profile  
 Post subject: Re: fields in mymovies.xml
PostPosted: February 5th, 2012, 3:25 pm 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11315
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.16.11117.1299 / April 21st, 2017
Media Center Master on Facebook!


 Profile  
 Post subject: Re: fields in mymovies.xml
PostPosted: February 5th, 2012, 4:22 pm 
Offline
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?


 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group



Copyright © 2009-2017, Media Center Master, Inc. All rights reserved.