Ponyo 22 Posted March 12, 2016 Share Posted March 12, 2016 Hi, I noticed emby isn't properly sorting movies by name (alphabetical) when a movie name starts with something like "A" or "The". E.g. A bridge too far will end up under B instead of A. Version 3.0.5882.0 I found some other similar threads that mentioned using a custom sorting order or use folder names but I don't have such a option. Either way, A comes before B, no matter how you look at it me thinks Is there any way to fix this? Link to comment Share on other sites More sharing options...
Luke 37116 Posted March 12, 2016 Share Posted March 12, 2016 You probably have a custom sort title in your metadata containing those prefixes, and if you do, then that's why that is happening. Link to comment Share on other sites More sharing options...
Vidman 589 Posted March 12, 2016 Share Posted March 12, 2016 I think he is complaining that they are being ignored but perfers then not to be Link to comment Share on other sites More sharing options...
yardameus 220 Posted March 12, 2016 Share Posted March 12, 2016 Does the metadata look like this in metadata manager? Link to comment Share on other sites More sharing options...
Solution Deathsquirrel 741 Posted March 12, 2016 Solution Share Posted March 12, 2016 Hi, I noticed emby isn't properly sorting movies by name (alphabetical) when a movie name starts with something like "A" or "The". E.g. A bridge too far will end up under B instead of A. Version 3.0.5882.0 I found some other similar threads that mentioned using a custom sorting order or use folder names but I don't have such a option. Either way, A comes before B, no matter how you look at it me thinks Is there any way to fix this? Putting 'A Bridge Too Far' under the letter B IS correctly alphabetizing. Now if you want to incorrectly alphabetize it under A, or have every movie starting with The under T you can use the sort title field in the metadata editor. If you save the metadata with A Bridge Too Far in that field the movie will appear under A. The list of ignored terms when alphabetizing is also stored in an XML config file. I understand you can modify that manually. It's documented in another thread. That manual change may not survive server updates though. 2 Link to comment Share on other sites More sharing options...
Luke 37116 Posted March 12, 2016 Share Posted March 12, 2016 But he said A comes before B no matter how you look at it ? Link to comment Share on other sites More sharing options...
Deathsquirrel 741 Posted March 12, 2016 Share Posted March 12, 2016 But he said A comes before B no matter how you look at it ? Then he should visit a darn library some year and learn that he's wrong Link to comment Share on other sites More sharing options...
Ponyo 22 Posted March 13, 2016 Author Share Posted March 13, 2016 Does the metadata look like this in metadata manager? The sort name is empty for all movies that have a and the ignored. Link to comment Share on other sites More sharing options...
Ponyo 22 Posted March 13, 2016 Author Share Posted March 13, 2016 Then he should visit a darn library some year and learn that he's wrong Japanese libraries don't work the same[emoji14]Isn't it possible to sort by alphabetical order regardless of whether that is actually the "correct" way? I'd prefer not having to edit the metadata because that is time consuming and the whole point of running Emby is saving time and not having to do stuff manually 1 Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted March 13, 2016 Share Posted March 13, 2016 (edited) They should be ignored. If you wish to change the sort order, fill in the Sort Name field to suit your needs. A tool like Media Center Master can fill in the sort name for your .nfo files automatically. Edited March 13, 2016 by Koleckai Silvestri Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted March 13, 2016 Share Posted March 13, 2016 As mentioned per built in config (A, An, and The) are automatically ignored. <SortRemoveWords> <string>the</string> <string>a</string> <string>an</string> </SortRemoveWords> Here is a good example A.I. Artificial Intelligence shows up in "I" instead of "A" unless you use Sort Name field. Sort name field take priority and sortremovewords don't apply. 1 Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted March 13, 2016 Share Posted March 13, 2016 (edited) @@Luke is there any side effects clearing the <string> from the SortRemoveWords in system.xml? Edit: it would appear not since there are other threads stating the same advice, clear out the string settings. http://emby.media/community/index.php?/topic/9612-change-sort-order-to-not-ignore-prefix/?p=123788 Edited March 13, 2016 by Happy2Play Link to comment Share on other sites More sharing options...
Vidman 589 Posted March 13, 2016 Share Posted March 13, 2016 Will that change need to be redone after a server update? Link to comment Share on other sites More sharing options...
speechles 1920 Posted March 13, 2016 Share Posted March 13, 2016 (edited) The server updates dont wipe config changes. It merely updates the /system directory Edit: i meant /system not /server folder. Edited March 13, 2016 by speechles 1 Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted March 13, 2016 Share Posted March 13, 2016 Will that change need to be redone after a server update? From testing on an update or reinstall on already installed dev system, no. Link to comment Share on other sites More sharing options...
Ponyo 22 Posted March 14, 2016 Author Share Posted March 14, 2016 @@Luke is there any side effects clearing the <string> from the SortRemoveWords in system.xml? Edit: it would appear not since there are other threads stating the same advice, clear out the string settings. http://emby.media/community/index.php?/topic/9612-change-sort-order-to-not-ignore-prefix/?p=123788 Thanks, I'll try editing that string. I suppose you could just remove write rights on the file to avoid updates overwriting any changes made after a update. Link to comment Share on other sites More sharing options...
ebr 14930 Posted March 14, 2016 Share Posted March 14, 2016 I suppose you could just remove write rights on the file to avoid updates overwriting any changes made after a update. I wouldn't advise that as it would then make it impossible to modify any configuration options. Link to comment Share on other sites More sharing options...
Ian-Highlander 145 Posted March 14, 2016 Share Posted March 14, 2016 (edited) Just change <SortRemoveWords> <string>the</string> <string>a</string> <string>an</string> </SortRemoveWords> to <SortRemoveWords /> In C:\Users\[yourusername]\AppData\Roaming\Emby-Server\config\system.xml One of the first things I did when I first installed Emby as I hate the so called "correct" way of sorting things that convention seems to deem is how we should all do it. If you saw "The Avengers" written down, you wouldn't say it "Avengers, The" would you? So why the bloody hell would anyone want it sorted that way, never got it, never will. All my media is sorted alphabetically as per the names they were given. Don't care what other people do as long as it's not forced onto me though and Emby lets us sort it the "right" way ( ) by removing those options in the config which is good enough for me if it works. Edited March 14, 2016 by Ian-Highlander Link to comment Share on other sites More sharing options...
Ponyo 22 Posted March 22, 2016 Author Share Posted March 22, 2016 Editing that string works great. Should be an option in the sorting menu, really 1 Link to comment Share on other sites More sharing options...
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