RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Add option to ignore common leading articles in Filename sort

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatioenhancementsort
    1 Posts 1 Posters 556 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PhilaPhan80P
      PhilaPhan80
      last edited by

      Hello, everyone. A new enhancement has been merged into the emulationstation-dev package!

      Feedback and test results are greatly appreciated.

      This enhancement adds an option called Ignore Articles (Name Sort Only) to the START menu. When enabled, common leading articles are ignored in both ascending and descending order while sorting each system's game titles, similar to popular multimedia-based systems. The comma-delimited list of articles is stored within the es_settings.cfg file as LeadingArticles. By default, common English articles "a", "an", and "the" are ignored, and others may be added to the list manually. (This also allows more articles to be easily added to the default setting going forward.) The option itself is persisted as IgnoreLeadingArticles.

      Additionally, a popup message is displayed whenever sorting has been re-performed in response to the selection above.

      Examples:

      [SortType = FILENAME ASC, IgnoreLeadingArticles = false]

      A Boy and His Blob
      Adventures of Lolo
      Marble Madness
      The Legend of Zelda
      Yoshi's Cookie

      [SortType = FILENAME ASC, IgnoreLeadingArticles = true]

      Adventures of Lolo
      A Boy and His Blob <-- article ignored
      The Legend of Zelda <-- article ignored
      Marble Madness
      Yoshi's Cookie

      More detailed technical information is listed within the pull request:

      https://github.com/RetroPie/EmulationStation/pull/729

      1 Reply Last reply Reply Quote 2
      • First post
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.