Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2012, 06:28 AM   #1
KlausRegenbrecht
Connoisseur
KlausRegenbrecht began at the beginning.
 
Posts: 56
Karma: 10
Join Date: Nov 2011
Device: PRS-T1
If Rating show at the front of Titel the number of stars!

In Metadata i added: {series}{series_index:0>2s| | - }{title} and it works fine.
Now i'm trying to find out how to get the digit 1,2,3,4 or 5 in front of the titel, if the rating is 1 - 5 stars. If there is no rating, then this field should be empty.

Klaus
KlausRegenbrecht is offline   Reply With Quote
Old 01-31-2012, 05:45 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 13,630
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by KlausRegenbrecht View Post
In Metadata i added: {series}{series_index:0>2s| | - }{title} and it works fine.
Now i'm trying to find out how to get the digit 1,2,3,4 or 5 in front of the titel, if the rating is 1 - 5 stars. If there is no rating, then this field should be empty.

Klaus
If you feast your eyes on the Save to Template guide
{rating||-}

I am not sure if this returns Stars or a number 0-5

Stars are not valid in file names
theducks is offline   Reply With Quote
Old 02-01-2012, 02:08 AM   #3
KlausRegenbrecht
Connoisseur
KlausRegenbrecht began at the beginning.
 
Posts: 56
Karma: 10
Join Date: Nov 2011
Device: PRS-T1
Quote:
Originally Posted by theducks View Post
If you feast your eyes on the Save to Template guide {rating||-}
Thank you for the answer, rating will show a number like this 2.0, but i want just the number like 2 or 3 (2, 3 stars) but if there are no stars i dont want the zero (o), if the field has no value, then the result should be an empty string, like {series} do.

Klaus
01.02.2012 appendix:
i found a solution that works fine for me, with a helpfull hand of my friend Friedhelm:
{series:.10}{series_index:0>2s| | - }{title}, changing the title
{authors}{rating:.1| - |}, changing authors

All the books have no ratings, only the books i have read. With the rating at authors i can see with one view, which books are read already! 0=new book, 1 - 5 = already familiar.
Show this (0 - 5) at the end of a book-title, will sometimes be out of sight, if the titel is very long (with series and series-index in front)!

Last edited by KlausRegenbrecht; 02-01-2012 at 09:25 AM.
KlausRegenbrecht is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rating stars in the gallery view look like boxes Rheingold Calibre 3 11-21-2011 09:41 PM
Calibre: Deutscher Titel - Metadaten vom engl. Titel holen salines Software 1 10-20-2011 03:14 AM
Any way to show book number in series ? alophind Sony Reader 7 11-25-2010 11:25 AM
Bulk edit - how to set the rating to 0 stars? highwaykind Calibre 3 02-01-2010 01:17 PM


All times are GMT -4. The time now is 04:04 AM.


MobileRead.com is a privately owned, operated and funded community.