toniebox-reverse-engineering / teddycloud_web

A better web interface for TeddyCloud
https://github.com/toniebox-reverse-engineering/teddycloud/
16 stars 9 forks source link

Disable Auto sorting for Audio Encoder #88

Closed j1gg3 closed 2 months ago

j1gg3 commented 2 months ago

Hi, I am currently uploading tons of audio books. So far the encoder works pretty good but I recognized when having more than 10+ files the Encoder website is trying to sort on it's own. Can this behaviour be turned off? Else I would highly appreciate how to rename my files to get this sorted.

image

henryk86 commented 2 months ago

Hi, this issue would better fit in the teddycloud_web repo, maybe @SciLor can move it?

Regards the issue itself. I never experienced that problem, but I will have a look. I changed one element recently, maybe that’s the problem

j1gg3 commented 2 months ago

sorry, my bad!

Oh well, I figured out, if I move over via drag & drop, the issue occurs and while opening the menu to select all files out the file explorer I am not having any issues .

henryk86 commented 2 months ago

Okay. That’s my change that I added the drag and drop. Will have a look and fix it.

SciLor commented 2 months ago

I don't think you can fix that. It is the order the OS presents the files. A possible solution would be to allow manual sorting of the file list and also by adding a sort by name option.

henryk86 commented 2 months ago

You can resort the list actually (if this still works… need to check)

henryk86 commented 2 months ago

there is no autosort as far as i see after a recheck.

the Drag and drop seems to have this behaviour:

the file are sorted as in the Filebrowser. If you drag from the first element, the the first element is the first in the encoder page. if you drag from the 7th element, the 7ths element is the first, then its sorted till the last one and then the first till 6th file.

So the "grab" start position might cause your experience.

Resorting is still working.

I will later check, if i can add a sort by name button

henryk86 commented 2 months ago

added button sort files alphabetically and also add possibility to create new directories within directory selection:

image

henryk86 commented 2 months ago

i can confirm now: there is no autosorting. The sort order is equal to the order in the filebrowser.

Only when using the drag and drop functionality, the drag start position marks the first element in the teddycloud list, but again, the order stays the same (besides that the elements above the drag start position are shown at the end of the list.)

it seems not possible to solve this issue within teddycloud.