mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
readme
This commit is contained in:
parent
40c1b19235
commit
f3eae67d97
33
README.md
33
README.md
|
@ -13,6 +13,29 @@ turn your phone or raspi into a portable file server with resumable uploads/down
|
|||
* code standard: `black`
|
||||
|
||||
|
||||
## readme toc
|
||||
|
||||
* top
|
||||
* [quickstart](#quickstart)
|
||||
* [notes](#notes)
|
||||
* [status](#status)
|
||||
* [bugs](#bugs)
|
||||
* [usage](#usage)
|
||||
* [searching](#searching)
|
||||
* [search configuration](#search-configuration)
|
||||
* [metadata from audio files](#metadata-from-audio-files)
|
||||
* [file parser plugins](#file-parser-plugins)
|
||||
* [client examples](#client-examples)
|
||||
* [dependencies](#dependencies)
|
||||
* [optional gpl stuff](#optional-gpl-stuff)
|
||||
* [sfx](#sfx)
|
||||
* [sfx repack](#sfx-repack)
|
||||
* [install on android](#install-on-android)
|
||||
* [dev env setup](#dev-env-setup)
|
||||
* [how to release](#how-to-release)
|
||||
* [todo](#todo)
|
||||
|
||||
|
||||
## quickstart
|
||||
|
||||
download [copyparty-sfx.py](https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py) and you're all set!
|
||||
|
@ -74,6 +97,16 @@ summary: it works! you can use it! (but technically not even close to beta)
|
|||
* probably more, pls let me know
|
||||
|
||||
|
||||
# usage
|
||||
|
||||
the browser has the following hotkeys
|
||||
* `0..9` jump to 10%..90%
|
||||
* `U/O` skip 10sec back/forward
|
||||
* `J/L` prev/next song
|
||||
* `I/K` prev/next folder
|
||||
* `P` parent folder
|
||||
|
||||
|
||||
# searching
|
||||
|
||||
when started with `-e2dsa` copyparty will scan/index all your files. This avoids duplicates on upload, and also makes the volumes searchable through the web-ui:
|
||||
|
|
|
@ -614,6 +614,10 @@ function autoplay_blocked() {
|
|||
|
||||
function tree_neigh(n) {
|
||||
var links = document.querySelectorAll('#treeul li>a+a');
|
||||
if (!links.length) {
|
||||
alert('switch to the tree for that');
|
||||
return;
|
||||
}
|
||||
var act = -1;
|
||||
for (var a = 0, aa = links.length; a < aa; a++) {
|
||||
if (links[a].getAttribute('class') == 'hl') {
|
||||
|
@ -633,6 +637,10 @@ function tree_neigh(n) {
|
|||
|
||||
function tree_up() {
|
||||
var act = document.querySelector('#treeul a.hl');
|
||||
if (!act) {
|
||||
alert('switch to the tree for that');
|
||||
return;
|
||||
}
|
||||
if (act.previousSibling.textContent == '-')
|
||||
return act.previousSibling.click();
|
||||
|
||||
|
|
|
@ -117,6 +117,9 @@ for d in /usr /var; do find $d -type f -size +30M 2>/dev/null; done | while IFS=
|
|||
brew install python@2
|
||||
pip install virtualenv
|
||||
|
||||
# readme toc
|
||||
cat README.md | awk '!/^#/{next} {lv=length($1);sub(/[^ ]+ /,"");bab=$0;gsub(/ /,"-",bab)} {printf "%" ((lv-1)*4+1) "s [%s](#%s)\n", "*",$0,bab}'
|
||||
|
||||
|
||||
##
|
||||
## http 206
|
||||
|
|
Loading…
Reference in a new issue