ldexterldesign 10 Posted October 16, 2018 Posted October 16, 2018 (edited) Hi, Thanks for software Hope you're well Screen cast: https://drive.google.com/open?id=1e_VIjLv1PyIt9ogXx8sR5MFgCrcjqFi6NB may have to download file because I haven't encoded the video to browser stream The sort by isn't functioning how I would expect (i.e. for a simple name sort it's not even in alphabetic order) - what's the expected behaviour here? If you have any issues (e.g. questions/queries) happy to help Hope this is clear/useful and to hear back Yours faithfully Edited October 16, 2018 by ldexterldesign
Luke 42080 Posted October 16, 2018 Posted October 16, 2018 Hi, check the metadata of your items. have the sort title been customized for any of them? Thanks.
ldexterldesign 10 Posted October 16, 2018 Author Posted October 16, 2018 (edited) Thanks for reply No, meta titles mirror the file names: Hope to hear back Cheers Edited October 16, 2018 by ldexterldesign
Happy2Play 9782 Posted October 16, 2018 Posted October 16, 2018 (edited) Hi, Thanks for software Hope you're well Screen cast: https://drive.google.com/open?id=1e_VIjLv1PyIt9ogXx8sR5MFgCrcjqFi6 NB may have to download file because I haven't encoded the video to browser stream The sort by isn't functioning how I would expect (i.e. for a simple name sort it's not even in alphabetic order) - what's the expected behaviour here? If you have any issues (e.g. questions/queries) happy to help Hope this is clear/useful and to hear back Yours faithfully How are you expecting it to sort? You know "the, a, an" are exempt from title sort order. <SortRemoveWords> <string>the</string> <string>a</string> <string>an</string> </SortRemoveWords> Edited October 16, 2018 by Happy2Play
ebr 16185 Posted October 17, 2018 Posted October 17, 2018 Looking at your screen capture right there, everything appears to be sorted correctly (excluding words like "an" and "the"). 1
ldexterldesign 10 Posted October 17, 2018 Author Posted October 17, 2018 Have you checked all of them? Yes
ldexterldesign 10 Posted October 17, 2018 Author Posted October 17, 2018 How are you expecting it to sort? You know "the, a, an" are exempt from title sort order. <SortRemoveWords> <string>the</string> <string>a</string> <string>an</string> </SortRemoveWords> Thanks for reply Okay, I had overlooked this but it's still sorted incorrectly: Assuming UTF-8, I would expect "-template [task]" to be listed at the top Yours hopefully
ebr 16185 Posted October 17, 2018 Posted October 17, 2018 I think most people would want that to be ignored. You can make that item sort however you wish by editing the sort title though.
ldexterldesign 10 Posted October 17, 2018 Author Posted October 17, 2018 (edited) I think most people would want that to be ignored. You can make that item sort however you wish by editing the sort title though. Sure, there could be some reserved file naming added for ignoring files but sorting and ignoring[g] are mutually exclusive AFAIC Cheers [g] https://github.com/MediaBrowser/Wiki/wiki/Excluding-files-&-folders Edited October 17, 2018 by ldexterldesign
ebr 16185 Posted October 17, 2018 Posted October 17, 2018 Hi. I meant ignore the '-' character and sort based on the actual title.
Luke 42080 Posted October 17, 2018 Posted October 17, 2018 Checking windows explorer for comparison, it sorts the same way we do, with -template not at the top.
Happy2Play 9782 Posted October 17, 2018 Posted October 17, 2018 (edited) Sorry yes the "-" is a default removed character. If you don't like this behavior your would have to shut down your server and edit the system.xml to adjust the SortRemove/Replace options. <SortReplaceCharacters> <string>.</string> <string>+</string> <string>%</string> </SortReplaceCharacters> <SortRemoveCharacters> <string>,</string> <string>&</string> <string>-</string> <string>{</string> <string>}</string> <string>'</string> </SortRemoveCharacters> Edited October 17, 2018 by Happy2Play 1
Luke 42080 Posted October 17, 2018 Posted October 17, 2018 And then you need to refresh media titles after doing that.
ldexterldesign 10 Posted October 17, 2018 Author Posted October 17, 2018 (edited) Okay, thanks for explaining the logic In my use case, "An" forms part of the "An Event Apart" name and should belong under "a" not "e" I understand why this "feature" exists for large libraries, perhaps with a more constrained content type (e.g. movies / tv shows), but personally I don't want/need it for my small library (i.e. home videos & photos). This coupled with the way the app's dropping UFT-8 characters and "the" just feels overzealous. I can and do name things for a reason and it's sad to have this control taken away. If you're dropping terms I think you should do better at explaining what's happening behind the scenes. Ideally give users the option to opt into this feature via settings or failing that some documentation somewhere (e.g. in the UI or docs, along with instructions) Hope this is useful Regards https://emby.media/community/index.php?/topic/64126-fixreview-library-sort-by/&do=findComment&comment=637006 Edited October 17, 2018 by ldexterldesign
ebr 16185 Posted October 17, 2018 Posted October 17, 2018 We are using standard lexicon rules here. I think every librarian in the world would agree with our sorting logic - but, if you don't like it, simply follow the process above to modify it for your installation.
ldexterldesign 10 Posted October 17, 2018 Author Posted October 17, 2018 We are using standard lexicon rules here. I think every librarian in the world would agree with our sorting logic - but, if you don't like it, simply follow the process above to modify it for your installation. > Standard lexicon rules I've come across dropping front-loaded "The" but not dropping front-loaded "An" - what "standard" is this? Yours hopefully
ebr 16185 Posted October 17, 2018 Posted October 17, 2018 Fairly universal, I believe. Where would you expect "A Bridge Too Far" to sort? Typically, people expect under "B". This is generally because, when dealing with titles of things like movies or books, a whole LOT of them are going to begin with "The," "A," or "An" so these are generally ignored so as not to make sorting almost useless. Again, we do actually provide you a way to override this. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now