This commit is contained in:
ed 2021-03-21 09:41:05 +01:00
parent 40c1b19235
commit f3eae67d97
3 changed files with 44 additions and 0 deletions

View file

@ -13,6 +13,29 @@ turn your phone or raspi into a portable file server with resumable uploads/down
* code standard: `black` * 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 ## quickstart
download [copyparty-sfx.py](https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py) and you're all set! 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 * 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 # 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: 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:

View file

@ -614,6 +614,10 @@ function autoplay_blocked() {
function tree_neigh(n) { function tree_neigh(n) {
var links = document.querySelectorAll('#treeul li>a+a'); var links = document.querySelectorAll('#treeul li>a+a');
if (!links.length) {
alert('switch to the tree for that');
return;
}
var act = -1; var act = -1;
for (var a = 0, aa = links.length; a < aa; a++) { for (var a = 0, aa = links.length; a < aa; a++) {
if (links[a].getAttribute('class') == 'hl') { if (links[a].getAttribute('class') == 'hl') {
@ -633,6 +637,10 @@ function tree_neigh(n) {
function tree_up() { function tree_up() {
var act = document.querySelector('#treeul a.hl'); var act = document.querySelector('#treeul a.hl');
if (!act) {
alert('switch to the tree for that');
return;
}
if (act.previousSibling.textContent == '-') if (act.previousSibling.textContent == '-')
return act.previousSibling.click(); return act.previousSibling.click();

View file

@ -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 brew install python@2
pip install virtualenv 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 ## http 206