Custom Menu item path error - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Confluence (/forumdisplay.php?fid=125)
+---- Thread: Custom Menu item path error (/showthread.php?tid=114803)
Pages: 1 2
Custom Menu item path error - homerjs - 2011-11-17 02:26
I am trying to add a custom menu item where I can have a direct link to my 'New Movies' located in a specific folder.
When I try and add the custom menu item I can give it a name but when I select path to favorite, I get the 'cannot find Favourites.xml' message.
Initially I thought this was ios specific because it would not work on my aptv2, but then I tried it on my pc and I get the same message.
Just noticed that if I switch to aeon nox skin I can set the path but not when I switch back to confluence.
- Mudislander - 2011-11-17 11:51
Have you got any items set as a favourite? Only after that is favorites.xml created.
- homerjs - 2011-11-17 13:53
yes, I have 2 items marked as favourites. These items are selectable when I switch to the aeon nox skin, however when I switch back to confluence and then try to select path I can see them very briefly just before it switches to the 'cannot find favourite.xml' message.
When I switch back to Aeon nox I can see the path set as ActivateWindow(10025,xxxxx,return) and it works in aeon nox...just not in Confluence.
- Mudislander - 2011-11-17 14:13
The error "Can Not Find favourites.xml" is generated by script-favourites when it cannot find "special://profile/favourites.xml"
Try checking your profile directory to make sure it's there. Also `Black has updated the script http://forum.xbmc.org/showthread.php?tid=114671. Without checking there might be something that is throwing up an error for you.
Edit Just had a smoke break & came up with an idea! - Could be that Confulence is not running the script & aeon nox is. Check Confluence to make sure script being called. I've had that problem before.
- homerjs - 2011-11-17 15:48
seems very logical, sorry to be a noob but how would I check to see if script is being called? and if it isn't is there a way to correct this?
thanks really do appreciate your help
Just tried ver 3 of the script, same thing, Confluence will not call up the favourite but Aeon Nox will.
So , now how to make confluence call the script?
- homerjs - 2011-11-17 16:28
I have noticed that the favourites script does not appear in my list of addons or available scripts...so checking out the xml I noticed that the line
was missing from the script. I added it to the favourites script, I then executed the script by adding it to the 'add on shortcut' (since I added the <provides> line it is now selectable there) .
I launch the script from the main menu and then low and behold I can set the path.
Now to try this on my aptv2
- Mudislander - 2011-11-17 16:47
in brief you could - Open up home.xml & find the command
- Mudislander - 2011-11-17 17:50
homerjs Wrote:I have noticed that the favourites script does not appear in my list of addons or available scripts...so checking out the xml I noticed that the line
The script was designed to be invisable & run in the background (frequently)
- homerjs - 2011-11-17 20:33
Couldn't really follow your script mod posted above...I found the line
but couldnt find the
<control type="fixedlist" id="9000">
line in the home.xml so I didnt follow through with it.
What exactly was it supposed to do?
Aslo it was labled 8999 already not 9000, also not sure of this, thanks for the info
- Mudislander - 2011-11-17 22:01
Sounds as if you're version is allready modified. (Which or whose version of confluence are you running.) Try a search for id="8999" and see what comes up.
Basically above code was just to run script.favourites,( if it's installed ) every time you entered the home menu. There are otherways eg onload etc.