Solved Issue -- RESOLVED ! -- Frodo - Linux - Pivos Xios Profile Problem

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
zebraitis Offline
Member+
Posts: 347
Joined: Jan 2008
Reputation: 6
Location: NorthAm
Post: #1
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:

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 !!! Confused


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? Huh

Will you please change this? As Profiles are an important part of my XBMC experience.

Thanks. Big Grin
(This post was last modified: 2013-02-16 17:28 by zebraitis.)
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #2
What about on a mainline Linux ? Linux, Windows, and Darwin (osx, ios, atv2) have separate code sections for setting up basic paths. Could be darwin and windows do it 'right' and linux does it wrong ?


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
zebraitis Offline
Member+
Posts: 347
Joined: Jan 2008
Reputation: 6
Location: NorthAm
Post: #3
(2013-01-14 18:25)davilla Wrote:  What about on a mainline Linux ? Linux, Windows, and Darwin (osx, ios, atv2) have separate code sections for setting up basic paths. Could be darwin and windows do it 'right' and linux does it wrong ?

I don't know...

All I DO know, is that on my Linux Pivos Xios, it is doing it WRONG... and it is doing it in a way that I (as a user) have no way to modify the behavior.

And, if my logic in reading the log is correct, I think I saw why.

From my perspective, it makes no sense to define profiles always back to mainprofile... as that breaks the use of profiles completely.

So: bug. Frown


(... I am here with hat-in-hand, and my tin-cup on the ground, looking for a solution.)
(This post was last modified: 2013-01-14 19:54 by zebraitis.)
find quote
zebraitis Offline
Member+
Posts: 347
Joined: Jan 2008
Reputation: 6
Location: NorthAm
Post: #4
... bump
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #5
Please don't do useless bumps, when someone has an interest and takes a look, they will reply. The only thing a bump does is make me and others waste time checking a thread for useless info.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
zebraitis Offline
Member+
Posts: 347
Joined: Jan 2008
Reputation: 6
Location: NorthAm
Post: #6
(2013-01-15 17:20)davilla Wrote:  Please don't do useless bumps, when someone has an interest and takes a look, they will reply. The only thing a bump does is make me and others waste time checking a thread for useless info.

Davilla - OK, then who should I PM to discuss Linux Mainline?

I understand that folks are very focused on getting out v. 12, however, the issue is clearly documented above, and I would think that they would want to resolve this before making a final.

My concern is that this was already three pages down, and could (with the volume of work) easily be overlooked.
find quote
Martijn Offline
Team-XBMC
Posts: 7,714
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #7
You should PM no one!

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
zebraitis Offline
Member+
Posts: 347
Joined: Jan 2008
Reputation: 6
Location: NorthAm
Post: #8
lol...

“No One Gets In To See The Wizard! Not no one, not no how!”

http://www.youtube.com/watch?v=wC871hNBig4


OK... I'll continue to be positive, optimistic and hope that we can get the right folks to read this.

And, I thank you!
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #9
We have a many things to resolve before this issue can even be looked at, we don't just drop everything and rush to solve the latest problem post.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #10
show me logs of xbmc doing the 'right' thing.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Post Reply