Patch for Issue 688

Discuss issues related to PS3 Media Server development (only for programmers)

Patch for Issue 688

Postby jdknight » Sun May 29, 2011 9:47 pm

Prioritize file configuration over Windows registry configuration.

Code: Select all
Index: net/pms/configuration/PmsConfiguration.java
===================================================================
--- net/pms/configuration/PmsConfiguration.java   (revision 601)
+++ net/pms/configuration/PmsConfiguration.java   (working copy)
@@ -302,8 +302,8 @@
     */
    private static ProgramPathDisabler createProgramPathsChain(Configuration configuration) {
       return  new ProgramPathDisabler(
-            new WindowsRegistryProgramPaths(
             new ConfigurationProgramPaths(configuration,
+            new WindowsRegistryProgramPaths(
             new PlatformSpecificDefaultPathsFactory().get())));
    }
jdknight
 
Posts: 19
Joined: Wed May 25, 2011 10:42 pm

Re: Patch for Issue 688

Postby SubJunk » Mon May 30, 2011 2:08 am

Patch applied in r602, thanks a lot :)
SubJunk
 
Posts: 1212
Joined: Fri Mar 27, 2009 5:25 am


Return to Developers

Who is online

Users browsing this forum: No registered users and 3 guests