mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
v1.0.0
This commit is contained in:
parent
b54cb47b2e
commit
012bbcf770
|
@ -616,7 +616,7 @@ but instead of using `-mte`, `-mth` is a better way to hide tags in the browser:
|
||||||
|
|
||||||
tags that start with a `.` such as `.bpm` and `.dur`(ation) indicate numeric value
|
tags that start with a `.` such as `.bpm` and `.dur`(ation) indicate numeric value
|
||||||
|
|
||||||
see the beautiful mess of a dictionary in [mtag.py](https://github.com/9001/copyparty/blob/master/copyparty/mtag.py) for the default mappings (should cover mp3,opus,flac,m4a,wav,aif,)
|
see the beautiful mess of a dictionary in [mtag.py](https://github.com/9001/copyparty/blob/hovudstraum/copyparty/mtag.py) for the default mappings (should cover mp3,opus,flac,m4a,wav,aif,)
|
||||||
|
|
||||||
`--no-mutagen` disables Mutagen and uses FFprobe instead, which...
|
`--no-mutagen` disables Mutagen and uses FFprobe instead, which...
|
||||||
* is about 20x slower than Mutagen
|
* is about 20x slower than Mutagen
|
||||||
|
|
|
@ -22,7 +22,7 @@ dependencies:
|
||||||
|
|
||||||
note:
|
note:
|
||||||
you probably want to run this on windows clients:
|
you probably want to run this on windows clients:
|
||||||
https://github.com/9001/copyparty/blob/master/contrib/explorer-nothumbs-nofoldertypes.reg
|
https://github.com/9001/copyparty/blob/hovudstraum/contrib/explorer-nothumbs-nofoldertypes.reg
|
||||||
|
|
||||||
get server cert:
|
get server cert:
|
||||||
awk '/-BEGIN CERTIFICATE-/ {a=1} a; /-END CERTIFICATE-/{exit}' <(openssl s_client -connect 127.0.0.1:3923 </dev/null 2>/dev/null) >cert.pem
|
awk '/-BEGIN CERTIFICATE-/ {a=1} a; /-END CERTIFICATE-/{exit}' <(openssl s_client -connect 127.0.0.1:3923 </dev/null 2>/dev/null) >cert.pem
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (0, 13, 14)
|
VERSION = (1, 0, 0)
|
||||||
CODENAME = "future-proof"
|
CODENAME = "sufficient"
|
||||||
BUILD_DT = (2021, 9, 6)
|
BUILD_DT = (2021, 9, 7)
|
||||||
|
|
||||||
S_VERSION = ".".join(map(str, VERSION))
|
S_VERSION = ".".join(map(str, VERSION))
|
||||||
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
||||||
|
|
|
@ -67,6 +67,7 @@ pybin=$(command -v python3 || command -v python) || {
|
||||||
use_gz=
|
use_gz=
|
||||||
do_sh=1
|
do_sh=1
|
||||||
do_py=1
|
do_py=1
|
||||||
|
zopf=2560
|
||||||
while [ ! -z "$1" ]; do
|
while [ ! -z "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
clean) clean=1 ; ;;
|
clean) clean=1 ; ;;
|
||||||
|
@ -78,6 +79,7 @@ while [ ! -z "$1" ]; do
|
||||||
no-cm) no_cm=1 ; ;;
|
no-cm) no_cm=1 ; ;;
|
||||||
no-sh) do_sh= ; ;;
|
no-sh) do_sh= ; ;;
|
||||||
no-py) do_py= ; ;;
|
no-py) do_py= ; ;;
|
||||||
|
fast) zopf=100 ; ;;
|
||||||
*) help ; ;;
|
*) help ; ;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
|
@ -136,7 +138,7 @@ tmpdir="$(
|
||||||
# msys2 tar is bad, make the best of it
|
# msys2 tar is bad, make the best of it
|
||||||
echo collecting source
|
echo collecting source
|
||||||
[ $clean ] && {
|
[ $clean ] && {
|
||||||
(cd .. && git archive master >tar) && tar -xf ../tar copyparty
|
(cd .. && git archive hovudstraum >tar) && tar -xf ../tar copyparty
|
||||||
(cd .. && tar -cf tar copyparty/web/deps) && tar -xf ../tar
|
(cd .. && tar -cf tar copyparty/web/deps) && tar -xf ../tar
|
||||||
}
|
}
|
||||||
[ $clean ] || {
|
[ $clean ] || {
|
||||||
|
@ -271,7 +273,7 @@ done
|
||||||
|
|
||||||
gzres() {
|
gzres() {
|
||||||
command -v pigz &&
|
command -v pigz &&
|
||||||
pk='pigz -11 -I 2560' ||
|
pk="pigz -11 -I $zopf" ||
|
||||||
pk='gzip'
|
pk='gzip'
|
||||||
|
|
||||||
np=$(nproc)
|
np=$(nproc)
|
||||||
|
|
|
@ -61,7 +61,7 @@ rls_dir="$tmp/copyparty-$ver"
|
||||||
mkdir "$rls_dir"
|
mkdir "$rls_dir"
|
||||||
|
|
||||||
echo ">>> export from git"
|
echo ">>> export from git"
|
||||||
git archive master | tar -xC "$rls_dir"
|
git archive hovudstraum | tar -xC "$rls_dir"
|
||||||
|
|
||||||
echo ">>> export untracked deps"
|
echo ">>> export untracked deps"
|
||||||
tar -c copyparty/web/deps | tar -xC "$rls_dir"
|
tar -c copyparty/web/deps | tar -xC "$rls_dir"
|
||||||
|
@ -122,5 +122,5 @@ echo " $zip_path"
|
||||||
echo " $tgz_path"
|
echo " $tgz_path"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# function alr() { ls -alR copyparty-$1 | sed -r "s/copyparty-$1/copyparty/" | sed -r 's/[A-Z][a-z]{2} [0-9 ]{2} [0-9]{2}:[0-9]{2}//' > $1; }; for x in master rls src ; do alr $x; done
|
# function alr() { ls -alR copyparty-$1 | sed -r "s/copyparty-$1/copyparty/" | sed -r 's/[A-Z][a-z]{2} [0-9 ]{2} [0-9]{2}:[0-9]{2}//' > $1; }; for x in hovudstraum rls src ; do alr $x; done
|
||||||
|
|
||||||
|
|
5
setup.py
5
setup.py
|
@ -61,7 +61,7 @@ class clean2(Command):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
nuke = []
|
nuke = []
|
||||||
for (dirpath, dirnames, filenames) in os.walk("."):
|
for (dirpath, _, filenames) in os.walk("."):
|
||||||
for fn in filenames:
|
for fn in filenames:
|
||||||
if (
|
if (
|
||||||
fn.startswith("MANIFEST")
|
fn.startswith("MANIFEST")
|
||||||
|
@ -86,7 +86,7 @@ args = {
|
||||||
"url": "https://github.com/9001/copyparty",
|
"url": "https://github.com/9001/copyparty",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"classifiers": [
|
"classifiers": [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 5 - Production/Stable",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
"Programming Language :: Python :: 2",
|
"Programming Language :: Python :: 2",
|
||||||
|
@ -101,6 +101,7 @@ args = {
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
"Programming Language :: Python :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
|
"Programming Language :: Python :: Implementation :: Jython",
|
||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
"Programming Language :: Python :: Implementation :: PyPy",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Environment :: No Input/Output (Daemon)",
|
"Environment :: No Input/Output (Daemon)",
|
||||||
|
|
Loading…
Reference in a new issue