Config directory settings (1 Viewer)

CathodeRay

Portal Member
August 2, 2012
41
5
55
Home Country
United Kingdom United Kingdom
Hi

Does anyone know how and where config gets/sets the 'Using directories' listed at the start of its logs:

2014-01-30 20:06:23.328125 [Info.][Config Main(1)]: Using Directories:
2014-01-30 20:06:23.328125 [Info.][Config Main(1)]: Base - \\Media-pc\SYSTEM (C)\Program Files\Team MediaPortal\MediaPortal
2014-01-30 20:06:23.328125 [Info.][Config Main(1)]: Log - C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Log
2014-01-30 20:06:23.328125 [Info.][Config Main(1)]: Skin - C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin
2014-01-30 20:06:23.328125 [Info.][Config Main(1)]: Language - C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Language
2014-01-30 20:06:23.328125 [Info.][Config Main(1)]: Database - C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Database
2014-01-30 20:06:23.328125 [Info.][Config Main(1)]: Plugins - \\Media-pc\SYSTEM (C)\Program Files\Team MediaPortal\MediaPortal\Plugins
2014-01-30 20:06:23.328125 [Info.][Config Main(1)]: Thumbs - C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs

As you can see the base and plugin dirs are UNC rather than local type paths and this is breaking plugin configuration (see this post for further details: https://forum.team-mediaportal.com/threads/myfilms-and-mp-1-2-x.124381/ ). Media-pc by the way is the name for the PC MP (single seat) is installed on and system is the name of the OS/program files partition (ie '\\Media-pc\system' = 'C:\' ).

I want to set things such that the base and plugin directories use local paths like the other directories do. I have searched all MP config/settings/xml files and the registry and cannot find a single entry that appears to set these directories. Does anyone know where they are set, and how to edit them?

Many thanks.

CathodeRay
 

CathodeRay

Portal Member
August 2, 2012
41
5
55
Home Country
United Kingdom United Kingdom
It turned out the the UNC style \\Media-pc\SYSTEM (C) was being set by the 'Target' (but not 'Start in') entry in the shortcut to configuration.exe. This set the base directory for config which caused the errors/error messages. Changing the target entry to a local Windows (C:\ etc) path stopped the errors and allowed config's plugin tab to load normally (including My Films) which is now enabled and working fine.

I've no idea how config's shortcut path got set as it did, but it was certainly the cause of the problem, which is now fixed.

CathodeRay
 

Users who are viewing this thread

Top Bottom