2011-04-28, 04:20
In reference to my previous post, I am the local admin on the box and I ran the application as Administrator. For some reason Python didn't like the r+ file mode.
I don't think it's an error with the script, maybe just some perfect storm of conditions that causes the read/write nature of r+ to behave differently on my box. If the file is there(even blank) it works fine, if it is not you will get IO exceptions.
This is particularly troublesome when it tries to build your queue since each movie instance gets a custom html file written based on the id number. My best bet was changing the file mode.
I don't think it's an error with the script, maybe just some perfect storm of conditions that causes the read/write nature of r+ to behave differently on my box. If the file is there(even blank) it works fine, if it is not you will get IO exceptions.
This is particularly troublesome when it tries to build your queue since each movie instance gets a custom html file written based on the id number. My best bet was changing the file mode.
fekker Wrote:if it's not creating the userinfo.txt do the following
- put the addon in debug mode
- start xbmc, go to video's addon's, start xbmc flicks and click on something from your instant queue
- if your browser window doesn't open (xp and mac) you can manually authorize it
- look in the debug output, it will give the url to put into the browser and tell you what to put into the iqueue.py file. (at the top)
- you can copy your userinfo.txt from another machine as well
If your time is off, it won't work, so make sure your computers time is in sync with an NTP server
If your not running xbmc as the local admin account, it might be permissions, try it with Administrator (you can enable that user in xp, vista, and 7)
if your having mac issues, search the thread, lots of options, each install seems different (maybe pathing)