IsSuEat / open-livestreamer-firefox-addon

Addon for firefox to quickly open stream urls in vlc using livestreamer
GNU General Public License v3.0
18 stars 7 forks source link

Use youtube-dl as a backend? #15

Closed nodiscc closed 6 years ago

nodiscc commented 9 years ago

Hi, I did not have the time to look at the source yet; Is there a possibility to add/set youtube-dl instead of livestreamer as a backend? Youtube-dl has support for more than 500 video hosting sites. Stream support has recently been added to youtube-dl, providing support for the same services as livestreamer.

I see in the screenshot of the prefs dialog that you can set the path to the livestreamer binary. Do you call this executable directly from the addon?

baizon commented 9 years ago

Yes, the executable is called directly using nsIProcess(https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIProcess).

IsSuEat commented 9 years ago

It is not currently possible in the addon, because I check for the name of the binary. Remove or enhance that check and it should work

nodiscc commented 6 years ago

XUL/XPCOM addons are deprecated, closing.