damienhaynes / moving-pictures

Moving Pictures is a movies plug-in for the MediaPortal media center application. The goal of the plug-in is to create a very focused and refined experience that requires minimal user interaction. The plug-in emphasizes usability and ease of use in managing a movie collection consisting of ripped DVDs, and movies reencoded in common video formats supported by MediaPortal.
12 stars 6 forks source link

Issue with setting MovieView programatically for a Node #1085

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
For some reason the MovieView can not be set programatically e.g.

var node = new DBNode { Name = "testnode" };

var settings = new DBMovieNodeSettings();
settings.MovieView = BrowserViewMode.LASTUSED;
node.AdditionalSettings = settings;

If I put a break point on:
node.AdditionalSettings = settings;

then 'settings.MovieView' still equals BrowserViewMode.LIST. It should be 
LASTUSED.

Original issue reported on code.google.com by damien.haynes@gmail.com on 26 Feb 2012 at 11:07

GoogleCodeExporter commented 8 years ago
We talked on IRC, but for future us... so that we don't forget, I pasted the 
above code into MovingPicturesCore.Initialize() and I was not able to reproduce 
the problem. Awaiting additional information from Damien. Hopefully we can 
figure out the reason you were seeing this problem, maybe it is context related?

Original comment by conrad.john on 1 Mar 2012 at 6:27