The CLI provides an API for adding new entries to the favorites list. For all entries a URL and a Name needs to be provided.
Right now it's not possible to add an Artist or a complete Album to the favorites as no URL can be retrieved for those entries.
Adding Artists/Albums using the WebUI seems to work fine and results in entries with the following URL:
db:contributor.name=AC%20DC&libraryTracks.library=-1
If this is generic and can be done also from the CLI, it would be great if this convention is documented somwhere