![]() |
#1 |
Member
![]() ![]() ![]() Posts: 23
Karma: 208
Join Date: Oct 2014
Device: Nexus5, Nexus9
|
Genre subfolder when sending to nexus7
Hi
[Caliber 2.6.0] I'd like to create a genre subfolder when saving titles to my nexus7. I'm confused as it seems to be specifiable in two places: 1) Preferences -> Import/Export -> Sending books to devices -> save template 2) Preferences -> Plugins -> Device Interface Plugins -> Android Driver -> save template I've tried the format "{#genre:subitems(0,1)}/{title}" in both places but the title is always saved as {title}-{author} at the top level. I have "use sub folders" enabled in the Android Driver plugin config. Also, what would the syntax be to integrate 'ifempty("unknown")' into the above so if subitems(0,1) is empty the top level would be "unknown"? Thanks! |
![]() |
![]() |
![]() |
#2 |
Member
![]() ![]() ![]() Posts: 23
Karma: 208
Join Date: Oct 2014
Device: Nexus5, Nexus9
|
Also (#2) is there any android reader that can group by genre, either from the original calibre genre metadata or from a directory structure resulting from it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The two locations are because you can set a default universal save template as well as a per-device-type template.
I am not sure what the Android driver does, but you want the MTP Device Interface plugin. It must be configured while the device is connected, and you can get to it from the dropdown by "device" in the toolbar. |
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Regarding the save template you want, general program mode allows you a lot more flexibility. You can make arbitrarily complex nested functions.
Code:
program: strcat( ifempty( subitems( field('#genre'), 0, 1 ), 'Unknown' ), '/', field('title') ) Last edited by eschwartz; 10-20-2014 at 09:24 PM. |
![]() |
![]() |
![]() |
#5 | |
Member
![]() ![]() ![]() Posts: 23
Karma: 208
Join Date: Oct 2014
Device: Nexus5, Nexus9
|
Quote:
So this created the top level directory (sdcard/books/directory/title - author.epub)" however Moon wouldn't see the book, so I'm guessing it's limited to having everything in the top level directory. I see that Moon supports tags, of course I'm using genres. Maybe time to take a step back; do any of the Android readers offer the ability to organize titles the way I want? |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Calibre Companion is a fully-featured mobile interface to calibre. Developed by a calibre contributor (MR's very own @chaley, who created templates and plugboards and custom columns among other things
![]() It does not come with a builtin reader, rather it organizes/filters/searches your books and when you tap on a title to read it, CC will offer to open the book in whichever other ereader app(s) you have installed. If you want to do fancy metadata sorting on your device, Calibre Companion is king. ![]() Last edited by eschwartz; 10-20-2014 at 09:53 PM. |
![]() |
![]() |
![]() |
#7 | |
Member
![]() ![]() ![]() Posts: 23
Karma: 208
Join Date: Oct 2014
Device: Nexus5, Nexus9
|
I'm not seeing this. It allows you to sort by genre while you are connected to the content server but once you've disconnected all you have is the "grouping drawer" which is tags based. Moon supports tags also.
I'm not sure if this is a limitation of the demo version; I don't think so. It also managed to somehow hang in the middle of "download all". Then clicking on "download all" again doubled the #titles it thought it was trying to download. Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
The same way the Tag Browser in calibre is tag-based, and supports both the "tags" field and many others, like... all of them. Additionally, I believe a recent CC update enabled three-level hierarchical fields, in order to support #genre better. Regarding the hang, I have no idea. I imagine anything can hang occasionally, but CC is not to my knowledge in the habit of making it a habit. ![]() Since you can connect as a device (instead of accessing the content server) I would recommend that instead. You can send books from the calibre interface directly. |
|
![]() |
![]() |
![]() |
#9 | |
Member
![]() ![]() ![]() Posts: 23
Karma: 208
Join Date: Oct 2014
Device: Nexus5, Nexus9
|
Quote:
I'm guessing this is a bug related to the demo being limited to 10 titles but I'm not really inclined to buy the full version unless I can see whether the demo will work for me. |
|
![]() |
![]() |
![]() |
#10 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I have no idea but I am sure chaley will fix it.
![]() I have PMed him to make sure he sees this. |
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
To test grouping you need to clear out the extra books. I recommend you do one of the following: Option 1: 1) (Optional) In CC, go to Settings, scroll to the bottom, and backup your settings. 2) In Android settings, go to Apps, find CC Demo, and clear data. This will empty your database. 3) Using a file manager, delete the Calibre_Companion folder so that the books you have already downloaded are truly gone. 4) Start CC. Restore the settings 5) Connect as a wireless device and send less than 10 books. You will be able to play with the grouping drawer. Option 2: 1) In CC, tap on books to look at book details and delete them until the "You have exceeded" message goes away. I have no idea how many books must be deleted. At this point the upgrade will finish. |
|
![]() |
![]() |
![]() |
#12 | |
Member
![]() ![]() ![]() Posts: 23
Karma: 208
Join Date: Oct 2014
Device: Nexus5, Nexus9
|
Quote:
If the rest of the code can't actually handle the limit of 10, maybe you should change the import/download code to never allow more than 10 in the database, it seems right now that it's just a presentation function that's limiting what is shown to 10 .... as a buggy demo doesn't encourage people to buy the real thing. Last edited by crazybrit; 10-21-2014 at 12:18 PM. |
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 | |
Member
![]() ![]() ![]() Posts: 23
Karma: 208
Join Date: Oct 2014
Device: Nexus5, Nexus9
|
Quote:
So under "grouping drawer" settings I added "#genre" to "make groups for custom columns" which triggered a database update. Now I see the following: Code:
< genre computers.algorithms computers.architecture fiction.classic Code:
< genre computers algorithms architecture fiction classic So then I selected "Hierarchical Groups" in "grouping drawer" and checked #genre, which triggered another database update but nothing changed in how it's being presented. It's not a big deal, as clearly it's letting me see the sub genres in dotted notation. I was just curious. |
|
![]() |
![]() |
![]() |
#15 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Moderator Notice
Moving this to the CC forum, as it clearly has become a CC topic |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre/nexus7 problem | 20LEgend | Calibre | 8 | 06-01-2013 06:14 AM |
Nexus7, ipad mini, nook hd? Could use some help... : ) | broadsteel | Which one should I buy? | 20 | 04-19-2013 06:25 PM |
Ten reasons I dont need the new$200 NEXUS7 | Anabran | Kindle Fire | 95 | 08-13-2012 06:04 AM |
Genre Heirarchy Problem- Sub Genre Showing up in different main genre | collin8579 | Library Management | 3 | 08-10-2011 11:11 AM |
Feature request: Import Folder with Subfolder and Categories them as such | c4rp3d13m | Calibre | 1 | 01-10-2011 02:28 PM |