Comments (6)
I don't undertant exactly what you want to do.
Do you want to use ivy-youtube
to find a video, but instead open the url on browser you pass it to youtube-dl
?
Can you give me more details?
from ivy-youtube.
Do you want to use ivy-youtube to find a video, but instead open the url on browser you pass it to youtube-dl?
Exactly. And by talking about youtube-dl, I was talking about tools which directly play the video in my media player (currently mpv). Tools like mpsyt, livestreamer (mpv support this too, with the syntax "mpv https://www.youtube.com/watch?v=vid").
It would be amazing.
Thanks you for the extension.
from ivy-youtube.
@troublew it's a good idea! I'll try to do it. If you have more ideas feel free to share.
from ivy-youtube.
@troublew I opened a PR here that (I think) implements what you need. If you want to test you can download the code or read the new readme in https://github.com/squiter/ivy-youtube/tree/support-process
from ivy-youtube.
Works perfecty for me, with mpv.
I did a little modification, to make it accepts argument:
:command `(,@ivy-youtube-play-at ,video-url)))
(setq ivy-youtube-play-at '("/usr/bin/mpv" "--no-video" "--volume=60"))
It's ugly though, and situational ("--no-video" argument for music).
Anyway, thanks for the feature. It's very handy.
from ivy-youtube.
When I was thinking about the feature, my first idea was to create a variable that stores a lambda to make it more flexible... maybe I implement that in the future.
Anyway thanks for the idea.
from ivy-youtube.
Related Issues (11)
- Add queue or playlist management HOT 6
- Cannot display unicode (vietnamese) HOT 1
- The last (first) result is always nil HOT 3
- Supoort YouTube Data API v3.
- It does not work on emacs 27.1 HOT 1
- Doesn't seem to be working with Youtube API 3 HOT 9
- Large output buffer causes mpv to freeze for sometime HOT 1
- test. HOT 2
- Fix REQUEST [error] Error (error) while connecting to https://www.googleapis.com/youtube/v3/search HOT 7
- Add ivy-youtube-search-history HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ivy-youtube.