
hpr3133 :: Quick tip - Using MPV with Youtube links - Kostenloses Hörbuch
Autor(en):
Sprache: English
Genre(s):
1 / 1hpr3133
- 1. hpr3133
Über
Summary: I give a quick tip on shortcut keys for watching Youtube or other video sites in MPV
Source: [http://hackerpublicradio.org/eps.php?id=3133](http://hackerpublicradio.org/eps.php?id=3133)
Original audio: [http://archive.org/download/hpr3133/hpr3133\_source.flac](http://archive.org/download/hpr3133/hpr3133\_source.flac)
Idea:
Quickly copy a Youtube or other video site, and open in the MPV media player.
Plugins:
Vim Vixen for Firefox
[https://addons.mozilla.org/en-US/firefox/addon/vim-vixen](https://addons.mozilla.org/en-US/firefox/addon/vim-vixen)
Surfingkeys for Chrome/Chromium browser
[https://chrome.google.com/webstore/detail/surfingkeys/gfbliohnnapiefjpjlpjnehglfpaknnc?hl=en-US](https://chrome.google.com/webstore/detail/surfingkeys/gfbliohnnapiefjpjlpjnehglfpaknnc?hl=en-US)
Script:
#!/bin/bash## mpvurlurl=xsel -o -becho $urlmpv $url
Rename /usr/bin/vlc to /usr/bin/vlc.old
Copy script to /usr/bin/vlc and chmod +x /usr/bin/vlc
How to use:
Vim Vixen copy is 'y' Surfingkeys copy is 'yy'
Shortcut to open copied video url is Shift-Mod-p, with Mod being the windows key
Tested with Gnome3, Xfce and i3
In i3, press Mod+v then Mod+s.
Any video played this way will be stacked under Firefox/Chromium for the rest of your session.
Config:
In ~/.config/i3/config
#Paste url into mpv playerbindsym $mod+Shift+p exec vlc
Example screenshots:
Example of stacked Firefox/MPV layout
png)
For Gnome3 the setting can be reached with Mod (Windows key) and Shortcuts
png)
And the Default Applications need to be changed
png)
The setting for Shortcuts in Xfce looks like this
png)
Kommentare
Seien Sie der Erste, der kommentiert
Es gibt noch keine Kommentare zu diesem Inhalt. Beginnen Sie die Diskussion!
Tags: hpr3133 :: Quick tip - Using MPV with Youtube links audio, hpr3133 :: Quick tip - Using MPV with Youtube links - Archer72 audio, free audiobook, free audio book, audioaz