Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#play all mp3s in current directory (without video display) mpv --no-vid --input-ipc-server=/tmp/mpvsocket *.mp3 #now mpv commands can be sent to /tmp/mpvsocket with socat echo cycle pause | socat - /tmp/mpvsocket echo playlist_prev | socat - /tmp/mpvsocket echo playlist_next | socat - /tmp/mpvsocket #Jump forward of back 5 seconds echo seek 5| socat - /tmp/mpvsocket echo seek -5| socat - /tmp/mpvsocket #You can also send key presses #Example for Volume Control echo '{ "command": [ "keypress", "0" ] }' | socat - /tmp/mpvsocket echo '{ "command": [ "keypress", "9" ] }' | socat - /tmp/mpvsocket #if you have youtube-dl install you can stream playlists mpv --no-vid --input-ipc-server=/tmp/mpvsocket "https://www.youtube.com/playlist?list=PLG1znKjmrCrZfQAWkBjQsFw-gLuHzTNa4" #note, kill previous mpv before starting a new process.
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)