Git Product home page Git Product logo

firefox-send-to-xbmc's Introduction

Send to XBMC/Kodi Firefox plugin

https://addons.mozilla.org/en-US/firefox/addon/send-to-xbmc/

About

Sends YouTube videos, video and music links to Kodi for playback. Adds a right click menu for links pointing to YouTube and audio/video files for direct playback on your TV with Kodi. Works with XBMC Eden and later, as well as with Kodi Helix and newer.

Version 2.0 of the plugin was made open source and placed on GitHub. This version rewrote the whole server management part of the plugin, adding support for multiple servers and adding the basics for a lot of extra features

Version 3.0 is a complete rewrite of the extension into a WebExtension, granting compatibility with Firefox 57.

Setup XBMC/Kodi

Under System -> Services:

  • Web Server -> Make sure it's enabled and a password is set
  • Remote control -> Enable: "Allow remote control by programs on other systems" Go back to Home to save changes

Plug your Kodi info into the FireFox addon... IP can be obtained from System -> System info (Appears when System is highlighted )

Features

  • Supported formats

    • YouTube
    • Twitch
    • Vimeo
    • mp4
    • mkv
    • mov
    • mp3
    • avi
    • flv
    • wmv
    • asf
    • flac
    • mka
    • m4a
    • aac
    • ogg
    • pls
    • jpg
    • png
    • gif
    • jpeg
    • tiff
  • Supports multiple servers

Planned features

  • Multiserver support [Added v2.0]
  • Queue videos in playlist
  • Manage playlist
  • Plugin button in Toolbar [Added v3.0]
  • Maybe: Some simple remote control functions

Building

Make sure you have the web-ext tool installed.

Run the plugin with web-ext run Build the plugin with web-ext build Alternatively, in about:debugging you can install the extension as temporary extension by loading the manifest.json from the webextension directory.

License

MIT

firefox-send-to-xbmc's People

Contributors

dirkjanm avatar jhr007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

firefox-send-to-xbmc's Issues

Install v2 on Firefox 32 ?

I would love to install this addon v2 for the mutliserver support on Firefox, but the plugin manager does not find any update.

I am currently using Firefox 32 and the plugin is 1.2.

Cannot send Vevo videos (or recent Youtube videos)

I have been using this addon for some while and I love it. But as of today on Linux Mint 17 Qiana running Firefox 42.0 sending to kodi 15.2, the vast majority of youtube videos fail to play on Kodi. This one plays: https://www.youtube.com/watch?v=372436tJiaM
This one doesn't:
https://www.youtube.com/watch?v=-qaB-sxDZwU
No errors are reported but I do get the "Sending to Kodi" and "Sent to Kodi - success" messages on the PC. All I get on Kodi is the usual "Opening stream" box and, if it is at the main menu, the play controls slide in, a small box flashes up in the lower right corner saying "working" and then the controls slide out again. Nothing else happens and there is nothing in the dmesg log.
All VEVO videos that I have tried fail to send and it seems that only very old standard Youtube videos can be sent.

"add" button in firefox, addon preferences does nothing

browser: Firefox: 35.0
os/system: Arch Linux
addon: Send to XBMC 2.1.0

issue: The server "add" button located in "tools -> addons -> extensions -> preferences for 'Send to XBMC' doesn't do anything. No server/xbmc/kodi entry is added. Possibly unrelated but the server is listening on a non standard port '8050' and its password does contain special characters *#.

Timestamp?

Is it possible to send to Kodi with a timestamp, and if so could you add that functionality? :)

Preferences keep being lost

Every so often on all my browsers, my sendtokodi preferences are lost, meaning I have to reconfigure.

This is really irritating.

Kodi Hostnames

Please let us use hostnames for xbmc/kodi servers. All mine are dhcp.

German Mediatheken suport

Hi,
the german public TV stations offer online 'mediatheken' viewers that can be integrated using a Kodi addon. Thus I recommend to add support to ARD, NDR, MDR, ZDF, ARTE, ... websites. Maybe an teamplay with http://mediathekensuche.de would make sense :-)

Queue to Kodi?

Would love the ability to Queue to Kodi, as well as just sending. SO that multiple items will queue up.

Forgets server

Hi,

I have to re-enter my server details about weekly. The plugin seems to forget them.

Is it possible that they dissappear when I'm not on the network of the kodi device?

I'm on Arch Linux: % uname -a
Linux localhost 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux

Name : firefox
Version : 42.0-2
Architecture : x86_64

Please inform what other data you need to debug this.

Ruben

Settings don't work

In Firefox 35.0.1 (Ubuntu 64bit) the settings page does nothing when the green Add button is pressed. I looked around and the file preferences.js isn't used on the page, which is very odd. The other javascripts (tooltip.js and show passwords work) and there are no console errors reported.

2.3.2 not working on Nightly

When using the latest version of the addon on the latest version of Firefox (Nightly) I get the following error when sending to Kodi
'You have to set up your Kodi address first in the Addon Settings'.

At first I thought the settings were just erased during the update of the addon, but when I tried to enter the preferences through about:addons , I got the following error:

'File not found

Firefox can’t find the file at resource://jid0-ycm0p5wlcgjvbjczhausq5h26wm-at-jetpack/send-to-xbmc/data/preferences.html.

Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.'

Feature request: playlist support

I have a bunch of videos saved to playlists, which gives me a different page layout, so the extension does no longer work.

It'd be great if the alternate layout for playlist mode could be recognized, and/or the entire playlist sent to Kodi.

Sending to Kodi has no effect

Hi,

I believe it is now the fourth try to get this plugin working.
When I try to send some content to my Media Center nothing happens.

I am using Send to XBMC 2.2.0 with Firefox 36 under Ubuntu 14.04 x64.
The Kodi is 14.2 running under OpenElec 5.0.6. on a Raspberry Pi.

The Web interface is reachable with the correct credentials. The same interface is used by my Yatse Remote on Android and working fine. I configured the media center in the configuration interface and it shows up in the context menu.
Yet all I get when I try to send a video or music to Kodi is a notification box (Sending to Kodi).
Is there some way of console or debug mode so I can get more info why this is happening?

Lost settings

Hi,

since today (and probably caused by the update to version 2.3.5-fix1) the send to kodi plugin of me and my wife lost its settings. We are running firefox version 45.9.0 and 55.0.2, respectively and neither of us messed around with our profile. But both of us received the October 1 update which lets us believe that it is the culprit for the issues we see.

In my case (firefox 55.0.2) I can just re-enter the server details and I'm good again. But in my wife's case (firefox 45.9.0), clicking the "Add" button to insert a new server literally has no effect at all (nothing happens when clicking it).

It would be great if settings didn't get lost and if there was no regression with firefox 45.9.0.

Thanks!

cheers, josch

Reverse addon url detection

Hi,

IMHO it's a lot of work for you to add URL syntax for every custom plugin / video service (youtube, vimeo, myvideo, ...). Instead I recommend to talk to the kodi core team to allow the video addons to accept and parse the URLs of the corresponding video service on their own. So you need just to pass the URLs to the Kodi instance and don't need to implement custom URL parsers, addons detection, ... on your own.

Feature Request URL Resolver Script.

Hi dirkjanm

I would love this addon to support other websites not only youtube.

The same way you send youtube links to plugin://plugin.video.youtube, can you send any links to plugin://script.module.urlresolver which also handles youtube links and many other websites in one addon.

A Simple addon just to send any link to KODI if URL Resolver supports it will run it in KODI.

It will also be easier to maintain as you will not have to mess around with youtube and other websites when ever they make changes to them, because people who maintian URL Resolver update changes of websites for KODI.

Also can you make a toolbarbutton which does the same thing as the context menu.

Support for magnet links

Not sure if this is still under development, but it's the best thing we have for firefox as far as I know. Would be very cool if this could support magnet links for torrents like the chrome plugin does.

This is one of the few reasons I'll have to switch to chromium from time to time.

Thank you for this nice plugin!

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

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.

Add to queue menu

It would be very convenient to be able to add a link to Kodi's now playing playlist.

Network Error Could not Contact Kodi

Hi Guys. I have been using Send to Kodi for at least a year. Great little tool for allowing me to send whatever video I'm watching here, to my OpenELEC RPI running my TV on the wall.

However ... about a month ago ... I started experiencing the following messages every time I try to use the addon:
Sending Sending to Kodi.
Network Error Could not Contact Kodi. Check your configuration.

The IP's entered as my server are correct ... everything is used as it always was, but I keep getting the same message every time.

I have uninstalled/removed the Send to Kodi addon in my Firefox many times. Doesn't help.

KORE on my android phone, can communicate and send stuff just fine to my OPENELEC RPI still ... so problem seems to be limited to my desktop.

If anyone can throw any suggestions my way I'd really appreciate it ...
I am running Debian 8 with Firefox ESR.

Support new youtube web interface

YT is trialing the next revision of the website (go to youtube.com/new to opt in) which supposedly will roll out to everyone soon.

The "send to kodi" button is missing in the new interface, no doubt because the HTML structure has changed.

Options Menu Goes Nowhere

Dear Friends, This product was working perfectly until the update to version 53 of Firefox. Now get the add-on no longer functions and following error comes up when trying to access the add-on Options.

File not found

Firefox can’t find the file at resource://jid0-ycm0p5wlcgjvbjczhausq5h26wm-at-jetpack/send-to-xbmc/data/preferences.html.

Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.

Set default port 8080

Probably most implementations use port 8080. Would that be a better default fo the settings?

kodi displays error

When I click the youtube icon from a pc, I get a 'success' confirmation from 'Send to Youtube.'

On my android tv box, with only kodi running, a popup then appears with a Genesis icon, that says, "Playback Failed, Couldn't locate video URL." The YouTube app doesnt start up

Can you offer any suggestion?

Toolbar button

Instead of changing the DOM, how about using a toolbar button?

The button would normally be disabled and grayed, except when the user is in a website that can be queued or played in Kodi, it would become enabled and colored.

The default action would be to play on the first server, with a dropdown menu to select: Play, Queue, and for each additional server: /Play /Queue

The benefit is that it would make it easier to play something in Kodi, no more right clicking or hunting for a button, plus the HTML layout wouldn't be modified, and it would be easier to add support for other websites besides youtube.

support for https

Hi,
I'm using the send to xbmc extension on firefox 37.0.1 for osx and it doesn't seem to work if you use youtube through https.
The send to xbmc logo would just not appear.
Any way to fix this?

Thanks

Allow server FQDN instead of (only) IP address

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).

Thanks for considering!

Can't add server with port 80

I can't add a server with the following settings:
Name: asdf
Host: 192.168.0.x
Port: 80 or blank
Username, password: blank

I've also tried directly editing simple-storage/store.json while firefox was not running, that only cause the entry I edited to disappear. Also tried removing the file outright, which did nothing.

This works on another computer, so I'm not really sure what's wrong on this one. Suggestions for what I can try?

Twitch support

It would be cool to be able to click a button while on Twitch's site to be able to play a given live stream or VOD in Kodi.

A basic button that could be injected in div.channel-actions:

<span class="ember-view">    <a style="background-color: rgb(18, 178, 231);" href="/" target="_blank" class="action js-sub-button subscribe-button button button--purchase">
      <span class="subscribe-text">
        Play on
      </span>
      <span class="subscribe-price button__num-block">
        Kodi
      </span>
    </a>
</span>

The background color is Kodi's blue. Screenshot:
twitch_play_on_kodi_button_idea

Update YouTube plugin url sending syntax

Current method is deprecated:

18:16:50 T:2672817184 WARNING: [plugin.video.youtube] DEPRECATED "plugin://plugin.video.youtube/?action=play_video&videoid=-qaB-sxDZwU"
18:16:50 T:2672817184 WARNING: [plugin.video.youtube] USE INSTEAD "plugin://plugin.video.youtube/play/?video_id=-qaB-sxDZwU"

To look at:

  • Will this break backwards compatibility with XBMC?

No buttons in Firefox

After installation buttons on Firefox bar or in right click menu don't appear.
Quite unusable without them. Version 2.1.0

switch to webextension?

with firefox 57 only webextension addons works. do you have a plan to change your addon to webextension?

Requires manual login - forgets username

Hi

Great addon - thanks a lot. Using newly installed Waterfox 40.1.0 against Kodi 15.2. When I try to send a Youtube-video I get a login-failure. If I manually open a tab, and login to Kodi the extension work as intended.

  • I've configured the addon with IP, port, username and password.
  • After pressing ADD the options are correctly displayed with password displayed as [hidden]
  • Pressing F5 to refresh displays IP, port correctly. Password remains at [hidden] but username is blank

Any idea what could be wrong? Tried reinstalling Waterfox, but i didn't work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.