[RELEASE] XBMC-follw.it Service
#1
http://code.google.com/p/xbmc-follwit/

XBMC add-on to integrate with Follw.it
Follw.it is a social network centered around TV shows and movies. Follw.it allows your friends to know what you have, what you have watched, and what you are watching. It puts recent events into a content stream to easily see what your friends are up to. You can also rate shows and movies. Follw.it can give recommendations on other content you may be interested in.

The Add-On
Currently this add-on is only a service that will tell follw.it when you add, watch, or are watching an item. It also has a means of doing a sync with follw.it to make sure it knows everything you have in your collection. The sync will also tell XBMC everything that follw.it knows you have watched.

Future Plans
Add stream view support.
Add a means to rate content from within XBMC
Add support for XBMC to contribute content information to the follw.it DB
Account creation from within the add-on
Reply
#2
THANKS!!!

Lacking follw.it implementation was the KEY reason for me not to switch over to XBMC. I really, honestly and kindly thank you for that!
Reply
#3
It was mine as well ; ). I appreciate your gratitude.

-Lucas
Reply
#4
Althought it seems like it doesn't work neither on Eden nor on Frodo Pre. Always telling me "Script Execution failed".

I'd give it a look if you'd point me to the right direction where the log files are stored. Maybe I can fix it for me Smile
Reply
#5
Turn on debug mode and the logs are in the xbmb.log file. I'd like to take a look at your logs if you are cool with it. I am running on Eden with no issues. I also ran it on Frodo Alpha3 without issue. I have no way of testing Mac. The log file removes your password.
Reply
#6
Sorry for the late reply. I'll post my logs tonight.
Reply
#7
Bug 
Code:
18:44:00 T:6500  NOTICE: -----------------------------------------------------------------------
18:44:00 T:6500  NOTICE: Starting XBMC (11.0 Git:20121009-6dbad2e), Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Oct 15 2012 (compiler 1600)
18:44:00 T:6500  NOTICE: Intel(R) Celeron(R) CPU G530 @ 2.40GHz
18:44:00 T:6500  NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
18:44:00 T:6500  NOTICE: Running with restricted rights
18:44:00 T:6500  NOTICE: Aero is enabled
...
...
...
18:44:00 T:6500  NOTICE: load settings...
18:44:00 T:6500  NOTICE: special://profile/ is mapped to: special://masterprofile/
18:44:00 T:6500  NOTICE: loading special://masterprofile/guisettings.xml
18:44:00 T:6500  NOTICE: Getting hardware information now...
18:44:00 T:6500  NOTICE: Checking resolution 12
18:44:00 T:6500  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
18:44:00 T:6500  NOTICE: Loaded playercorefactory configuration
18:44:00 T:6500  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
18:44:00 T:6500  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
18:44:00 T:6500  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
18:44:00 T:6500  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
18:44:00 T:6500  NOTICE: Default DVD Player: dvdplayer
18:44:00 T:6500  NOTICE: Default Video Player: dvdplayer
18:44:00 T:6500  NOTICE: Default Audio Player: paplayer
18:44:00 T:6500  NOTICE: Disabled debug logging due to GUI setting. Level 0.
18:44:00 T:6500  NOTICE: Log level changed to 0
18:44:00 T:6500  NOTICE: Loading media sources from special://masterprofile/sources.xml
18:44:00 T:6500   ERROR: Keymapping error: no such action 'language' defined
18:44:00 T:6500  NOTICE: PERIPHERALS::CPeripheralBus::Register - new unknown device registered on usb->\\?\usb#vid_22b8&pid_003b#6&3ae11b61&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}: Motorola Nyxboard Hybrid (22B8:003B)
18:44:01 T:6500   ERROR: Keymapping error: no such action 'language' defined
18:44:01 T:6500  NOTICE: initializing playlistplayer
18:44:01 T:6500  NOTICE: DONE initializing playlistplayer
18:44:02 T:2428   ERROR: CRemoteControl::Connect - failed to connect
18:44:03 T:6500  NOTICE: EPG::CEpgContainer::Start - EPG thread started
18:44:03 T:6500  NOTICE: PVRManager - starting up
18:44:04 T:6500  NOTICE: initialize done
18:44:04 T:6500  NOTICE: Running the application...
18:44:04 T:6500  NOTICE: Webserver: Starting...
18:44:04 T:6500  NOTICE: WebServer: Started the webserver
18:44:04 T:6500  NOTICE: starting upnp renderer
18:44:04 T:6500  NOTICE: ES: Starting event server
18:44:04 T:6988  NOTICE: -->Python Interpreter Initialized<--
18:44:04 T:5728  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
18:44:04 T:5728  NOTICE: UDP: Listening on port 9777
18:44:04 T:6988   ERROR: C:\Users\bberger\AppData\Roaming\XBMC\addons\script.trakt\utilities.py:19: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
                                              import sha # Python 2.5 and earlier
18:44:04 T:6992  NOTICE: -->Python Interpreter Initialized<--
18:44:04 T:2472  NOTICE: -->Python Interpreter Initialized<--
18:44:04 T:7148  NOTICE: -->Python Interpreter Initialized<--
18:44:04 T:5896  NOTICE: -->Python Interpreter Initialized<--
18:44:04 T:1228  NOTICE: -->Python Interpreter Initialized<--
18:44:05 T:5512  NOTICE: -->Python Interpreter Initialized<--
18:44:05 T:7128  NOTICE: -->Python Interpreter Initialized<--
18:44:05 T:1228  NOTICE: [Follwit Addon] ***Starting Addon Class***
18:44:06 T:6372   ERROR: ADDON: Could not locate XBMC_MythTV_win32.pvr
18:44:06 T:6372   ERROR: PVR - PVR::CPVRClients::InitialiseClient - can't initialise add-on 'MythTV PVR Client'
18:44:06 T:5896  NOTICE: Artwork Downloader: ## Service - Run at startup: False
18:44:06 T:5896  NOTICE: Artwork Downloader: ## Service - Delayed startup:  minutes
18:44:06 T:5896  NOTICE: Artwork Downloader: ## Service - Run as service: False
18:44:06 T:5896  NOTICE: Artwork Downloader: ## Service - Time: :00
18:44:06 T:7128  NOTICE:  StorageServer Module loaded RUN
18:44:06 T:7128  NOTICE: StorageClient-1.3.0 Starting server
18:44:06 T:7128  NOTICE: StorageServer-1.3.0 Storage Server starting C:\Users\bberger\AppData\Roaming\XBMC\userdata\Database\commoncache.db
18:44:06 T:1228  NOTICE: [Follwit Addon] Debug Value: True
18:44:06 T:1228  NOTICE: Hashing password.
18:44:06 T:6200  NOTICE: EPG::CEpgContainer::Start - EPG thread started
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table '13th Street'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'ATV'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Beate-Uhse.TV'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Discovery HD'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Disney Channel HD'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Disney Cinemagic HD'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Fox HD'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Goldstar TV'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Heimatkanal'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'History HD'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'MGM'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Motorvision TV'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'MTV Live HD'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Nat Geo Wild HD'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'NatGeo HD'.
18:44:07 T:1228  NOTICE: Request string /api/3/0MAKf8epbYSUb/user.authenticate
18:44:07 T:1228  NOTICE: Request args {"username": "bberger", "password": "[Password Removed]"}
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'ORF III'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'RTL Crime'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'RTL Passion'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'ServusTV HD Deutschland'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'ServusTV HD Oesterreich'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Sky Emotion'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Sky Krimi'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Spiegel Geschichte'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'Syfy'.
18:44:07 T:6496  NOTICE: Epg - EPG::CEpg::Load - no database entries found for table 'TNT Serie HD'.
18:44:08 T:1228  NOTICE: Responce: {"username": "bberger", "response": "success"}
18:44:08 T:1228   ERROR: Error Type: <type 'exceptions.AttributeError'>
18:44:08 T:1228   ERROR: Error Contents: FollwitAddon instance has no attribute 'xbmcMovies'
18:44:08 T:1228   ERROR: Traceback (most recent call last):
                                              File "C:\Users\bberger\AppData\Roaming\XBMC\addons\script.follwit\service.py", line 21, in <module>
                                                notify.events.follwitAddon.syncMovies()
                                              File "C:\Users\bberger\AppData\Roaming\XBMC\addons\script.follwit\follwitAddon.py", line 101, in syncMovies
                                                for xbmcMovie in self.xbmcMovies:
                                            AttributeError: FollwitAddon instance has no attribute 'xbmcMovies'
18:44:16 T:1040  NOTICE: -->Python Interpreter Initialized<--


Sorry for double posting (in fact triple posting), but I had to as I already had to cut down my logfile.

Seems like it moans that there is no "myMovies" attribute..


// Edit: hmmmmmmmmmmmmmmm... VERY strange, but it just synced for the first time ever when I started XBMC..
Reply
#8
hi LRFalk01,

I try to get follw.it working with a nightly from the day before yesterday.
I will get this error when trying to sync on startup:

Code:
23:56:34 T:1360   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named EpisodeLookup
                                            Traceback (most recent call last):
                                              File "C:\Users\me\AppData\Roaming\XBMC\addons\script.follwit\service.py", line 2, in <module>
                                                from notification_service import NotificationService
                                              File "C:\Users\me\AppData\Roaming\XBMC\addons\script.follwit\notification_service.py", line 5, in <module>
                                                from xbmcEvents import EventHandler
                                              File "C:\Users\me\AppData\Roaming\XBMC\addons\script.follwit\xbmcEvents.py", line 5, in <module>
                                                import EpisodeLookup
                                            ImportError: No module named EpisodeLookup
                                            -->End of Python script error report<--

Running on win8 here....

Would be grateful if you could have a look into this...




Reply
#9
Hi again,

I did an uninstall of the plugin and reinstalled running xbmc in admin mode. Now I will get this:

Code:
00:37:33 T:5160   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
                                            Traceback (most recent call last):
                                              File "C:\Users\me\AppData\Roaming\XBMC\addons\script.follwit\service.py", line 21, in <module>
                                                fa.syncMovies()
                                              File "C:\Users\me\AppData\Roaming\XBMC\addons\script.follwit\follwitAddon.py", line 148, in syncMovies
                                                self.xbmcInt.setWatchedMovie(item['client_id'])
                                              File "C:\Users\me\AppData\Roaming\XBMC\addons\script.follwit\xbmcInterface.py", line 135, in setWatchedMovie
                                                " WHERE movie.idMovie='%(xbmc_id)s'" % {'xbmc_id':self.xcp(xbmc_id)})
                                              File "C:\Users\me\AppData\Roaming\XBMC\addons\script.follwit\xbmcInterface.py", line 155, in xbmcHttpapiQuery
                                                xml_data = xbmc.executehttpapi( "QueryVideoDatabase(%s)" % urllib.quote_plus(query), )
                                            RuntimeError: Unimplemented method: executehttpapi::XBMCAddon::xbmc::executehttpapi(...)
                                            -->End of Python script error report<--
Reply
#10
I fixed the first issue. Your uninstall and reinstall does that because the version that is in the zip download needs updated. It is old and does not work with Frodo. You can do a manual addon check or just wait. Either way, it will update within 4 hours.
Reply
#11
Hi LRFalk01,

just for your information: I went away from the nightly back to beta 1. Everything is working fine here. If you want me to test something with nightly just let me know....
Reply
#12
I'm not sure if you follow this anymore, but I thought it was worth a try. I grabbed this plugin and loaded into the latest version of xbmcbuntu but it says "invalid username/password" after I configure it. I enabled debugging and it looks like the log is saying "invalid hostname". At least that's the first error listed.

Any ideas on how I can get this fixed? Thank you!
Reply
#13
Sounds like a DNS issue.

-LRFalk01
Reply
#14
Thanks for the quick reply. I can browse to the follw.it website from other computers in my household using the same dns server. Does that still sound like a DNS issue? Thanks!
Reply
#15
Can you post the logs?

-LRFalk01
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
[RELEASE] XBMC-follw.it Service00