![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 480532
Join Date: Mar 2010
Location: Chapel Hill, North Carolina, USA
Device: Nexus 7 (2012), Samsung Galaxy Pro 8.4
|
Save to Disk altering Title and Series
At one time, the Save To Disk feature output the Title and Series as they appeared on the main display. Now it seems that the title and series are converted into a "sort order" format. For example, the save template {title} {series} {series_index} when used with the book "The Seventh Stone", which is the 62nd book in the series "The Destroyer", used to save under the file name "The Seventh Stone The Destroyer 62"; now it's "Seventh Stone, The Destroyer, The 62".
I can see why having the title/series in sort order is useful for devices that do not sort files intelligently, but I, for one, prefer the old way. Are there some undocumented variable names that I could use to get the title and series to appear in the saved-file name as they appear on the main display? A better solution, IMHO, would be to introduce additional variables such as "title_sort" and "series_sort" to provide the sort-order forms, while the original "title" and "series" would provide the form as it appears on the main display. This would provide the greatest flexibility. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,308
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Yesterday I discovered a new 'tweak' that is probably responsible for the change. The tweak's documentation is:
Code:
# Control how title and series names are formatted when saving to disk/sending # to device. If set to library_order, leading articles such as The and A will # be put at the end # If set to 'strictly_alphabetic', the titles will be sorted without processing # For example, with library_order, "The Client" will become "Client, The". With # strictly_alphabetic, it would remain "The Client". save_template_title_series_sorting = 'library_order' |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,128
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The variable is documented under the Customizing calibre>tweaks in the user manual.
|
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
FYI, the tweaks file is not updated when you update Calibre. That's probably good, as you don't want your tweaks overwritten during an update, but it does mean that you can't immediately see all the tweaks available. I like to regularly copy the tweaks file from http://calibre-ebook.com/user_manual...ze.html#tweaks so I can see what tweak options I have available. You can access the tweaks file from the GUI via Preferences|Advanced|Open configuration directory|tweaks.py If you do this, you need to reset any tweaks you have that are not set to the default. Also, unlike the tweak for author_sort, this tweak immediately affects Save to Disk save order. Last edited by Starson17; 08-09-2010 at 09:48 AM. |
|
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 480532
Join Date: Mar 2010
Location: Chapel Hill, North Carolina, USA
Device: Nexus 7 (2012), Samsung Galaxy Pro 8.4
|
Thanks to all for your replies. This is what I was looking for.
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,887
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Good info, alternatively the file can be left in the same directory and just renamed. Then, as you stated, restarting calibre builds a new tweaks.py with all of the current optional tweaks listed.
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,867
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I just open both in Notepad++ (2 notpads works, also) and copy stuff over. So far, the real tweaks are 1 liners ![]() |
|
![]() |
![]() |
![]() |
#8 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2009
Device: EZ Reader Pocket Pro
|
Quote:
Thanks to everyone on this thread. I've found all the suggestions to be very helpful. |
|
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
This is an easy way to see what you have set and what is available to set. (It's new.) |
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2009
Device: EZ Reader Pocket Pro
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre will not save to disk | mrbillb | Calibre | 0 | 09-10-2010 06:56 PM |
Save to Disk Function | Lady Fitzgerald | Calibre | 8 | 06-07-2010 10:06 AM |
Save to Disk Series Help | DoctorOhh | Calibre | 7 | 04-21-2010 07:46 AM |
Series index Save to Disk problem | Dopedangel | Calibre | 6 | 08-27-2009 04:54 PM |
Save to disk error | Gfinch | Calibre | 6 | 08-06-2008 02:15 AM |