boxterduke
Senior Member
Posts: 126
Joined: Feb 2009
Reputation: 0
|
timdog82001 Wrote:That's the problem. It wasn't added until after 8.10. You have to get the newest svn. If you're getting linux, there is an svn repository, for osx, i have no idea, and for windows, you get it here: http://ocs.nl/xbmc/
Thanks a bunch Tim, XBMCSetup-Rev17586-jester.exe worked like a charm on my test machine. Just have to play around with it a bit before installing on the main HTPC.
|
|
find
quote
|
ekim232
Posting Freak
Posts: 1,204
Joined: Nov 2008
Reputation: 5
Location: Chicago, IL
|
Thanks Timdog,
I believe I have all my multiimage tags correct and I did remove the original image path.
I think it is my placement within home.xl
PM3.HD seems to have two controls for weather. One for the default image and the other for the user specific background images I am guessing. See below...
- <control type="multiimage">
<posx>356</posx>
<posy>100</posy>
<width>924</width>
<height>520</height>
<info>Skin.String(Home_Custom_Back_Weather_Folder)</info>
<timeperimage>5000</timeperimage>
<randomize>true</randomize>
<fadetime>2000</fadetime>
<include>backgroundfade</include>
<visible>ControlGroup(9000).HasFocus(5)</visible>
<visible>Skin.HasSetting(Home_Enable_Custom_Back_Weather)</visible>
</control>
- <control type="image">
<posx>356</posx>
<posy>100</posy>
<width>924</width>
<height>520</height>
<visible>ControlGroup(9000).HasFocus(5)</visible>
<texture>background-weather.jpg</texture>
<include>backgroundfade</include>
<visible>!Skin.HasSetting(Home_Enable_Custom_Back_Weather)</visible>
</control>
Any assistance on what I should be replacing would be greatly appreciated.
|
|
find
quote
|
ronie
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
|
Could someone please confirm custom backgrounds based on weather conditions are still working on linux with current SVN builds ?
It was working for me in revision 17505 with the PM3.HD skin using this string in Home.xml:
<imagepath>/home/xbmc/.xbmc/skin/weather/$INFO[Weather.FanartCode]</imagepath>
After updating XBMC today to revision 17591 it stopped working. I even tried deleting my entire profile so it was freshly created, but no luck.
Also checking the debug log revealed no relevant info to me.
I've been troubleshooting this issue for a while now and it seems the latest working revision is 17508. So the updates in 17509 broke things for me.
Since there were so many code changes in 17509 it's hard to figure out what's exactly to blame.
Any ideas ?
|
|
find
quote
|
timdog82001
Posting Freak
Posts: 1,132
Joined: Mar 2006
Reputation: 0
|
@ekim
change the multiimage visible tag to yes, and the image visible tag to no. Then, change the <info> tag in the multiimage to be the path to the weather fanart as in the first post of this thread. That should work for you. Now, just adjust the timeperimage to a time you like. 5000 = 5 seconds
@ronie
I'm afraid I don't know, I don't run linux anymore.
|
|
find
quote
|
ekim232
Posting Freak
Posts: 1,204
Joined: Nov 2008
Reputation: 5
Location: Chicago, IL
|
Thanks timdog,
I got it working now. I ended up deleting the visiable lines altogether and it worked perfect on my home.xml
I have not tried it for myweather.xml, because I don't see how it could possibly look right in pm3.hd. The weather window does not have a fanart view so I am having trouble picturing where the images will appear.
Appreciate your responses.
|
|
find
quote
|
ronie
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
|
@ ekim232 & everyone who's trying to get this working with PM3.HD
There's really no need to delete any of the visible tags.
You just have to enable custom weather backgrounds in XBMC first:
Settings > Skin Settings > Background > Weather Button - Enable Custom Background
Next add this line to the weather multiimage part of Home.xml:
<imagepath>C:\XBMC\Weather\$INFO[Weather.FanartCode]</imagepath>
That's all.
@timdog82001
No problem, thanx anyway. I indeed hadn't tested it on windows. So i installed a recent Jester build and got it working without any problem.
Still no luck on linux however. Tried both PM3.HD and Horizonz. Normal custom backgrounds are still working fine, but just the weather background based on $INFO[Weather.FanartCode] fails.
|
|
find
quote
|
timdog82001
Posting Freak
Posts: 1,132
Joined: Mar 2006
Reputation: 0
|
ronie Wrote:Still no luck on linux however. Tried both PM3.HD and Horizonz. Normal custom backgrounds are still working fine, but just the weather background based on $INFO[Weather.FanartCode] fails.
Did you try reversing the slashes in the path? I noticed some paths in linux work only with the reverse of the windows slashes
|
|
find
quote
|
proctor
Senior Member
Posts: 113
Joined: Aug 2008
Reputation: 0
|
It is also broken for me on linux with the latest revisions
|
|
find
quote
|
ronie
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
|
Thanx for confirming proctor, i can stop troubleshooting now and leave it up to the devs.
I'll open a new thread in the linux forum.
@timdog82001
Nope, reversing slashes doesn't work in this case.
|
|
find
quote
|
proctor
Senior Member
Posts: 113
Joined: Aug 2008
Reputation: 0
|
I figured out a workaround for linux.
I was messing around with different paths and noticed in the log that for some reason the imagepath tag looks in this path by default:
/usr/share/xbmc/skin/SKIN/media/
So I added a symlink to my weather folder in that path and changed the imagepath tag in Backgrounds.xml to read
<imagepath>weather/$INFO[Weather.FanartCode]</imagepath>
Now it works.
|
|
find
quote
|