mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
more readme stuff
This commit is contained in:
parent
c5c7080ec6
commit
580078bddb
|
@ -30,3 +30,22 @@ point `--css-browser` to one of these by URL:
|
|||
|
||||
## [`example.conf`](example.conf)
|
||||
* example config file for `-c` (supports accounts, volumes, and volume-flags)
|
||||
|
||||
|
||||
|
||||
# junk
|
||||
|
||||
alphabetical list of the remaining files
|
||||
|
||||
| what | why |
|
||||
| -- | -- |
|
||||
| biquad.html | bruteforce calibrator for the audio equalizer since im not that good at maths |
|
||||
| design.txt | initial brainstorming of the copyparty design, unmaintained, incorrect, sentimental value only |
|
||||
| hls.html | experimenting with hls playback using `hls.js`, works p well, almost became a thing |
|
||||
| music-analysis.sh | testing various bpm/key detection libraries before settling on the ones used in [`/bin/mtag/`](/bin/mtag/) |
|
||||
| notes.sh | notepad, just scraps really |
|
||||
| nuitka.txt | how to build a copyparty exe using nuitka (not maintained) |
|
||||
| pretend-youre-qnap.patch | simulate a NAS which keeps returning old cached data even though you just modified the file yourself |
|
||||
| tcp-debug.sh | looks like this was to debug stuck tcp connections? |
|
||||
| unirange.py | uhh |
|
||||
| up2k.txt | initial ideas for how up2k should work, another unmaintained sentimental-value-only thing |
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
|
||||
method = self.s.recv(4)
|
||||
self.s.unrecv(method)
|
||||
print("xxx unrecv'd [{}]".format(method))
|
||||
|
||||
# jython used to do this, they stopped since it's broken
|
||||
# but reimplementing sendall is out of scope for now
|
||||
if not getattr(self.s.s, "sendall", None):
|
||||
self.s.s.sendall = self.s.s.send
|
||||
|
||||
# TODO this is also pretty bad
|
||||
have = dir(self.s)
|
||||
for k in self.s.s.__dict__:
|
||||
if k not in have and not k.startswith("__"):
|
||||
if k == "recv":
|
||||
raise Exception("wait what")
|
||||
|
||||
self.s.__dict__[k] = self.s.s.__dict__[k]
|
||||
|
||||
have = dir(self.s)
|
||||
for k in dir(self.s.s):
|
||||
if k not in have and not k.startswith("__"):
|
||||
if k == "recv":
|
||||
raise Exception("wait what")
|
||||
|
||||
setattr(self.s, k, getattr(self.s.s, k))
|
Loading…
Reference in a new issue