Currently "mpsyt" allows to copy item url using pyperclip, which does not work on Android.
However from Termux there is a way to set/get the content of the clipboard using the following commands:
termux-clipboard-get termux-clipboard-set
Suggestion:
It would be nice to add a settings like clipboard_command which could be set to a program which should be run in order to set the clipboard. For example (termux):
set clipboard_command termux-clipboard-set
My Environment
OS: Android 6.0.1, CyanogenMod 13.0.2
mpsyt version : 0.2.7.1
notes : released 6 July 2016
pafy version : 0.5.3.1 (youtube-dl backend)
youtube-dl version : 2018.01.14
Python version : 3.6.4 (default, Jan 7 2018, 03:53:53)
[GCC 4.2.1 Compatible Android Clang 5.0.300080 ]
Processor :
Machine type : armv7l
Architecture : 32bit,
Platform : Linux-3.4.0-cyanogenmod-g68aff08-armv7l-with-libc
sys.stdout.enc : UTF-8
default enc : utf-8
Config dir : /data/data/com.termux/files/home/.config/mps-youtube
env:TERM : xterm-256color
env:LANG : en_US.UTF-8
Currently "mpsyt" allows to copy item url using pyperclip, which does not work on Android.
However from Termux there is a way to set/get the content of the clipboard using the following commands:
termux-clipboard-get termux-clipboard-set
Suggestion:
It would be nice to add a settings like
clipboard_command
which could be set to a program which should be run in order to set the clipboard. For example (termux):set clipboard_command termux-clipboard-set
My Environment
OS: Android 6.0.1, CyanogenMod 13.0.2 mpsyt version : 0.2.7.1 notes : released 6 July 2016 pafy version : 0.5.3.1 (youtube-dl backend) youtube-dl version : 2018.01.14 Python version : 3.6.4 (default, Jan 7 2018, 03:53:53) [GCC 4.2.1 Compatible Android Clang 5.0.300080 ] Processor : Machine type : armv7l Architecture : 32bit, Platform : Linux-3.4.0-cyanogenmod-g68aff08-armv7l-with-libc sys.stdout.enc : UTF-8 default enc : utf-8 Config dir : /data/data/com.termux/files/home/.config/mps-youtube env:TERM : xterm-256color env:LANG : en_US.UTF-8