'calibredb list --for-machine' ignores custom columns

Bug #1401085 reported by Bonaparte on 2014-12-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Calibre 2.12 running on Windows 7 SP1 Basic.

The command `calibredb list --for-machine` (with json output) ignores custom columns, yet they appear when --for-machine is not used.

For instance, I've got a custom column named 'edition' and call:

`calibredb list -w 10000 --for-machine --fields="title,formats,tags,*edition" --search="The Art of Watching Films"`
Normal output without --for-machine looks like:
id title formats tags *edition
10 The Art of Watching Films [D:\Books\Dennis Petrie\The Art of Watching Films (10)\The Art of Watching Films - Dennis Petrie.pdf] [] 8

`calibredb list -w 10000 --fields="title,formats,tags,*edition" --search="The Art of Watching Films"`
Output with --for-machine:
[
  {
    "formats": [
      "D:\\Books\\Dennis Petrie\\The Art of Watching Films (10)\\The Art of Watching Films - Dennis Petrie.pdf"
    ],
    "id": 10,
    "tags": [],
    "title": "The Art of Watching Films"
  }
]

description: updated

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers