View Single Post
Old 10-03-2016, 05:47 PM   #17
Tech Guy
Leftcoast, USA
Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.Tech Guy ought to be getting tired of karma fortunes by now.
 
Tech Guy's Avatar
 
Posts: 38
Karma: 500010
Join Date: Dec 2012
Location: SF Bay Area
Device: Pixel 2 XL, Basic Kindle
Quote:
Originally Posted by kacir View Post

Code:
Go to Options, Metadata Plugboard
Add a new plugboard:
Format: any format
Device: content_server
Source template: {series:ifempty(/)|| - }{series_index:0>3s|| - }{title} - {authors}
Destination field: title

If your plugboard is empty and Calibre still behaves the way you describe, try to create a new one plugboard as described above, set
Source template: {title}
and observe results.
OK, I decided to play around with your plugboard suggestion, and I don't understand what happened, or at least how it happened.

I went into the plugboards setup, and when I went to enter the new plugboard, it put up a confirmation asking if I'm sure I want to replace the existing matching template. I wasn't sure I did, so I tried editing an existing one, any format and any device (only options), and it showed me one with this template:
{series}/{title} {series_index}

It didn't list any existing plugboards, though. I then pressed the button to "Restore defaults", and could no longer repeat what I had done - ie, I could no longer enter "Any Format" to edit an existing plugboard.

I restarted the content server, and it now works the way I want, without the series prefix (whether empty or populated). But if I start to add a new plugboard like you suggested, I don't get that same error message (I only get one saying it only works with epub, mobi, and azw).

I don't know what happened. I double-checked and I have no user plugins or additions or modifications, so it's really a mystery. I may check it out on my laptop with the same OS, and see if it has this. Perhaps I'll even do a full delete and reinstall.

So, you fixed it, I think, even though we don't know quite what was going on. For that, I thank you.
Tech Guy is offline   Reply With Quote