added pornhub support

This commit is contained in:
deckensteuerung 2018-08-24 20:34:43 +02:00
parent 3bff58d654
commit 3247d97b0d
2 changed files with 5 additions and 2 deletions

2
apps/play_pornhub.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
youtube-dl --no-progress --output - https://www.pornhub.com/view_video.php?viewkey=${3} -f best | ffmpeg -re -i - -pix_fmt rgb24 -vf "transpose=1,scale=${1}x${2}" -sws_flags bicubic -sws_dither bayer -vcodec rawvideo -f image2pipe -

View File

@ -19,5 +19,6 @@ GuiScaleFactor = 10
Apps = [
{"name": "pixelflut", "cmd": "apps/idle.py", "permanent": True},
{"name": "framebuffer", "cmd": ["apps/fbcp", "/dev/fb0"]},
{"name": "play_youtube", "cmd": "apps/play_youtube.sh"}
]
{"name": "play_youtube", "cmd": "apps/play_youtube.sh"},
{"name": "play_pornhub", "cmd": "apps/play_pornhub.sh"}
]