metabaron / Gomiso-XBMC

Gomiso integration within XBMC
GNU General Public License v2.0
5 stars 2 forks source link

No Messages from Gomiso and Autostart fail #12

Open gbomacfly opened 11 years ago

gbomacfly commented 11 years ago

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

metabaron commented 11 years ago

Ok, so you mean when you connect, you dont have a message saying someting like "blablauser connected"?

gbomacfly commented 11 years ago

Yes, and i also don't get a message when it was submitted. Absolutely no messages.

metabaron commented 11 years ago

Because I think it was not submitted... you cleared data for this add-on and started clean?

gbomacfly commented 11 years ago

Even when it was submitted, there is no message. I have installed xbmc and gomiso completly new, but no changes.

And it submit not every time :(

metabaron commented 11 years ago

New like you also deleted data from appdata directory, not only from the program directory?

gbomacfly commented 11 years ago

I deleted the whole directory under ~/Library/Application Support Is there another directory?

metabaron commented 11 years ago

/Users//Library/Application support/XBMC If I trusted what I read. Can you tell me once you try to connect the content of your XBMC\userdata\addon_data\script.gomiso and the content of "settings" (please delete the password). I want to see if your values are saved in the file.

gbomacfly commented 11 years ago

Sure.

http://gbpaste.org/VK5sY

metabaron commented 11 years ago

Ok, seems like everything is OK. Let me see if I can a special version which will generate a better log file for me to analyze later on.

gbomacfly commented 11 years ago

ok :)

metabaron commented 11 years ago

I asked XBMC to deploy a new version. Let me know if solve your problem (even if I doubt it will)

luisfra commented 11 years ago

having the same problem! it won't auto start! have to manually start it on the programs section! everything works after that! XBMC Eden 11.0

OSX 10.8.2, GOMISO 1.6.0

metabaron commented 11 years ago

Regarding the autosart feature, I'm on it and should be available only in the new version of XBMC (the current 11.0 version, named "Eden") as I have a lot of problems to have both 10 and 11 version support at the same time.

gbomacfly commented 11 years ago

I have found out why the script doesn't start automatic.

I've copied the folder from my git-Folder to ~/Library/Application Support/xbmc/addons. With the name "metabaron-Gomiso-XBMC-d1445ea" But xbmc is looking for script.gomiso in the same folder. I've renamed it and now it starts.

But still no notifications

It helps to start Debuglog in xbmc and then tail the logfile

metabaron commented 11 years ago

What the hell? I officially deployed a new version yesterday in XBMC so might solve your problem?

gbomacfly commented 11 years ago

OK, I will try to delete the current and install from xbmc.

gbomacfly commented 11 years ago

OK, its a little bit better now. But, after first submission the script ended. I will try to get a log of this part

gbomacfly commented 11 years ago

Got it! :)

http://gbpaste.org/VnWml

metabaron commented 11 years ago

So, if I understood correctly, the American Horror Story show was submitted? the problem seems to be at time of displaying the submission to the client. My main concern is why is the system complaining about a non ASCII code??

gbomacfly commented 11 years ago

Yes, it submit and crash immediately.

metabaron commented 11 years ago

My good. You like to make my life hard :) I'm on it

metabaron commented 11 years ago

Can you edit line 202 from the script and change it for xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', showname + ' S' + season + 'E' + episode + ' ' + language(30917).encode("utf8"), 5000, settings.getAddonInfo("icon")))

Please? If not, I would try to have my xbmc in German so that I can reproduce the bug at the best. I could do without changing to German but I want to be sure I'm not "bypassing" something that would create the bug.

gbomacfly commented 11 years ago

http://gbpaste.org/roSQ8

metabaron commented 11 years ago

New correct value xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', showname + ' S' + season + 'E' + episode + ' ' + language(30917).encode("utf8"), 5000, settings.getAddonInfo("icon")))

Sorry, GitHub interpreted my as the HTML BOLD command :( so language__ became language

gbomacfly commented 11 years ago

Now i've got no error, it submits and autostart works. But there is no notification in xbmc. But I think thats an xbmc issue, because sickbeard fails to notice too :(

gbomacfly commented 11 years ago

Big thx for your support :)

gbomacfly commented 11 years ago

I have updated xbmc to 12 (Frodo) and now it works :)

gbomacfly commented 11 years ago

Please change the german lang file to http://gbpaste.org/G6BSZ The script have problems with the german "Umlaute". I've changed it. And, in the line above, it has to be 30918, not 30917.

Thats where the problem was. In 30917 is no umlaut, but in 30918. encode("utf-8") didn't work

metabaron commented 11 years ago

I know the problem is the Umlaute and I'm trying to solve it by encoding so that I don't need to care about the content of the translation file itself :) but thanks a lot for sharing.