Virtuelle Bibliotheken

Mit virtuellen Bibliotheken hat man in Calibre die Möglichkeit, nur einen Teil der gesamten Calibre-Bibliothek zu öffnen. So können sie beispielsweise mit Büchern nur eines bestimmten Autors oder mit Büchern, die ein bestimmtes Schlagwort haben, arbeiten. Virtuelle Bibliotheken sind die bevorzugte Methode zur Partitionierung großer Büchersammlung in kleinere Untersammlungen. Sie ist der Aufspaltung einer Bibliothek in kleinere Einzelbibliotheken überlegen, da Sie jederzeit einfach in die gesamte Bibliothek zurückspringen können, falls Sie die gesamte Sammlung durchsuchen möchten. Es gibt keine Möglichkeit in Calibre, über mehrere separate Bibliotheken gleichzeitig zu suchen.

A virtual library is different from a simple search. A search will only restrict the list of books shown in the book list. A virtual library does that, and in addition it also restricts the entries shown in the Tag browser to the left. The Tag browser will only show tags, authors, series, publishers, etc. that come from the books in the virtual library. A virtual library thus behaves as though the actual library contains only the restricted set of books.

Erstellen von virtuellen Bibliotheken

vlb To use a virtual library click the Virtual library button located to the left of the Search bar and select the Create Virtual library option. As a first example, let’s create a virtual library that shows us only the books by a particular author. Click the Authors link as shown in the image below and choose the author you want to use and click OK.

_images/vl_by_author.png

The Create Virtual library dialog has been filled in for you. Click OK and you will see that a new Virtual library has been created, and automatically switched to, that displays only the books by the selected author. As far as calibre is concerned, it is as if your library contains only the books by the selected author.

You can switch back to the full library at any time by once again clicking the Virtual library and selecting the entry named <None>.

Virtual libraries are based on searches. You can use any search as the basis of a virtual library. The virtual library will contain only the books matched by that search. First, type in the search you want to use in the Search bar or build a search using the Tag browser. When you are happy with the returned results, click the Virtual library button, choose Create library and enter a name for the new virtual library. The virtual library will then be created based on the search you just typed in. Searches are very powerful, for examples of the kinds of things you can do with them, see Die Suchoberfläche.

Beispiele für nützliche virtuelle Bibliotheken

  • Bücher am letzten Tag zu Calibre hinzugefügt:
    date:>1daysago
  • Bücher im letzten Monat zu Calibre hinzugefügt:
    date:>30daysago
  • Bücher mit Bewertung von 5 Sternen:
    rating:5
  • Bücher mit Bewertung von mindestens 4 Sternen:
    rating:>=4
  • Bücher ohne Bewertung:
    rating:false
  • Heruntergeladene Zeitschriften über den Nachrichtenabruf von Calibre:
    tags:=News and author:=calibre
  • Bücher ohne Schlagwörter:
    tags:false
  • Bücher ohne Titelbilder:
    cover:false

Arbeiten mit virtuellen Bibliotheken

You can edit a previously created virtual library or remove it, by clicking the Virtual library and choosing the appropriate action.

You can tell calibre that you always want to apply a particular virtual library when the current library is opened, by going to Preferences → Interface → Behavior.

You can quickly use the current search as a temporary virtual library by clicking the Virtual library button and choosing the *current search entry.

You can display all available virtual libraries as tabs above the book list. This is particularly handy if you like switching between virtual libraries very often. Click the Virtual library button and select Show virtual libraries as tabs. You can re-arrange the tabs by drag and drop and close ones you do not want to see. Closed tabs can be restored by right-clicking on the tab bar.

Using Virtual libraries in searches

You can search for books that are in a virtual library using the vl: prefix. For example, vl:Read will find all the books in the Read virtual library. The search vl:Read and vl:"Science Fiction" will find all the books that are in both the Read and Science Fiction virtual libraries.

The value following vl: must be the name of a virtual library. If the virtual library name contains spaces then surround it with quotes.

One use for a virtual library search is in the content server. In Preferences → Sharing over the net → Require username/password you can limit the calibre libraries visible to a user. For each visible library you can specify a search expression to further limit which books are seen. Use vl:"Virtual library name" to limit the books to those in a virtual library.

Verwendung zusätzlicher Einschränkungen

You can further restrict the books shown in a Virtual library by using Additional restrictions. An additional restriction is saved search you previously created that can be applied to the current Virtual library to further restrict the books shown in a virtual library. For example, say you have a Virtual library for books tagged as Historical Fiction and a saved search that shows you unread books, you can click the Virtual Library button and choose the Additional restriction option to show only unread Historical Fiction books. To learn about saved searches, see Speichern von Suchen.