Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Solved KODI not handling articles correctly
#1
I presume this is OS independent, so I am creating this thread here.

KODI seems to be handling movie titles with an initial article "The" correctly, which is to say it ignores it when sorting the titles.  I handle this in my file system by moving the initial article further down in the title.  Thus, the movie "The Abyss" has a file name of "Abyss, The (Recorded...".  Similarly, the movie "A Funny Thing Happened on the Way to the Forum" has a file name of "Funny Thing Happened on the Way to the Forum, A (Recorded...", and the same thing for movies with "An".  As I said, KODI properly ignore "The " in its title sort, but lumps together all the "A ..." and I expect also any "An ..." titles.  This is not only annoying, it is just wrong, and I consider it a bug, unless there is some way the user can correct the behavior.
Reply
#2
https://kodi.wiki/view/Advancedsettings.xml#sorttokens
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
OK, thanks!  That is pretty straightforward except for one thing.  I can find and view various .xml files, but I do not see how to edit them in the UI, or in this case create them, as the Wiki says I need to do.  Remember, these are embedded devices, so accessing their file structures can be a vut tricky, and possibly even dangerous.  Obviously, I don't want to brick my devices.  I expect the same might be true of editing a skin re: https://forum.kodi.tv/showthread.php?tid...pid3158693

Is KODI hosted on github?  If not, how can I request a minor change to an .xml file?  Same question for a skin.  Alternately, is there a way I can import and export files from / to one of my Linux servers?
Reply
#4
(2023-07-10, 23:34)lesrhorer Wrote: I can find and view various .xml files, but I do not see how to edit them in the UI, or in this case create them
You can't. It needs to be done outside of Kodi.
Try using the File Manager... https://kodi.wiki/view/File_manager
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
(2023-07-10, 23:34)lesrhorer Wrote: Is KODI hosted on github?

Of course!  But it is under its traditional name of XBMC.  Official addons also are there, but most addons have their own maintainers who keep their own accounts for commits and only submit new releases to xbmc as a complete package.

scott s.
.
Reply
#6
Got it!  Thanks, again.  Before I send the advancedsettings.xml file to the machines, please check I did this correctly:

<advancedsettings version="1.0">
    <sorttokens>
      <token>A </token>
      <token>An </token>
    </sorttokens>
</advancedsettings>
Reply
#7
I have not received a response back, and I am a little wary of inserting anything that might break KODI, but I suppose more importantly the target directories on the devices do not look like they do in the Wiki, at all.  I can't find a userdata directory on any of them.  The TV' structure doesn't even look very close, and I can't get into much of the filesystem.  On my phone and the Android box, I can find at least two different Android/data/org.xbmc.kodi directories, only one of each has a ~/files directory, and those are both empty.  Of course ~/.KODI is nominally a hidden directory, and if that the case, I would have no idea how to access it from the file manager.  That would seem to be the case,  since when I create a .KODI  directory on my server, the file manager does not see it.  Using the file manager, how am I supposed to browse into a hidden directory?
Reply
#8
(2023-07-19, 23:43)lesrhorer Wrote: Using the file manager, how am I supposed to browse into a hidden directory?

https://www.google.com/search?q=kodi+show+hidden+files -> #2 https://kodi.wiki/view/Settings/Media/General -> https://kodi.wiki/view/Settings/Media/Ge...irectories
Reply
#9
(2023-07-11, 23:38)lesrhorer Wrote: Got it!  Thanks, again.  Before I send the advancedsettings.xml file to the machines, please check I did this correctly:

<advancedsettings version="1.0">
    <sorttokens>
      <token>A </token>
      <token>An </token>
    </sorttokens>
</advancedsettings>
This looks fine, although I don't think you need the space after the token.  I don't have them in mine and they work fine.
Reply
#10
This is working, now.  For some reason, it took a while after I had installed the file and re-scanned the sources for it to start working, but it eventually did.  This thread can be marked as RESOLVED.
Reply
#11
Thread marked solved.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
KODI not handling articles correctly0