[Enhancement] Make author search library specific

Bug #2097591 reported by Nicholas Southwell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Triaged
Undecided
Charles Haley

Bug Description

I have different Calibre libraries for: ebooks, downloaded free stories, music, and videos. I would like each library to do a different search when I click on an "author" name.

Revision history for this message
Kovid Goyal (kovid) wrote :

Changing the component for this bug.

 assignee
 status

Changed in calibre:
assignee: nobody → Charles Haley (cbhaley)
status: New → Triaged
Revision history for this message
Kovid Goyal (kovid) wrote :

@Charles: Are you interested in adding a template to custom column
definitions that can be used to generate links for item values? If so
this request can be satisfied by creating a custom column and setting a
template for it. Otherwise this is a wontfix.

Revision history for this message
Charles Haley (cbhaley) wrote :

@Kovid: one can solve this problem with custom url template in book details. For example:

program:
 lib = current_library_name();
 if lib == 'music' then
  template('https://musicplace.com/{author}')
 elif lib == 'video' then
  template('https://videoplace.com/{/title}/{author}')
 else
  template('https://en.wikipedia.org/wiki/{author}')
 fi

This is safer because nothing else in calibre must change, other than to make the template tester available in Look & feel / Book details.

Revision history for this message
Kovid Goyal (kovid) wrote :

Well the idea is to allow custom columns to have customizable URL
templates. Your suggestion would only affect the authors column.

Revision history for this message
Charles Haley (cbhaley) wrote :

I see. The OP wanted authors so I thought that was what we were talking about. It is still worth adding the template tester to the author link definition box in preferences / book details.

I can add a search template box to create_column. I can also make render.py use the box. However, I don't know what to do for the content server so I would leave that to you. OK?

Revision history for this message
Kovid Goyal (kovid) wrote :

Yes, that's fine I will handle the server part.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.