how to set a xbmc setting -or- how to activate debug from python

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
queeup Online
Fan
Posts: 734
Joined: Feb 2009
Reputation: 15
Post: #11
I think my English not enough to explain my situation. Ok after few minutes I release this plugin, then maybe someone help me on this.
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #12
queeup Wrote:I think my English not enough to explain my situation. Ok after few minutes I release this plugin, then maybe someone help me on this.

spelling mistake

line 33 in default.py, it should be
PHP Code:
xbmc.executehttpapi('SetLogLevel(3)'

you have it as:

PHP Code:
xbmc.executehttpapi('SettLogLevel(3)'


Zeljko


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
queeup Online
Fan
Posts: 734
Joined: Feb 2009
Reputation: 15
Post: #13
Yea i overlook that thx. Actually I commented out that lines on release Smile
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #14
queeup Wrote:Yea i overlook that thx. Actually I commented out that lines on release Smile

I know Smile

I un-commented(sp) it and fixed the spelling, if I enable debug in plugin settings it correctly sets debug level to 3 every time I click on the listitem and back to 1 after it finishes.


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
queeup Online
Fan
Posts: 734
Joined: Feb 2009
Reputation: 15
Post: #15
Quote:if I enable debug in plugin settings it correctly sets debug level to 3 every time I click on the listitem and back to 1 after it finishes
Yes I ask this question because of this situation. I need to revert back to debug level 1 just once on the plugin exit. Bahh never mind. It's not important actually Smile
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #16
queeup Wrote:Yes I ask this question because of this situation. I need to revert back to debug level 1 just once on the plugin exit. Bahh never mind. It's not important actually Smile

Smile

jmarshall said here that XBMC re-calls plugin every time you fetch a new folder. Thats why you toggle Log level every time you click on a new item.

I am not too familiar with the plugins, maybe someone with more experience can help you more.

Zeljko


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
(This post was last modified: 2009-10-18 23:27 by amet.)
find quote
Post Reply