Skip to content

Commit

Permalink
rm dead code (gridview conditional dl/play)
Browse files Browse the repository at this point in the history
and maybe fix negative eta when a chunk gets eaten by the network
  • Loading branch information
9001 committed Aug 9, 2024
1 parent 0da719f commit 20669c7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,6 @@ images with the following names (see `--th-covers`) become the thumbnail of the
* the order is significant, so if both `cover.png` and `folder.jpg` exist in a folder, it will pick the first matching `--th-covers` entry (`folder.jpg`)
* and, if you enable [file indexing](#file-indexing), it will also try those names as dotfiles (`.folder.jpg` and so), and then fallback on the first picture in the folder (if it has any pictures at all)
in the grid/thumbnail view, if the audio player panel is open, songs will start playing when clicked
* indicated by the audio files having the ▶ icon instead of 💾
enabling `multiselect` lets you click files to select them, and then shift-click another file for range-select
* `multiselect` is mostly intended for phones/tablets, but the `sel` option in the `[⚙️] settings` tab is better suited for desktop use, allowing selection by CTRL-clicking and range-selection with SHIFT-click, all without affecting regular clicking
* the `sel` option can be made default globally with `--gsel` or per-volume with volflag `gsel`
Expand Down
3 changes: 0 additions & 3 deletions copyparty/web/browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -1017,9 +1017,6 @@ html.y #path a:hover {
color: var(--g-dfg);
}
#ggrid>a.au:before {
content: '💾';
}
html.np_open #ggrid>a.au:before {
content: '▶';
}
#ggrid>a:before {
Expand Down
1 change: 1 addition & 0 deletions copyparty/web/up2k.js
Original file line number Diff line number Diff line change
Expand Up @@ -2654,6 +2654,7 @@ function up2k_init(subtle) {
return;

st.bytes.inflight -= (xhr.bsent || 0);
xhr.bsent = 0;

if (!toast.visible)
toast.warn(9.98, L.u_cuerr.format(snpart, Math.ceil(t.size / chunksize), t.name), t);
Expand Down

0 comments on commit 20669c7

Please sign in to comment.