Mapping Drives & Files in Windows 7
#1
Question 
Okay, I am a dumbass. I've looked for answers but either I haven't found what I'm looking for or I haven't searched enough.

What I want to do: I want an add-on default.py to map to a particular file within my Windows 7 build of XBMC.

Code:
BASE = [
#'http://www.outsidelinks.com/list.xml',
'C:\Users\House\AppData\Roaming\XBMC\addons\plugin.testbuild\testfile001.xml',
#'http://localhost/links.xml',
#'file:///home/yourname/list.xml',
]
As you can see I want to pull in a file from XBMC appdata subfolder, but stating it like that does not work. Any ideas on how to include the file?
Reply
#2
Use the library="" parameter in your addon.xml to set the file which is ran when the addon is launched.

If you're trying to specify a python file to import, use pythons __import__() method
Reply

Logout Mark Read Team Forum Stats Members Help
Mapping Drives & Files in Windows 70