Kontrol S8 or D2 hardware sort by Title,Artist, and Bpm only ?

D2Lover
D2Lover Member Posts: 56 Advisor
edited October 22 in Mapping Traktor

Hi everyone, I'd like to reduce my sorting options on my S8 and D2's is anyone aware of a mapping or a solution to achieve this? is there a way delete code in the software so i wouldnt have to cycle through Key Rating and Import Date ?

Thanks in advance

Comments

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,827 mod
    edited May 18

    Open the file '…\Native Instruments\Traktor Pro 3\Resources64\qml\CSI\Common\Deck_S8Style.qml', line 1195

    Change this:

      AppProperty { id: browserSortId;   path: "app.traktor.browser.sort_id" }
    

    to this:

      
      AppProperty { id: browserSortId;   path: "app.traktor.browser.sort_id";
        onValueChanged: {
          if (value == 1 || value == 3) {
            value = ++value;
          }
        }
      }
    

    This will jump over browserSortId value 1 (and 3) directly to the next value (2 or 4). Plug in the numbers you want to jump over, i just arbitrarily chose 1 and 3. Value 0 is the standard playlist sequence by #.

    If you do it like this, you can only turn the encoder in a single direction (incremental), since the other direction (decremental) will always always loop back to the next highest number.

    I leave it to you to find out, which number is what sorting class.

    :)

    Edit: This may impact the manual sorting of the Traktor GUI.

  • D2Lover
    D2Lover Member Posts: 56 Advisor

    Hi

    Thank you so much for your response. I've sent you a coffee via paypal.

  • ErikMinekus
    ErikMinekus Member Posts: 112 Advisor
    edited May 18

    You can simply remove the unwanted items from sortIds and sortNames in Screens/S8/Views/Browser/BrowserFooter.qml (line 20 and 21)

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,827 mod
    edited May 18

    Cool, i didn't know that. Since this was an 'AppProperty', i had assumed Traktor managed this internally. Thank you! :)

    Thank you! Please get back to us with results. @ErikMinekus has another solution as well. I haven't tested this at all and if you run into trouble, we'll find a way. :)

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,827 mod

    Taking @ErikMinekus' advice.

    Return the code to it's previous state:

    AppProperty { id: browserSortId;   path: "app.traktor.browser.sort_id" }
    

    Then open the file '…\Native Instruments\Traktor Pro 3\Resources64\qml\Screens\S8\Views\Browser\BrowserFooter.qml', line 20+21

    readonly property variant sortIds:          [0 ,  2     ,   3     ,  5   ,  28  ,  22     ,  27          ]
    readonly property variant sortNames: ["Sort By #", "Title", "Artist", "BPM", "Key", "Rating", "Import Date"]

    and replace with

    //readonly property variant sortIds:          [0 ,  2     ,   3     ,  5   ,  28  ,  22     ,  27 ]
    //readonly property variant sortNames: ["Sort By #", "Title", "Artist", "BPM", "Key", "Rating", "Import Date"] readonly property variant sortIds: [0 , 2 , 3 , 5 , 22 ]
    readonly property variant sortNames: ["Sort By #", "Title", "Artist", "BPM", "Rating"]

    I hope this works. Gonna get out my D2's later to test.

  • D2Lover
    D2Lover Member Posts: 56 Advisor

    Thanks to you both. I got everything up and running nicely and it's greatly appreciated.

  • Sûlherokhh
    Sûlherokhh Member, Traktor Mapping Mod Posts: 2,827 mod

    Awesome. Enjoy! :D

This discussion has been closed.
Back To Top