Kodi Community Forum

Full Version: [RELEASE] twitXBMC - a Twitter Script for XBMC (notify your followers from XBMC)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
twitXBMC - twitter client for XBMC
** 0.0.7 **
NEW: twitter api with gzip compression
ADD: Russian translation
ADD: account information (avatar, name, location, last message)
ADD: FriendsTimeline is automatically loaded statuses as they read
fix: alert status too long

** 0.0.6 **
FIX: [LINUX] automatically open web page in the browser by default
FIX: buttons without labels

** 0.0.5 **
FIX: автопостинг с кирилицей
ADD: view datetime posting status


Image

Download
That looks great Smile any chance of one for facebook ?
any chance for instructions
isamu.dragon Wrote:any chance for instructions

+1

Long time XBMC tweaker, but can't get this to work... fails on me immediately, settings page not working/empty... please advise
v.0.0.3
FIX: Sign
ADD: Count followers, following


Notes and hints
This plugin uses OAuth authentication, so login and password do not!
When you first start the plugin will automatically open web page in the browser by default. On this page you need to give access to the plugin. The result will be given a PIN code to enter into XBMC.

Sorry for my english

Download
Thanks for the work!

Unfortunately I get an error; the log shows this:

Code:
17:56:21 T:3796 M:1522978816   ERROR: Error Type: exceptions.ImportError
17:56:21 T:3796 M:1522978816   ERROR: Error Contents: No module named twitter_wrapper
17:56:21 T:3796 M:1522962432   ERROR: Traceback (most recent call last):
                                              File "C:\Program Files\XBMC-Dharma\portable_data\addons\script.twitXBMC\default.py", line 39, in ?
                                                from twitter_wrapper import *
                                            ImportError: No module named twitter_wrapper
17:56:21 T:3796 M:1522962432    INFO: -->End of Python script error report<-
Batemann Wrote:+1

Long time XBMC tweaker, but can't get this to work... fails on me immediately, settings page not working/empty... please advise


Checked on Linux, does not work!
Version 0.0.6 bug fixes!
Anisan Wrote:Checked on Linux, does not work!
Version 0.0.6 bug fixes!

It works now Smile

How do I keep it running in the background? Now I have to close and there are no automatic tweets

Keep it up!
LiquidSmoke Wrote:It works now Smile

How do I keep it running in the background? Now I have to close and there are no automatic tweets

Keep it up!

Work in the background is not provided, may be later! Smile

When viewing videos or listening to music in the script adds a menu item to automatically send a status in accordance with the pattern in the settings

Image
Thanks, will try it!
Hi There, on my Macbook I never get the browser page that allows me to authenticate. I am using beta 2 build 33778. Any ideas?
please provide a debug log.
ppic Wrote:please provide a debug log.

Sure which files would you like me to provide?
xbmc.log with xbmc in debug mod.
Thanks! Here is the output:

20:08:48 T:2689889536 M:301543424 INFO: initializing python engine.
20:08:48 T:2689889536 M:301547520 DEBUG: Loading: /Applications/XBMC.app/Contents/Resources/XBMC/system/python/python24-x86-osx.so
20:08:48 T:2689889536 M:301404160 DEBUG: Python wrapper library linked with internal Python library
20:08:48 T:2689889536 M:301150208 DEBUG: new python thread created. id=5
20:08:48 T:2967666688 M:301142016 DEBUG: thread start, auto delete: 0
20:08:48 T:2967666688 M:301142016 DEBUG: Python thread: start processing
20:08:48 T:2967666688 M:301088768 NOTICE: -->Python Interpreter Initialized<--
20:08:48 T:2967666688 M:301088768 DEBUG: Process - The source file to load is /Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC/default.py
20:08:48 T:2967666688 M:301088768 DEBUG: Process - Setting the Python path to /Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC:/Users/Kevin/Library/Application Support/XBMC/addons/script.module.cryptopy/lib:/Users/Kevin/Library/Application Support/XBMC/addons/script.module.simplejson/lib:/Users/Kevin/Library/Application Support/XBMC/addons/script.module.common.playback/lib:/Users/Kevin/Library/Application Support/XBMC/addons/script.module.beautifulsoup/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pil/lib:/Users/Kevin/Library/Application Support/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pysqlite/lib:/Applications/XBMC.app/Contents/Resources/XBMC/system/python/Lib:/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python24.zip:/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/:/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/plat-darwin:/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/plat-mac:/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/plat-mac/lib-scriptpackages:/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/lib-tk:/Applications/XBMC.app/Contents/Resources/XBMC/system/python/lib/python2.4/lib-dynload
20:08:48 T:2967666688 M:301080576 DEBUG: Process - Entering source directory /Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC
20:08:50 T:2967666688 M:300064768 WARNING: dll_fdopen - mode 0x201 differs from fd mode 0xb02
20:08:50 T:2967666688 M:299896832 INFO: Default 4:3 resolution directory is 720p
20:08:50 T:2967666688 M:299896832 INFO: Default 16:9 resolution directory is 720p
20:08:50 T:2967666688 M:299896832 INFO: Loading skin includes from /720p/includes.xml
20:08:50 T:2967666688 M:299896832 INFO: Error loading includes.xml file (/720p/includes.xml): Failed to open file (row=0, col=0)
20:08:51 T:2689889536 M:299892736 DEBUG: ------ Window Init (/Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC/resources/skins/Default/720p/Message.xml) ------
20:08:51 T:2689889536 M:299892736 INFO: Loading skin file: /Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC/resources/skins/Default/720p/Message.xml
20:08:51 T:2689889536 M:299900928 DEBUG: Load /Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC/resources/skins/Default/720p/Message.xml: 39.38ms
20:08:51 T:2689889536 M:299900928 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-x86-osx.so)
20:08:51 T:2689889536 M:299900928 DEBUG: Loading: /Applications/XBMC.app/Contents/Resources/XBMC/system/ImageLib-x86-osx.so
20:08:51 T:2689889536 M:299757568 DEBUG: Alloc resources: 104.30ms (39.50 ms skin load)
20:09:02 T:2689889536 M:296620032 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
20:09:02 T:2689889536 M:296607744 DEBUG: OnKey: 61453 pressed, action is Select
20:09:02 T:2689889536 M:295546880 DEBUG: ------ Window Deinit (/Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC/resources/skins/Default/720p/Message.xml) ------
20:09:02 T:2689889536 M:296648704 ERROR: ClearBlock: Trying to clear non existent block /Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC
20:09:03 T:2967666688 M:296656896 DEBUG: msvcrt.dll fake function _popen(...) called
20:09:03 T:2967666688 M:296656896 INFO: -->Python script returned the following error<--
20:09:03 T:2967666688 M:296656896 ERROR: Error Type: exceptions.OSError
20:09:03 T:2967666688 M:296656896 ERROR: Error Contents: (2, 'No such file or directory')
20:09:03 T:2967666688 M:296656896 ERROR: Traceback (most recent call last):
File "/Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC/default.py", line 51, in ?
api, auth = Twitter_Login()
File "/Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC/resources/lib/twitter_wrapper.py", line 44, in Twitter_Login
openbrowser.open(redirect_url)
File "/Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC/resources/lib/openbrowser.py", line 61, in open
if browser.open(url, new, autoraise):
File "/Users/Kevin/Library/Application Support/XBMC/addons/script.twitXBMC/resources/lib/openbrowser.py", line 594, in open
osapipe = os.popen("osascript", "w")
OSError: (2, 'No such file or directory')
20:09:03 T:2967666688 M:296656896 INFO: -->End of Python script error report<--
20:09:03 T:2967666688 M:296656896 INFO: Python script stopped
20:09:03 T:2967666688 M:296656896 DEBUG: Thread 2967666688 terminating
20:09:03 T:2689889536 M:296656896 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
20:09:03 T:2689889536 M:296656896 DEBUG: Alloc resources: 0.03ms (0.02 ms skin load)
20:09:03 T:2689889536 M:296521728 DEBUG: python thread 5 destructed
20:09:08 T:2689889536 M:296529920 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
20:09:13 T:2689889536 M:295604224 INFO: Python, unloading python24.dll because no scripts are running anymore
20:09:13 T:2689889536 M:295604224 DEBUG: UnloadExtensionLibs, clearing python extension libraries
20:09:13 T:2689889536 M:295604224 DEBUG: Unloading: python24-x86-osx.so
20:09:21 T:2689889536 M:297766912 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-x86-osx.so)
20:09:21 T:2689889536 M:297766912 DEBUG: Unloading: ImageLib-x86-osx.so
Pages: 1 2