Git Product home page Git Product logo

Comments (12)

JohnDoee avatar JohnDoee commented on June 6, 2024 3

I made a fix for Windows, linux version is still pending. You can see it https://github.com/JohnDoee/deluge-streaming under "Open directly in your video player"

from deluge-streaming.

sojusnik avatar sojusnik commented on June 6, 2024 1

Can't wait for the linux version!

from deluge-streaming.

JohnDoee avatar JohnDoee commented on June 6, 2024

What OS ?

from deluge-streaming.

cirelli94 avatar cirelli94 commented on June 6, 2024

Ubuntu 16.10
http://i.imgur.com/1jxELhn.png This is wonderful if I run deluge-web, but have an option to run VLC would be great!

from deluge-streaming.

nwgat avatar nwgat commented on June 6, 2024

implement something like
Right Click > Play in $player
player="mpv.exe $url"

also auto copy to clipboard? option

from deluge-streaming.

joaoeudes7 avatar joaoeudes7 commented on June 6, 2024

please '-'

from deluge-streaming.

avncharlie avatar avncharlie commented on June 6, 2024

Is it possible for this to be implemented on Mac?

from deluge-streaming.

JohnDoee avatar JohnDoee commented on June 6, 2024

@avncharlie In theory it is, the problem is that I don't have access to a Mac to develop it on. A quick Google search does not reveal any easy way for me to build and package it without one.

If you have any knowledge regarding OSX development without a Mac, feel free to share it.

The Linux version just needs a bit of UI and packaging, so OSX will be the only one left in the cold 🙂

from deluge-streaming.

avncharlie avatar avncharlie commented on June 6, 2024

I don't have any experience like that sorry. But if you wanted me to try or run anything on my Mac, I'd be more than happy too. Thanks for your work on this plugin.

from deluge-streaming.

HaleTom avatar HaleTom commented on June 6, 2024

Is there any equivalent of StreamProtocol for Linux?

from deluge-streaming.

LeoUfimtsev avatar LeoUfimtsev commented on June 6, 2024

I'd be happy to test things on linux. Would like to have this feature. I can compile stuff.

from deluge-streaming.

alvitawa avatar alvitawa commented on June 6, 2024

I figured out how to directly open the streams on vlc on linux (takes a little bit of work):

Make file vlc_open_stream.py and put it in ~/bin/ with the following content:

#!/usr/bin/env python3

# Called by ~/.local/share/applications/stream_scheme_handler.desktop
# which is added to mimeapps.list with `xdg-mime default stream_scheme_handler.desktop x-scheme-handler/stream+http`

import sys
import os

arg = sys.argv[1]

url = arg.split(':', 1)[1]

os.system('vlc http:' + url)

Make file stream_scheme_handler.desktop and put it in ~/.local/share/applications with content:

[Desktop Entry]
Type=Application
Name=Stream Scheme Handler
Exec=~/bin/vlc_open_stream.py %u
StartupNotify=false
MimeType=x-scheme-handler/stream+http;

Run command:

xdg-mime default stream_scheme_handler.desktop x-scheme-handler/stream+http

Now it should work. This configures xdg-open to understand stream+http:%url.
You can put the python script somewhere other than ~/bin if you want, just make sure to alter the path in the desktop file as well.

Edit: Make sure to enable use stream protocol urls and Auto-open stream protocol url in plugin settings.

from deluge-streaming.

Related Issues (20)

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.