pldubouilh / gossa

🎶 a fast and simple multimedia fileserver
MIT License
883 stars 72 forks source link

File sorting is case-sensitive #29

Closed sbrl closed 4 years ago

sbrl commented 5 years ago

Consider the following filenames:

cover.png
Some Track.mp3

The order shown above is what you'd expect, but this is how gossa would order it:

Some Track.mp3
cover.png

Looks to me like it's not being case-sensitive when sorting.

Just to be awkward, these are also valid filenames:

Í'm being awkward.txt
ỳay.c
€5.md
©®eam on the cake.js

I'm also writing a review / tutorial blog post about Gossa, as I'm really impressed with it's ease of use - thanks for awesome software!

pldubouilh commented 4 years ago

thanks :)

yep, it's because of the sorting on ReadDir's side : it's line 106 - ll have a look!

sbrl commented 4 years ago

Awesome, thanks :D

I've also packaged it into my apt repository (as gossa), if you're interested. The packaging process is automatic, but currently I'm manually triggering it whenever there's a new release - though I'm hoping to change this.

CrashLaker commented 4 years ago

Hi. Is it possible to add sort by other options like modified date?

thanks!

sbrl commented 4 years ago

@CrashLaker: That sounds like a separate issue. To keep things tidy, I recommend opening a new issue with a description of the feature you're thinking of.

pldubouilh commented 4 years ago

@sbrl coming in #37 - cheers for the deb btw :) I'll probably make a ppa when time allows

@CrashLaker will think about it - I'll open a separate issue

sbrl commented 4 years ago

No problem, @pldubouilh :smiley_cat:

If I haven't triggered the update to my repo in 24 hours (it goes through at 2am GMT every night), email me and I'll get it sorted.