Menu

export recursively

Terry W
2016-06-03
2016-06-03
  • Terry W

    Terry W - 2016-06-03

    I mostly use Kid3 to deal with audio book mp3 files. Typically the file structure would be:
    Main folder
    One sub-folder for each disc in the audio book; the sub-folder would then contain multiple mp3 files - one for each track.

    My question is: is there a way to use the export function to create a csv file for ALL of the tracks without having to do each sub-folder separately. Currently when I expand each sub-folder in the UI and then select all of the tracks, the export only exports the tags for the last sub-folder. (And, if I only select a directory name, export does nothing.)

    I know that I could "flattern" the structure to have all mp3 tracks in the same folder, but would prefer to preserve the sub-folder structure if possible.

    (I am running Kid3 on Mac and so don't think I have access to any of the command line stuff.)

     
  • Urs Fleisch

    Urs Fleisch - 2016-06-03

    There is a menu item "Export CSV" in the context menu of the file list, which exports all tags of all files recursively. It uses a QML script to do this, which could be adapted if the output is not as desired. There is also a companion function "Import CSV" which can import the exported CSV files again.

     
    • Terry W

      Terry W - 2016-06-03

      thanks for the quick response. When I "right" click on anything in the file list I do not see a menu item for "Export CSV". I see items like: Expand All, Collapse All, Rename, etc. So maybe I'm not looking in the right place? By File list, do you mean the left hand panel of the UI or ? (The File menu itself has an Export function, but that only shows the last sub-folder contents.)

      thanks

       
  • Urs Fleisch

    Urs Fleisch - 2016-06-03

    These functions were introduced in one of the latest releases, so if you started using Kid3 before version 3.2.0, these actions are not in the menu and the configuration is not updated automatically. If you are not afraid of losing your custom configuration, you could reset it to the defaults using the "Restore Defaults" button in the preferences (you could just click that button to see the new actions without clicking OK afterwards in order not to change the configuration). The two actions are at the bottom of the "User Actions" list, have both "Output" checked and the (Name, Command) entries ("Export CSV", "@qml %{qmlpath}/script/ExportCsv.qml") and ("Import CSV", "@qml %{qmlpath}/script/ImportCsv.qml").

     
    • Terry W

      Terry W - 2016-06-03

      Great! setting the defaults as you described now gives the context menu items.

      thanks