metabaron / gomiso-xbmc Goto Github PK
View Code? Open in Web Editor NEWGomiso integration within XBMC
License: GNU General Public License v2.0
Gomiso integration within XBMC
License: GNU General Public License v2.0
19:29:39 T:3868 M:3084136448 NOTICE: -->Python Interpreter Initialized<--
19:29:39 T:3868 M:3083325440 ERROR: Error Type: <type 'exceptions.ImportError'>
19:29:39 T:3868 M:3083325440 ERROR: Error Contents: No module named message
19:29:39 T:3868 M:3083194368 ERROR: Traceback (most recent call last):
File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\default.py", line 136, in
json_result = json.loads(letsGo.getUserInfo())
File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\gomiso.py", line 97, in getUserInfo
resp, token = client.request('http://gomiso.com/api/oauth/v1/users/show.json', method="GET")
File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\oauth2.py", line 683, in request
connection_type=connection_type)
File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\httplib2.py", line 1021, in request
info = email.Message.Message()
File "C:\Program Files (x86)\XBMC\system\python\Lib\email__init__.py", line 79, in getattr
import(self.name)
ImportError: No module named message
19:29:45 T:1244 M:3082706944 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
19:29:46 T:3856 M:3087351808 NOTICE: -->Python Interpreter Initialized<--
19:29:46 T:3856 M:3087261696 ERROR: Error Type: <type 'exceptions.ImportError'>
19:29:46 T:3856 M:3087261696 ERROR: Error Contents: No module named message
19:29:46 T:3856 M:3087118336 ERROR: Traceback (most recent call last):
File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\default.py", line 136, in
json_result = json.loads(letsGo.getUserInfo())
File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\gomiso.py", line 97, in getUserInfo
resp, token = client.request('http://gomiso.com/api/oauth/v1/users/show.json', method="GET")
File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\oauth2.py", line 683, in request
connection_type=connection_type)
File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\httplib2.py", line 1021, in request
info = email.Message.Message()
File "C:\Program Files (x86)\XBMC\system\python\Lib\email__init__.py", line 79, in getattr
import(self.name)
ImportError: No module named message
19:29:51 T:3776 M:3087360000 NOTICE: -->Python Interpreter Initialized<--
Hi,
I'm using Gomiso-XBMC 1.60
XBMC 12.0 Alpha6, Mac OS X 10.8.2
And the Autostart does'nt work. Neither the messages from gomiso like "Connected" and so on.
I have to go in Programs and then start gomiso manually.
And there is no Indicator gomiso is running or not.
When I click on the item and nothing happens it was switched on.
When I click on the item and the cursor stand still for 2 secs its off.
Strange thing.
Here's a screenshot of my options: http://gbimg.org/tnEE4
hello,
like i say i wanna use another user and password but looks like always use the same user. i try to uninstall and install. to put to default but nothing is working. any idea how can i use my new user and password?
thanks.
22:16:46 T:5788 M:2381524992 ERROR: Error Type: exceptions.UnicodeEncodeError
22:16:46 T:5788 M:2381524992 ERROR: Error Contents: 'ascii' codec can't encode characters in position 29-30: ordinal not in range(128)
22:16:46 T:5788 M:2381221888 ERROR: Traceback (most recent call last):
File "C:\Users\Stephan\AppData\Roaming\XBMC\addons\script.gomiso\default.py", line 186, in ?
json_result = json.loads(letsGo.findMedia(showname, 'tv', 1))
File "C:\Users\Stephan\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\gomiso.py", line 214, in findMedia
resp, token = client.request('http://gomiso.com/api/oauth/v1/media.json?q=' + urllib.quote(title) + '&count=' + str(count) + '&kind=' + media_type[kind], method='GET')
File "C:\Users\Stephan\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\oauth2.py", line 677, in request
uri = req.to_url()
File "C:\Users\Stephan\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\oauth2.py", line 439, in to_url
url = (scheme, netloc, path, params,
File "special://xbmc/system/python/Lib\urllib.py", line 1187, in urlencode
l.append(k + '=' + quote_plus(str(elt)))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 29-30: ordinal not in range(128)
This one occurred while watching a tv show. The file name is "Raumschiff Enterprise - Das nächste Jahrhundert - S05E21 - Eine hoffnungslose Romanze.avi". I've attached the .nfo file for this episode. I guess the issue is the show name, because your script never worked for this particular show (maybe the "ä" or the "-"??).
I was looking Malcolm in the Middle, Season 1 (in german Malcolm mittendrin)
Gomiso checked in, but not in a episode. It checked me in to the TV-Show-Info.
http://gomiso.com/m/malcolm-mittendrin instead of
http://gomiso.com/m/malcolm-mittendrin/seasons/2/episodes/15
You can see it here: http://gomiso.com/u/gbomacfly
when I watch a movie, the information can´t be checked in on Miso due an script error.
I fixed the error.
just put the the marked lines (->) on the default.py before line 212:
elif len(xbmc.getInfoLabel("VideoPlayer.Title")) >= 1:
#Retrieve movie information
#movieName = xbmc.getInfoLabel("VideoPlayer.Title")
movieName = unicode(xbmc.getInfoLabel("VideoPlayer.Title"), errors="ignore")
movieName = movieName.replace(",", '')
-> season = ''
-> episode = ''
#Retrieve only one entry but would be good to have a threshold level like if more than 20 entries, no submit
json_result = json.loads(letsGo.findMedia(movieName, 'movie', 1))
if len(json_result) != 0:
letsGo.checking(json_result[0]['media']['id'], season, episode, 'watched on XBMC with gomiso addon')
if verboseScreen:
xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + language(30918), 5000, settings.getAddonInfo("icon")))
else:
if verboseScreen:
xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + language(30917), 5000, settings.getAddonInfo("icon")))
checkedTitle = currentTitle
I installed v.1.3.0 of gomiso, and entered my username/pasword information and selected 'autostart'. Then it simply threw up an error claiming the script had failed. Does the script need updating for the changes in eden?
I always get an error message both win xp and with ubuntu 11.10,
This is the Log
13:02:49 T:139979578382080 ERROR: Error Type: <type 'exceptions.NameError'>
13:02:49 T:139979578382080 ERROR: Error Contents: name 'movieName' is not defined
13:02:49 T:139979578382080 ERROR: Traceback (most recent call last):
File "/home/jacopo/.xbmc/addons/script.gomiso/default.py", line 217, in
json_result = json.loads(letsGo.findMedia(movieName, 'movie', 1))
NameError: name 'movieName' is not defined
I actually don't know Python, so I'm now exactly sure, but I watch a TV series episode and comment out the last part of the default.py script (from line 208) then the script works and It's able to post the update on gomiso.
Sorry if it is not here the place for such a message, but I didn't find another good place to report this problem.
Thank you
From a client:
I am using the gomiso plugin you developed for XBMC for quite some time now! It saved me a lot of time for manually checking in all the episodes i watch!
You have done a good job and i see that you are trying and fix all the small issues that come up from time to time.
I wanted to let you know about a small issue i've noticed lately.
I started watching the tv series Angel. And when i went to my gomiso page i saw that it doesn't check the correct series.
It checks the episodes from NCIS: Los Angeles.
When you put the search term "Angel" on gomiso the first result is the ncis tv series.
And i guess the plugin understand this as a match.
Is there a possibility for your plugin to match the exact title of the tv series and not the first result that comes up to the gomiso search?
If not is there a possibility to manually link to the main page of the tv series we want to check in the first time and in future checks the plugin to go to that page automatically and skip the search?
The same thing happened with the Survivor checks as well, but i ignored it as there are many titles with the same name (thats gomiso's website fault not the plugin's).
22:22:12 T:6312 M:2192416768 ERROR: Error Type: exceptions.NameError
22:22:12 T:6312 M:2192416768 ERROR: Error Contents: name 'season' is not defined
22:22:12 T:6312 M:2192400384 ERROR: Traceback (most recent call last):
File "C:\Users\Stephan\AppData\Roaming\XBMC\addons\script.gomiso\default.py", line 205, in ?
letsGo.checking(json_result[0]['media']['id'], season, episode, 'watched on XBMC with gomiso addon')
NameError: name 'season' is not defined
22:22:15 T:6916 M:2193334272 ERROR: Error Type: exceptions.NameError
22:22:15 T:6916 M:2193334272 ERROR: Error Contents: name 'season' is not defined
22:22:15 T:6916 M:2193321984 ERROR: Traceback (most recent call last):
File "C:\Users\Stephan\AppData\Roaming\XBMC\addons\script.gomiso\default.py", line 205, in ?
letsGo.checking(json_result[0]['media']['id'], season, episode, 'watched on XBMC with gomiso addon')
NameError: name 'season' is not defined
This occurred while i was watching a movie. I don't know if your plugin supports movies or only tv shows and i don't remember if there was an error before while watching anything else than tv shows but this was the first time i noticed this little script error window in xbmc.
This still seems to be broken, script crashes when watching movie, the line 218 still says:
letsGo.checking(json_result[0]['media']['id'], season, episode, 'watched on XBMC with gomiso addon')
in the condition that a movie was found. Consequently we see the following error when in a movie:
File "/root/.xbmc/addons/script.gomiso/default.py", line 218, in
letsGo.checking(json_result[0]['media']['id'], season, episode, 'watched on XBMC with gomiso addon')
NameError: name 'season' is not defined
Is there an easy fix for this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.