File/Folder name sort order is different from ls command
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
File/Folder name sort order is different from ls command
I notice that the file/folder name sort order is different from ls command on Web Interface or PS4 as following.
Output of ls command
Display on Web Interface or PS4
Sorry it;s Japanese but we can specify the difference easily.
Question is why program doesn't use system command, use own sort method instead?
Can't we use ls command to sort them?
Or can we change the order?
Output of ls command
Code: Select all
?????????
??????????
???????????
????????
?????????
?????
??????
??????
???????! ????????????
??????? ???
?????
???????????
????????!
?????????????…
??
???????
?????????
?????
?????
??????A.I. knows LOVE??
????????
?????
?????????????????????
?????????????
???????
??????
????
????????????
????
?????????
??
????
??????
??????
?????
????
????
?????????
???????
?????
?????????
??????????????!
???? ?????
??????
??
????
?????
??????????
?????
???????
?????
?????
??????
?????????!
??????
?????????
?????
??????
?????
?????
????
???????!
??? ???
????????
Code: Select all
??????
??????
???????! ????????????
?????????
??????????
???????????
??????? ???
?????
???????????
????????
?????????
?????
?????????????????????
?????????????
???????
??????
?????
?????
?????????
??????????????!
?????????
????
???????
?????
?????
?????
?????
??????
?????????!
??????
?????
?????
??????
??????????
?????
???????
?????????
????????!
?????????????…
??
???????
?????????
?????
?????
??????A.I. knows LOVE??
?????
????????
??????
????
????????????
????
?????????
??
????
??????
????
???? ?????
??????
??
????
????
???????!
????????
??? ???
Question is why program doesn't use system command, use own sort method instead?
Can't we use ls command to sort them?
Or can we change the order?
Re: File/Folder name sort order is different from ls command
ls isn't used by UMS at all, the list is built dynamicly and then sorted. I can't read Japanese so I can't see what is wrong with the sorting, but is the UMS sorting completely wrong or is it just some elements that's out of place?
Re: File/Folder name sort order is different from ls command
I assumed so.
This is only for Japanese from now on.
Current sorting scheme was standardized at before MS-DOS age and is not convenient.
UMS also uses this standard as same as current "windows" not linux.
It's not sorted by pronunciation order though.
Hence I modified that order and am using personally on my PCs that's why I notice that UMS does not use ls command.
That old standard is OK, we can find the target at least and better than unicode sort. But my modified scheme is much better than that.
Do you allow me to volunteer the Japanese character sort order in UMS if it can be modified?
This is only for Japanese from now on.
Current sorting scheme was standardized at before MS-DOS age and is not convenient.
UMS also uses this standard as same as current "windows" not linux.
It's not sorted by pronunciation order though.
Hence I modified that order and am using personally on my PCs that's why I notice that UMS does not use ls command.
That old standard is OK, we can find the target at least and better than unicode sort. But my modified scheme is much better than that.
Do you allow me to volunteer the Japanese character sort order in UMS if it can be modified?
Re: File/Folder name sort order is different from ls command
@Hyde, you can create a pull request https://github.com/UniversalMediaServer ... ediaServer .