Asazen 8 Posted December 9, 2024 Posted December 9, 2024 The content is not sorted from A to Z even though I put it by "File name" or "Title" I tried all the options and none of them organize it well, as you can see in the capture, in front of the A there is an S.
user24 313 Posted December 9, 2024 Posted December 9, 2024 (edited) In your example there is an inverted exclamation mark "¡" before the capital "S". If you remove this from your Sort Title, then the symbol will be retained in your visible Title but Emby will sort the Movie under "S". Edited December 9, 2024 by user24 added image 1
Asazen 8 Posted December 9, 2024 Author Posted December 9, 2024 (edited) Thanks, I noticed that detail before creating the thread, but that is a problem that emby would have to solve and omit that special character. On the other hand, it happens to me in many more without a special character, this one was chosen at random, now I will put more screenshots. Thank you very much for the answer. Edited: Edited December 9, 2024 by Asazen
user24 313 Posted December 9, 2024 Posted December 9, 2024 (edited) For your problem movies what does Emby show for Title and Sort Title? Emby automatically removes "The" from Sort Title for English language. Possibly the same automatic removal may be happening for "Los" for Spanish language??? What happens if you manually change your Sort Titles? Also, you need to lock any of the titles if you don't want Emby to change or update them. Edited December 9, 2024 by user24 spelling 1
Asazen 8 Posted December 9, 2024 Author Posted December 9, 2024 (edited) Ahh well it seems that this is my problem, emby during the scan puts a different name in "Sort by title" and it should put the same one of the main title and the user should change it and block it if necessary, this is clearly an emby error, let's see if some developer responds and can correct it because doing this in the whole library manually is crazy. Thank you very much for your answers, thanks to you I realized this emby error. Edited December 9, 2024 by Asazen
Asazen 8 Posted December 9, 2024 Author Posted December 9, 2024 (edited) All the "El" "La" etc.. are removed from my order of titles. In Spanish. Edited December 9, 2024 by Asazen
user24 313 Posted December 9, 2024 Posted December 9, 2024 At least now you are understanding more about what is happening. I just asked Microsoft Co-pilot AI which words does Emby automatically remove - this was the answer: Quote Emby automatically removes certain common words from the sort title field to help with organizing and sorting media files. For both English and Spanish languages, Emby typically removes the following words: English: "A", "An", "The" Spanish: "El", "La", "Los", "Las", "Un", "Una" These words are considered stop words and are often removed to improve the accuracy of sorting and searching. I guess there are other words for other languages as well? Emby could say this is by design and not an error that needs fixing - but that is for them to reply to you rather than me!!! 1
Asazen 8 Posted December 9, 2024 Author Posted December 9, 2024 Well, I think that the "title" and the "sort title" should be the same and that it should be the user who changes it if necessary. In a collection of 10 films it is not noticeable but in one of 300 or more it is crazy to change all those incorrect titles, which I really do not understand why it does....
user24 313 Posted December 9, 2024 Posted December 9, 2024 What could possibly suit you, without negatively impacting on others, is for there to be a library import option in Settings (e.g.) Preferred Sort Title Importing Sort Title removes common prefix words (A, An, The) Sort Title remains the same as Title Maybe there is a workaround method that will achieve this now, but I don't know myself...
Asazen 8 Posted December 9, 2024 Author Posted December 9, 2024 (edited) According to Copilot, it can be configured, but I follow the steps and cannot find that option... To configure the words to be removed from the sort field in Emby, follow these detailed steps: Access the Emby Administration Interface: Open Emby in your web browser and log in to your admin account. Go to the Library Configuration: In the left menu, select "Library." Edit the Library: Click on the library you want to edit and select "Edit." Advanced Settings: Within the library configuration section, look for "Advanced Options." Words to Remove from the Sort Field: In the advanced options, you will find a list of words that are automatically removed from the sort field. Here you can see the predefined words such as "El," "La," "Los," "Las," "Un," "Una," "Y," and "De." Adjustment and Customization: You can add or remove words from this list according to your preferences. Simply edit the words to be removed field. Save Changes: Once you have made the necessary adjustments, make sure to save the changes so they apply to your library. By following these steps, you will be able to customize how Emby sorts titles in your library, automatically removing common words that you do not want to affect the sort order. Edited December 9, 2024 by Asazen
user24 313 Posted December 9, 2024 Posted December 9, 2024 Unfortunately Copilot doesn't know as much as it thinks it does! 1
Neminem 1518 Posted December 9, 2024 Posted December 9, 2024 There should be a system.xml in your emby servers config dir. In mine I see this. Quote <SortRemoveWords> <string>the</string> <string>a</string> <string>an</string> <string>das</string> <string>der</string> <string>el</string> <string>la</string> </SortRemoveWords> You could try a edit that, and restart your server, do a metadata refresh. And see if that helps. Just make a backup of the system.xml. I have never done this, and will not know if there at negative side effects. So do this with a warning that it might break your install.
Luke 42077 Posted December 9, 2024 Posted December 9, 2024 7 hours ago, user24 said: In your example there is an inverted exclamation mark "¡" before the capital "S". If you remove this from your Sort Title, then the symbol will be retained in your visible Title but Emby will sort the Movie under "S". In most file browsers though, typically this character would cause it to get sorted at the top or bottom, no/
Asazen 8 Posted December 9, 2024 Author Posted December 9, 2024 7 minutes ago, Luke said: In most file browsers though, typically this character would cause it to get sorted at the top or bottom, no/ It happens with many more, please read a little below.
Luke 42077 Posted December 9, 2024 Posted December 9, 2024 4 hours ago, Asazen said: According to Copilot, it can be configured, but I follow the steps and cannot find that option... To configure the words to be removed from the sort field in Emby, follow these detailed steps: Access the Emby Administration Interface: Open Emby in your web browser and log in to your admin account. Go to the Library Configuration: In the left menu, select "Library." Edit the Library: Click on the library you want to edit and select "Edit." Advanced Settings: Within the library configuration section, look for "Advanced Options." Words to Remove from the Sort Field: In the advanced options, you will find a list of words that are automatically removed from the sort field. Here you can see the predefined words such as "El," "La," "Los," "Las," "Un," "Una," "Y," and "De." Adjustment and Customization: You can add or remove words from this list according to your preferences. Simply edit the words to be removed field. Save Changes: Once you have made the necessary adjustments, make sure to save the changes so they apply to your library. By following these steps, you will be able to customize how Emby sorts titles in your library, automatically removing common words that you do not want to affect the sort order. You'll need to refresh metadata on existing items after doing this. Also, please note, that option will not impact manually edited and locked sort titles. Once you edit, you're manually managing it.
Asazen 8 Posted December 9, 2024 Author Posted December 9, 2024 (edited) 1 hour ago, Luke said: You'll need to refresh metadata on existing items after doing this. Also, please note, that option will not impact manually edited and locked sort titles. Once you edit, you're manually managing it. The thing is that I follow those instructions, I follow them but I can't find this option: In the advanced options, you will find a list of words that are automatically removed from the sort field. Here you can see the predefined words such as "El," "La," "Los," "Las," "Un," "Una," "Y," and "De." Can you post a screenshot showing those options? Edited December 9, 2024 by Asazen
Neminem 1518 Posted December 9, 2024 Posted December 9, 2024 (edited) I don't see that either, where did you finde that, in the wiki ? 1 hour ago, Asazen said: In the advanced options, you will find a list of words that are automatically removed from the sort field. Here you can see the predefined words such as "El," "La," "Los," "Las," "Un," "Una," "Y," and "De." Edited December 9, 2024 by Neminem
Neminem 1518 Posted December 9, 2024 Posted December 9, 2024 7 hours ago, Asazen said: According to Copilot, it can be configured, but I follow the steps and cannot find that option... To configure the words to be removed from the sort field in Emby, follow these detailed steps: Access the Emby Administration Interface: Open Emby in your web browser and log in to your admin account. Go to the Library Configuration: In the left menu, select "Library." Edit the Library: Click on the library you want to edit and select "Edit." Advanced Settings: Within the library configuration section, look for "Advanced Options." Words to Remove from the Sort Field: In the advanced options, you will find a list of words that are automatically removed from the sort field. Here you can see the predefined words such as "El," "La," "Los," "Las," "Un," "Una," "Y," and "De." Adjustment and Customization: You can add or remove words from this list according to your preferences. Simply edit the words to be removed field. Save Changes: Once you have made the necessary adjustments, make sure to save the changes so they apply to your library. By following these steps, you will be able to customize how Emby sorts titles in your library, automatically removing common words that you do not want to affect the sort order. Edited 7 hours ago by Asazen Ok I see now, yet another one fooled by an worthless AI. 1
Asazen 8 Posted December 9, 2024 Author Posted December 9, 2024 (edited) Yes, it's Copilot, but as @Luke told me it could be activated... Look 2 or 3 messages above in Luke's response, and if one of the developers doesn't know where to configure that. Anyway, if it's not there, they should add it because the user should have complete control over the library and at least the option to remove those absurd restrictions, which I really need someone to explain why these restrictions are in place. Edited December 9, 2024 by Asazen
user24 313 Posted December 9, 2024 Posted December 9, 2024 4 hours ago, Luke said: In most file browsers though, typically this character would cause it to get sorted at the top or bottom, no/ This is what I found from very limited testing: if the special character is in both "Title" and "Sort Title", then it gets sorted first. if the special character is manually removed from "Sort Title" only, then the sort is alphabetical. AFAIK, Emby will automatically import as follows: special characters are retained in the "Sort Title" (e.g. inverted exclamation mark). selected prefixes are removed from the "Sort Title" (The, Los, etc.). I think the OP may be wanting Emby to work the opposite way? special characters are removed from the "Sort Title" (e.g. inverted exclamation mark). selected prefixes are retained in the "Sort Title" (The, Los, etc.). Perhaps this would logically mean that there needs to be not 2, but 4 options, if the importing ever became customisable: special characters are retained and selected prefixes are retained. special characters are retained and selected prefixes are removed (what we have now). special characters are removed and selected prefixes are retained (what the OP wants). special characters are removed and selected prefixes are removed. That could well be a lot of work for Emby for only a small benefit for most??? (I don't actually know though!!!) For me (but possibly not the OP), this would be a "nice to have" rather than a "must have". Just goes to show that what seems to be a simple request could easily be much more complicated.
Happy2Play 9780 Posted December 9, 2024 Posted December 9, 2024 (edited) 9 hours ago, Asazen said: Words to Remove from the Sort Field: In the advanced options, you will find a list of words that are automatically removed from the sort field. Here you can see the predefined words such as "El," "La," "Los," "Las," "Un," "Una," "Y," and "De." There is no UI option for these SortRemoveWords they are only found in your system.xml You have to go to since Synology something like Data path: /var/packages/EmbyServer/var/config/system.xml and edit it. <SortRemoveWords> <string>the</string> <string>a</string> <string>an</string> </SortRemoveWords> Or going to Emby API and querying the config and reposting it. Something else that should be exposed in the UI. @Luke Also note changing these value will require your to do a complete REFRESH of all metadata to rewrite the sorttitle field in the database. Edited December 9, 2024 by Happy2Play 1
Asazen 8 Posted December 10, 2024 Author Posted December 10, 2024 19 hours ago, Happy2Play said: There is no UI option for these SortRemoveWords they are only found in your system.xml You have to go to since Synology something like Data path: /var/packages/EmbyServer/var/config/system.xml and edit it. <SortRemoveWords> <string>the</string> <string>a</string> <string>an</string> </SortRemoveWords> Or going to Emby API and querying the config and reposting it. Something else that should be exposed in the UI. @Luke Also note changing these value will require your to do a complete REFRESH of all metadata to rewrite the sorttitle field in the database. Hi, is it ok to comment on these lines? Or do I have to delete them? This edited, what happens when I update Emby?
Asazen 8 Posted December 10, 2024 Author Posted December 10, 2024 It doesn't work for me, neither commenting out that part nor deleting it. Steps I follow: 1. /var/packages/EmbyServer/var/config/system.xml 2. I make a backup of the original and in a copy I delete the entire part of the code or comment it out (tested both options) and save it. 3. From the Emby control panel, I update the entire library (update metadata) and it continues removing "La". https://prnt.sc/TbFQvjYbtBYJ 4. I delete the identification of that movie and identify it again, it continues removing "La". What I honestly don't understand is why Emby removes that? It does more harm than good (I don't see any benefit in it).
Luke 42077 Posted December 10, 2024 Posted December 10, 2024 If you remove the configuration altogether, then the server will reset it back to the default value. Instead, keep SortRemoteWords, but don't have any strings inside.
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