https://github.com/puutaro/cmdyoutuber
Youtube background player by termux in CommandClick
https://github.com/puutaro/cmdyoutuber
android cmdclick commandclick fannel javascript mpv shellscript termux
Last synced: about 1 year ago
JSON representation
Youtube background player by termux in CommandClick
- Host: GitHub
- URL: https://github.com/puutaro/cmdyoutuber
- Owner: puutaro
- License: mit
- Archived: true
- Created: 2023-12-04T14:47:36.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-07T10:05:54.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T23:27:08.353Z (about 1 year ago)
- Topics: android, cmdclick, commandclick, fannel, javascript, mpv, shellscript, termux
- Language: Shell
- Homepage: https://github.com/puutaro/CommandClick
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cmdYoutuber.js
----------------
Youtube background player (**termux**) @puutaro
Table of Contents
-------
* [Support long press menu table](#support-long-press-menu-table)
* [Installation](#installation)
* [Toolbar buttons](#toolbar-buttons)
* [Play Button](#play-button)
* [Edit Site Usage](#edit-site-usage)
* [Cmd Variables](#cmd-variables)
* [Install](#install)
* [searchWord](#searchword)
* [playMode](#playmode)
* [tubePlayListName](#tubeplaylistname)
* [playLogName](#playlogname)
* [STOP](#stop)
* [numberPlay](#numberplay)
* [minMinutes](#minminutes)
* [maxMinutes](#maxminutes)
* [playLogOut](#playlogout)
* [EDIT_TUBE_PLAY_LIST](#edit_tube_play_list)
* [Acknowledge](#acknowledge)
* [Setting variables](#setting-variables)
* [onUrlHistoryRegister](#onurlhistoryregister)
* [terminalFontZoom](#terminalfontzoom)
* [terminalFontColor](#terminalfontcolor)
* [terminalColor](#terminalcolor)
## Support long press menu table
-------
| type | enable |
| ----- | ----- |
| src anchor | o |
| src image anchor | o |
| image | x |
## Installation
---------------------
1. Install [ComamndClick](https://github.com/puutaro/CommandClick) to your android by [this link](https://github.com/puutaro/CommandClick#app-installation)
2. Set up termux by [this link](https://github.com/puutaro/CommandClick/blob/master/USAGE.md#termux-setting)
3. Install this fannel by [install repo](https://github.com/puutaro/CommandClick/blob/master/USAGE.md#install-fannel) or QR code
4. Press [Install button](#install)
## Toolbar buttons
---------------------
### Play Button
Launch youtube play list edit site
- long press -> web search
#### Edit Site Usage
- Recent visit youtube url show in "Save title"
- Change item order by drag and drop
- Delete item by dragging to another area(no item area).
## Cmd Variables
--------
### Install
Install & upgrade require package
### searchWord
Web Youtube Search Word
### playMode
Select shuffle or ordinaly and press
1. Press "Exec"
2. (Execute play list)
### tubePlayListName
Input or select play list file name
- Prefix must be "tube"
ex) "tubePlayList"
### playLogName
Input or select play list file name
- Prefix must be "tube"
ex) "tubePlayList"
If volume control enable when CommandClick hide
### STOP
Play stop
### numberPlay
Input or inc/dec number
- Press "Exec" and play number
### onSearchMode
Web search switch
| switch | description |
| ----------- | ----------- |
| `OFF` | no web search |
| `SHORT` | sort by shortest |
| `RECENT` | sort by latest |
### minMinutes
Filter movie by minimum play minutes
### maxMinutes
Filter movie by maximum play minutes
### playLogOut
Output play log
### EDIT_TUBE_PLAY_LIST
Edit tube play list name by `renameTubePlayListName`
`renameTubePlayListName`
| value | description |
| ----------- | ----------- |
| blank | Delete tube url list name |
| other | Rename tube url list name (auto comp prefix `tube`) |
## Acknowledge
----------
This Fannel is used to bellow repo as core library.
[ytfzf](https://github.com/pystardust/ytfzf)
## Setting variables
---------
### onUrlHistoryRegister
Url history update signal
| switch | description |
| ----------- | ----------- |
| `ON` | update |
| `OFF` | no update |
### terminalFontZoom
Adjust terminal font size (percentage)
### terminalFontColor
Adjust terminal font color
### terminalColor
Adjust terminal background color