dirkjanm / firefox-send-to-xbmc

Send to XBMC/Kodi Firefox plugin
MIT License
66 stars 26 forks source link

Keeps losing XBMC account data, no "Send to XBMC" button on YT pages #2

Closed Moonbase59 closed 9 years ago

Moonbase59 commented 10 years ago

I'm using Linux Mint 17, Firefox 33.0, Send to XBMC 1.2. For some reason, the addon often (unreproducably) loses the XBMC server's account information, i.e. the XBMC login data, port etc. Also, I almost never get the "Send to XBMC" button on the right side of YouTube pages. I deinstalled and/or disabled almost all other addons to no avail. (Like AdBlock, Diigo, etc.)

Any ideas or further feedback I could give?

P.S.: WHENever it works (about once in 20 tries, after playing with settings), it works beautifully, so my XBMC, its YouTube plugin and the communication seems ok.

dirkjanm commented 10 years ago

You can try installing the 2.0.2 version from here: https://addons.mozilla.org/en-US/firefox/addon/send-to-xbmc/versions/ I'm still trying to get it approved by Mozilla, which takes ages unfortunately, but this version uses a completely different system for your preferences.

Moonbase59 commented 9 years ago

Hmm … it only shows versions 1.2, 1.1.0.1, 1.1.0, and 1.0.0.rev94?

dirkjanm commented 9 years ago

Yes it was removed because of some problems with the review. You can install the xpi directly from the repository here but I think you wont get automatic updates then.

dirkjanm commented 9 years ago

I've just added v2.1 on the url mentioned above.

Moonbase59 commented 9 years ago

Thanks. Tried it but not possible to add a server? (Linux Mint 17.1 Cinnamon/Firefox 34.0/locale German-UTF8)

dirkjanm commented 9 years ago

It should be possible to add a server. Make sure you have filled in all the fields correctly when clicking the "add" button. Incorrectly filled in fields will have a red border.

Moonbase59 commented 9 years ago

Hmm. No red borders, click on (green) »Add« seems to do nothing (server doesn't appear in list). I tried several names for the Server Name field, like »openelec.local«, »OpenELEC«, »XBMC«, and tried both »192.168.170.101« (my XBMC) and »openelec.local« in the Server IP field. (The machine pings fine with both IP Address and DNS name, also I can reach the XBMC HTML page via http://openelec.local:80 (and give the same user name and password I tried to enter).

dirkjanm commented 9 years ago

Can't replicate this on Windows 8.1 or XUbuntu. Could you create a new (empty) firefox profile (see https://developer.mozilla.org/en-US/docs/Mozilla/Multiple_Firefox_Profiles for instructions), install the plugin there and see if it works? If so I expect there to be a problem with your Firefox profile for some reason and it can't access some data.

Moonbase59 commented 9 years ago

Whew, good find! I actually have another user here on this machine, who is set up with an English locale and a fresh Firefox and it worked on the first try. I wonder if really my German Firefox profile is corrupt or it has something to do with the language settings. Tested with v2.1.0 from above link, and Firefox 34.

N.B.: I quite like the possibility to have more than one server, but I have one suggestion: Could you allow also inputting the server's DNS name instead of a fixed IP address? IPs given out by DHCP sometimes change, a DNS name would be better sometimes (plus I could just take my laptop over to my friend's place, who also uses »openelec.local« as his HTPC name).

dirkjanm commented 9 years ago

I'm assuming then its related to your firefox profile since the plugin shouldn't lose its data in the first place. I will close this but I like your suggestion, if you create a new issue for it then I'll add it in a next version.

Moonbase59 commented 9 years ago

Will do. Hey, and cheers for the great support!

Final feedback for this issue: It was a messed-up profile, for some reason. I had to »reset« Firefox (it kept my bookmarks, though) and re-install the addons. Works fine now, even with the German locale. Seemingly also no conflicts with other installed addons, like PlayIt on XBMC, Diigo, DownloadHelper and AdBlock Plus.