Release - Twitter Feeds Add-on

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Romans I XVI Offline
Senior Member
Posts: 116
Joined: Feb 2013
Reputation: 4
Post: #1
These days many television programs have an associated twitter account "@" or topic hashtag "#". Some programs even display the tweets of viewers in real time, thus the inspiration for this addon. This addon enables you to follow the conversation associated with any show you are watching, or for that matter any other twitter conversation that is occurring.

The addon source will be at.
https://github.com/asojka09/script.service.twitter
I plan on adding this to the official XBMC repo soon.

Make sure to read the instructions in the addon for some good usage tips. I am always open to comments/suggestions/bug reports so feel free to post whats on your mind.

Enjoy


Note: The notification will play a sound if you are not playing a video, however if you are using gotham pull from the gotham branch to fix this problem

Enjoy my work? Check out my other projects.

XBMC Add-ons

Android Games
(This post was last modified: 2014-02-10 01:18 by Romans I XVI.)
find quote
firerm Offline
Junior Member
Posts: 12
Joined: Dec 2010
Reputation: 0
Post: #2
It works... but after 2-3 hours XBMC use stops working (I used with from:[twitter_account] )
find quote
Romans I XVI Offline
Senior Member
Posts: 116
Joined: Feb 2013
Reputation: 4
Post: #3
Hmm. Guess I have never tested for extended periods of time. If you can submit a log from a session where it stopped working that would be great.

Enjoy my work? Check out my other projects.

XBMC Add-ons

Android Games
find quote
firerm Offline
Junior Member
Posts: 12
Joined: Dec 2010
Reputation: 0
Post: #4
After 30-45 minutes ...or if inactive. when I close xbmc and then open again works...
(This post was last modified: 2014-05-16 23:33 by firerm.)
find quote
Romans I XVI Offline
Senior Member
Posts: 116
Joined: Feb 2013
Reputation: 4
Post: #5
OK thanks for the feedback. I'm sorry I haven't had time to look into the issue but I assure you I plan to. I have been very busy with both computer repair and working on my android game lately I have a small pile of things to look into with my xbmc addons that I have been neglecting. But I assure you I plan to get to them. Thanks for the patience and additional info.

Enjoy my work? Check out my other projects.

XBMC Add-ons

Android Games
find quote
firerm Offline
Junior Member
Posts: 12
Joined: Dec 2010
Reputation: 0
Post: #6
No problem at all this is a very" information" addon that can have many applications Smile
find quote
UKVaper Offline
Junior Member
Posts: 29
Joined: Aug 2012
Reputation: 0
Post: #7
Is there any chance of a update to this? I assume something on Twitter's end has changed and it's no longer showing results.
find quote
bossanova808 Offline
Donor
Posts: 2,294
Joined: Sep 2009
Reputation: 36
Location: Melbourne, Australia
Post: #8
Never saw this. Would be awesome if it could do this 'bank-in-time' i.e. for those of OS that watch everything much later than broadcast, I wonder if the twitter API lets you specifyu an offset and move forward...that would be cool!

My XBMC stuff:
find quote
Romans I XVI Offline
Senior Member
Posts: 116
Joined: Feb 2013
Reputation: 4
Post: #9
Thank you for letting me know it is not working. I will need to look in to it. I haven't been using it lately so I didn't know. Something must have changed on twitter's end.

Enjoy my work? Check out my other projects.

XBMC Add-ons

Android Games
find quote
manowar Offline
Junior Member
Posts: 2
Joined: Oct 2014
Reputation: 0
Post: #10
i had a warning saying "search eror no result"

found that this addon was causing the issue

http://forum.kodi.tv/showthread.php?tid=...pid1823288
find quote
schray Offline
Junior Member
Posts: 1
Joined: Nov 2014
Reputation: 0
Post: #11
***the problem solved itself somehow***
(This post was last modified: 2014-11-02 11:36 by schray.)
find quote
Romans I XVI Offline
Senior Member
Posts: 116
Joined: Feb 2013
Reputation: 4
Post: #12
Glad your problem is resolved schray, I'm going to respond to it anyway just in case other people have the issue. When the twitter feeds addon first installs it prompts you to set a hotkey to open up the program settings (the moderators didn't want me to remap keys automatically and wanted users to have control over this step). I believe Schray accidentally hit the down arrow when he was prompted and this made his down arrow unusable. You should have been able to remap the key but I don't know why your settings were blank. But regardless, what the addon does is create the file (XBMC data folder)\userdata\keymaps\twitter.xml . The location of the XBMC data folder depends on your OS but for example on windows it is C:\Users\Username\AppData\Roaming\XBMC\userdata\keymaps\twitter.xml . All you need to do is delete that file and any keymap changes twitter made will be undone. Cheers.

Enjoy my work? Check out my other projects.

XBMC Add-ons

Android Games
find quote
Romans I XVI Offline
Senior Member
Posts: 116
Joined: Feb 2013
Reputation: 4
Post: #13
Just submitted update. It was an easy fix. All I had to do was change one line...

Line 154 in Default.py
text=re.compile('<p class="js-tweet-text tweet-text">(.+?)</p>').findall(link)

to

text=re.compile('<p class="js-tweet-text tweet-text".+?>(.+?)</p>').findall(link)

Smile

Enjoy my work? Check out my other projects.

XBMC Add-ons

Android Games
(This post was last modified: 2014-11-02 15:44 by Romans I XVI.)
find quote
firerm Offline
Junior Member
Posts: 12
Joined: Dec 2010
Reputation: 0
Post: #14
I'm testing it again after the update ... my capture ethernet card via URL HELPER shows that search every 1 or 4 secs and after 40 minutes stacks the script ... A nice Idea is to search every X minutes ... Great Script !
find quote