06-21-2015, 06:50 AM | #1 |
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
CC and file naming
One question that has arisen during the CC Cloud alpha test pertains to file names used to store books. The same question has arisen many times before, most recently in this thread.
Summarizing the current situation:
I am considering adding an option to CC and making the necessary changes to calibre so CC would be in charge of file names. For the wireless connection, CC would pass back the correct name to calibre. For the other two, CC would generate the name. Making this work would entail adding a limited template processor to CC, supporting basic template mode with the following columns:
For example, you could specify in CC a template like the following: Code:
{first_author}/{title_sort} {series:| - |} The question: would anyone use this? Last edited by chaley; 06-21-2015 at 04:29 PM. Reason: Remove {id} as it isn't always available |
06-21-2015, 10:41 AM | #2 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Hi Charles ...
Yes, definitely! I would use that option on all devices. Especially since "there is no guarantee" of file naming consistency with books imported via the content server. I use the content server maybe about 40% of the time; wireless the rest. In addition, as mentioned in the other thread, I had "Use calibre's file names" checked on two devices, but not on a third. So the file names didn't always match up -- and I was wondering "What's wrong with Moon Reader's sync?" I suspect I am not the only CC/Moon Reader customer who has found issues syncing due to inconsistent file names. And I would think many others have no clue what the cause is. Unfortunately, there is not much information on Moon Reader's website about troubleshooting sync issues OR how to ensure successful syncing. If you do this, it might be very helpful to include some short information why identical file names are critical to correct book syncing. Some probably assume incorrectly like I did that if two books have the same exact metadata titles and author, they would match up fine. --Pat |
Advert | |
|
06-21-2015, 11:44 AM | #3 |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
So long as it is an option and not the default.
bernie |
06-21-2015, 11:51 AM | #4 |
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The defaults would stay exactly as they are: calibre names for wireless device connections and CC names (no template) for content server & cloud connections. A user will need to be proactive, changing an option and entering a template, to use CC templates. It will be a third checkbox in the File Names settings section. Checking any one will disable the other two.
Templates would be entered using a Book Details menu item. It is there to ensure a is book available to test the templates to verify what is generated using live data. |
06-21-2015, 11:59 AM | #5 | |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
|
|
Advert | |
|
06-21-2015, 02:12 PM | #6 |
Zealot
Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
I would 100% use this function. I do not use the content server, only wireless connection to push books to device and sync metadatas.
Last edited by Thomas_AR; 06-21-2015 at 02:26 PM. |
06-23-2015, 11:07 AM | #7 |
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I have added the template stuff. It is in the current alpha, although there are a few changes waiting until the next release.
I rewrote the FAQ answer How do I get the same file name for books when using wireless device, content server, & cloud connections There are two new FAQ answers: Problems with syncing read positions in reader apps like Moon+ I added a new "Help Dialog" to reader selection that offers a link to this answer. What can I use in a CC file name template? The CC template tester has a button that opens this answer. Last edited by chaley; 06-23-2015 at 04:25 PM. |
06-23-2015, 02:57 PM | #8 | |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
|
|
06-23-2015, 04:25 PM | #9 |
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
06-23-2015, 08:52 PM | #10 | |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
{#genre}/{author_sort:list_item(0,&)}/{title} - {author:list_item(0,&)} |
|
06-24-2015, 07:19 AM | #11 |
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
06-24-2015, 10:15 AM | #12 |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
|
06-26-2015, 02:11 PM | #13 |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
I am having trouble using the filename template. #genre is a custom column of type 'Text, column shown in the tag browser'. Shouldn't that be a valid column type?
First_author_sort is not shown as a valid column in your list. Also, I was allowed to save an invalid template - was that intentional? |
06-26-2015, 02:16 PM | #14 |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
|
06-26-2015, 02:42 PM | #15 | |||
Grand Sorcerer
Posts: 11,740
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
Could you send me the metadata_db_prefs_backup.json from your library? That will tell me the exact column configuration. |
|||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's the best file naming convention for CC? | PatNY | Calibre Companion | 8 | 06-21-2015 06:51 AM |
File Naming on Nook STR | Pinecone | Devices | 4 | 02-26-2014 05:51 PM |
PRS-500 File Naming Convention | agarner | Sony Reader | 5 | 01-06-2012 11:36 AM |
File naming on Kindle | tomsem | Calibre | 2 | 09-15-2010 01:05 AM |
File naming strangeness | HarryT | iRex | 2 | 06-05-2009 11:39 AM |