'Note Type ID', 'Card ID' — how to find out?

No longer shown in the card browser …

But for instance, one needs them when editing config.json of anki-forvo-dl • Forvo Downloader (fully automatic, with bulk-add mode) :

{
    "appendAudio": true,
    "noteTypeSpecific": [
        {
            "id": 1234567898765,
            "searchField": "Wheatfield"
        },
        {
            "id": 1234567898765,
            "searchField": "Playingfield",
            "audioField": "Fieldday"
        }
    ],
    "deckSpecific": [
        {
            "id": 1234567890987,
            "language": "en"
...
    ]
}

They are shown in the card info screen in the browser. Click Cards > info or right-click a card then Info.

The GUI should probably expose the id somewhere, like in the Note Types dialogue. For now, you can execute this in the debug console:

pp(self.col.models.all_names_and_ids())

Or for only one notetype:

pp(self.col.models.id_for_name("Basic"))
1 Like

Ah, you’re right. Only the note ID and card ID are shown.