2013-01-14, 17:15
All,
Davilla at Pivos suggested that I bring this Profiles issue here. Looks like it is a mainline problem with mapping.
I had originally posted at http://www.pivosforums.com/viewtopic.php...444#p20407
Please read on:
All,
It may be surprising that I would be the first person to run across this with my Linux Xios... but this may be the case.
On my M3 with Linux nightly update-80c4919.img, using MySQL and advancedsettings to manage my profiles and DB content, It appears that the xios xbmc loads that we are using has some special mapping done that prevents an advancedsettings.xml that resides in a profile from running...
Here is the problem:
I created a profile: "Ambient"
I had planned on copying over a profile subdirectory from a different machine, but that didn't seem to work... It did not seem to run the advancedsettings.xml from my chosen profile, but instead ran advancedsettings.xml from my main profile.
So, I started over, created the profile "Ambient" and ONLY copied over my advancedsettings.xml for that profile.
STILL, it was giving me incorrect SMB source info for movies, TV and music. (it showed the default profile data)
So, I ran a debug log, and posted it here: http://xbmclogs.com/show.php?id=27927
It appears that there may be a mapping issue. Walk with me...
In the log, the mapping states:
All that looks fine... But then Linux runs its advancedsettings.xml...
So when finally XBMC decides to run MY advancedsettings.xml...
... It's running the wrong one !!!
Now, I'll admit, I may have misread this, and I will clearly admit that I am NOT capable of coding XBMC.
However.... Did'ja catch that specific bit of insanity ?
In the first section, you define masterprofile...
in the second, you define ALL profiles as masterprofile...
So, I think that what is happening is that this tells XBMC that no matter what profile choose, the advancedsettings and configurations that it should use are from masterprofile.
Instead of running the advancedsettings.xml that is in /.xbmc/userdata/profiles/ambient ... it runs the advancedsettings.xml in /.xbmc/userdata
... because you tell it to.
Why would you do this?
Will you please change this? As Profiles are an important part of my XBMC experience.
Thanks.
Davilla at Pivos suggested that I bring this Profiles issue here. Looks like it is a mainline problem with mapping.
I had originally posted at http://www.pivosforums.com/viewtopic.php...444#p20407
Please read on:
All,
It may be surprising that I would be the first person to run across this with my Linux Xios... but this may be the case.
On my M3 with Linux nightly update-80c4919.img, using MySQL and advancedsettings to manage my profiles and DB content, It appears that the xios xbmc loads that we are using has some special mapping done that prevents an advancedsettings.xml that resides in a profile from running...
Here is the problem:
I created a profile: "Ambient"
I had planned on copying over a profile subdirectory from a different machine, but that didn't seem to work... It did not seem to run the advancedsettings.xml from my chosen profile, but instead ran advancedsettings.xml from my main profile.
So, I started over, created the profile "Ambient" and ONLY copied over my advancedsettings.xml for that profile.
STILL, it was giving me incorrect SMB source info for movies, TV and music. (it showed the default profile data)
So, I ran a debug log, and posted it here: http://xbmclogs.com/show.php?id=27927
It appears that there may be a mapping issue. Walk with me...
In the log, the mapping states:
Code:
3. 01:24:24 T:1093865120 NOTICE: Starting XBMC (12.0-RC3 Git:20130111-80c4919), Platform: Linux (Unknown, 2.6.34 armv7l). Built on Jan 13 2013
4. 01:24:24 T:1093865120 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
5. 01:24:24 T:1093865120 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
6. 01:24:24 T:1093865120 NOTICE: special://masterprofile/ is mapped to: /root/.xbmc/userdata
7. 01:24:24 T:1093865120 NOTICE: special://home/ is mapped to: /root/.xbmc
8. 01:24:24 T:1093865120 NOTICE: special://temp/ is mapped to: /root/.xbmc/temp
9. 01:24:24 T:1093865120 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
10. 01:24:24 T:1093865120 NOTICE: Local hostname: opps
11. 01:24:24 T:1093865120 NOTICE: Log File is located: /root/.xbmc/temp/xbmc.log
12. 01:24:24 T:1093865120 NOTICE: -----------------------------------------------------------------------
All that looks fine... But then Linux runs its advancedsettings.xml...
Code:
58. 01:24:24 T:1093865120 NOTICE: load settings...
59. 01:24:24 T:1093865120 NOTICE: special://profile/ is mapped to: special://masterprofile/
60. 01:24:24 T:1093865120 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
61. 01:24:24 T:1093865120 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
62. <advancedsettings>
So when finally XBMC decides to run MY advancedsettings.xml...
Code:
109. 01:24:24 T:1093865120 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
110. 01:24:24 T:1093865120 NOTICE: Contents of special://profile/advancedsettings.xml are...
111. <advancedsettings>
... It's running the wrong one !!!
Now, I'll admit, I may have misread this, and I will clearly admit that I am NOT capable of coding XBMC.
However.... Did'ja catch that specific bit of insanity ?
In the first section, you define masterprofile...
special://masterprofile/ is mapped to: /root/.xbmc/userdata
in the second, you define ALL profiles as masterprofile...
special://profile/ is mapped to: special://masterprofile/
So, I think that what is happening is that this tells XBMC that no matter what profile choose, the advancedsettings and configurations that it should use are from masterprofile.
Instead of running the advancedsettings.xml that is in /.xbmc/userdata/profiles/ambient ... it runs the advancedsettings.xml in /.xbmc/userdata
... because you tell it to.
Why would you do this?
Will you please change this? As Profiles are an important part of my XBMC experience.
Thanks.