home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
[Plugin] DVDArt - All artwork for MovingPictures, MyFilms, TVSeries, Music & more!!!
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Guzzi" data-source="post: 1006300" data-attributes="member: 55213"><p>... alternatively (to reading DB directly), you could use the public method to get the film list - you could look into fanart handler or trakt.</p><p>Something like (taken from Trakt MyFilms handler):</p><p>[CODE]</p><p> ArrayList myvideos = new ArrayList();</p><p> BaseMesFilms.GetMovies(ref myvideos);</p><p> Log.Info("returning " + myvideos.Count + " movies");</p><p> </p><p> List<MFMovie> MovieList = (from MFMovie movie in myvideos select movie).ToList();</p><p> foreach mov in MovieList ...</p><p>[/CODE]</p><p>This would avoid additional locking to DB and also respects user settings for "public" films in DB...</p><p>You'll get array/list of movies with name, year, imdb, etc. (if DB is properly populated)</p></blockquote><p></p>
[QUOTE="Guzzi, post: 1006300, member: 55213"] ... alternatively (to reading DB directly), you could use the public method to get the film list - you could look into fanart handler or trakt. Something like (taken from Trakt MyFilms handler): [CODE] ArrayList myvideos = new ArrayList(); BaseMesFilms.GetMovies(ref myvideos); Log.Info("returning " + myvideos.Count + " movies"); List<MFMovie> MovieList = (from MFMovie movie in myvideos select movie).ToList(); foreach mov in MovieList ... [/CODE] This would avoid additional locking to DB and also respects user settings for "public" films in DB... You'll get array/list of movies with name, year, imdb, etc. (if DB is properly populated) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
[Plugin] DVDArt - All artwork for MovingPictures, MyFilms, TVSeries, Music & more!!!
Contact us
RSS
Top
Bottom