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

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-10-2014, 04:02 PM   #1
NSILMike
Fanatic
NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.
 
Posts: 566
Karma: 35936
Join Date: Apr 2011
Location: Suburb of Boston, MA
Device: Kindle Fire 7
Feature idea for Calibre Companion

(or if it is already there, how do I turn it on?)
For News sources, it would be nice to have a setting to deleted old issues automatically when a new issue replaces it. Calibre itself has a very good version of this feature, which allows you to set how many back issues are kept.
NSILMike is offline   Reply With Quote
Old 01-10-2014, 05:46 PM   #2
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,951
Karma: 2737706
Join Date: Jan 2010
Location: UK
Device: Many android devices
IIRC this already works when using the wireless device connection. Calibre enforces its rules.

EDIT: IDRC (I Didn't Remember Correctly). Calibre does not delete news from devices.

If you are transferring news using the content server then no auto-clean actions are applied. Is this what you are asking for? Given that the feature already exists with the WD connection, I am not very much in favor of adding the options to CC to do it for CS connections. Every option increases the support load, something we really want to avoid unless the gain justifies the cost.

You might be able to get a lot of what you want with either the reading list plugin or the smart eject plugin. For the latter, you would define as search that would check for need on the device that isn't in calibre. Discloser: having never done anything like this I have no real idea if it would work.

Last edited by chaley; 01-11-2014 at 02:45 AM. Reason: Correct mistaken assertion
chaley is offline   Reply With Quote
Advert
Old 01-10-2014, 06:26 PM   #3
NSILMike
Fanatic
NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.
 
Posts: 566
Karma: 35936
Join Date: Apr 2011
Location: Suburb of Boston, MA
Device: Kindle Fire 7
Calibre does it, but CC does not, or I do not know how to turn it on. I use (as you will recall from my recent issue) the wireless device connection. While calibre deletes old issues on the PC. CC does not do so on my device (nexus 7) so until I manually delete them, the old issues 'pile up.'
(I'm not familiar with those plugins, so I will take a look...)

Update: The reading list plugin description is very different from what I am suggesting. The other plugin is not shown under that name in the list of calibre plugins...

Last edited by NSILMike; 01-10-2014 at 06:31 PM.
NSILMike is offline   Reply With Quote
Old 01-10-2014, 07:29 PM   #4
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 13,369
Karma: 10793754
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by NSILMike View Post
The other plugin is not shown under that name in the list of calibre plugins...
Perhaps chaley is thinking of the Smart Eject PI

BR
BetterRed is offline   Reply With Quote
Old 01-10-2014, 07:55 PM   #5
NSILMike
Fanatic
NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.
 
Posts: 566
Karma: 35936
Join Date: Apr 2011
Location: Suburb of Boston, MA
Device: Kindle Fire 7
Quote:
Originally Posted by BetterRed View Post
Perhaps chaley is thinking of the Smart Eject PI

BR
Perhaps, but the description of its function (UI plugin to check for duplicate/missing/added books when ejecting devices) is also unrelated to my request.
NSILMike is offline   Reply With Quote
Advert
Old 01-11-2014, 02:37 AM   #6
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,951
Karma: 2737706
Join Date: Jan 2010
Location: UK
Device: Many android devices
First, I apologize for my misstatement above. I believed that calibre had a feature to clean news on a device in addition to its feature to clean news in the library. I don't use news so I never had a reason to discover that I was wrong.
Quote:
Originally Posted by NSILMike View Post
Perhaps, but the description of its function (UI plugin to check for duplicate/missing/added books when ejecting devices) is also unrelated to my request.
Not if I understand your request. You want something to delete news "books" on your device when they expire. As you pointed out, Calibre has a feature that deletes these books from its library as they age. Smart eject could tell you that you have news books on your device that are not in calibre's library, telling you which books you should delete from your device to make it match what is in calibre.

At the moment you would need to use a search in Smart eject that checks the title of the book, which is less than optimal if you have many news sources. I will look at whether I can add searching on tags to the device view, which would make the process easier.

EDIT: Starting with the next calibre release you will be able to search for tags in the device view. A book in the device view will have tags if it was put on the device by calibre or if it ever matched a book in calibre's library. For example, "tags:news" will find items on the device that have the news tag, which any news "book" put on the device by calibre will have.

Last edited by chaley; 01-11-2014 at 10:43 AM.
chaley is offline   Reply With Quote
Old 01-11-2014, 09:40 AM   #7
NSILMike
Fanatic
NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.
 
Posts: 566
Karma: 35936
Join Date: Apr 2011
Location: Suburb of Boston, MA
Device: Kindle Fire 7
See my embedded comment...
Quote:
Originally Posted by chaley View Post
First, I apologize for my misstatement above. I believed that calibre had a feature to clean news on a device in addition to its feature to clean news in the library. I don't use news so I never had a reason to discover that I was wrong.
Not if I understand your request. You want something to delete news "books" on your device when they expire. As you pointed out, Calibre has a feature that deletes these books from its library as they age. Smart eject could tell you that you have news books on your device that are not in calibre's library, telling you which books you should delete from your device to make it match what is in calibre. Mike->Makes sense for a big collection of books. For news, it's not very complicated. I have calibre set up to run at a specific time via a windows task schedule. It downloads the Boston Globe newspaper for today, and deletes yesterday's edition on the PC. I sync it wirelessly, and need only to scan CC to see where there are dupes to manually delete. My request is to automate this on the device. It makes a lot of sense for news sources of course, but I can imagine that for real books it is at least possible someone would want to keep it on the device even after deleting it from the PC, so that option would be needed.

At the moment you would need to use a search in Smart eject that checks the title of the book, which is less than optimal if you have many news sources. I will look at whether I can add searching on tags to the device view, which would make the process more easier.
NSILMike is offline   Reply With Quote
Old 01-12-2014, 05:03 AM   #8
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,178
Karma: 5306
Join Date: Jan 2014
Device: none
I would really love to have more than one library on my new tablet.
Tanjamuse is offline   Reply With Quote
Old 01-12-2014, 05:55 AM   #9
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,951
Karma: 2737706
Join Date: Jan 2010
Location: UK
Device: Many android devices
Quote:
Originally Posted by Tanjamuse View Post
I would really love to have more than one library on my new tablet.
I assume you are talking about separate calibre physical libraries, not separate calibre virtual libraries.

With some setup in calibre, CC already can handle separate virtual libraries. The setup:
- in calibre, create a tags-like column built from other columns with the template "program: virtual_libraries()".
- in CC, add that new column to the list of custom columns shown in the grouping drawer (CC's settings)
Now a long-press on a virtual library in the grouping drawer will restrict what CC shows to books in that virtual library.

CC can also already handle combining different physical libraries into its database, correctly handling metadata update depending on which library calibre is using when you connect as a wireless device. If you added a tag or a new custom column that provides the name of the library the book comes from then you could use CC's long-press-to-restrict feature described above to limit what you see in CC to a given source library. EDIT: you can create a column that automatically fills in the library name using a column built from other columns with the template "program: current_library_name()". This scheme would also work with the content server because the library name would be in the book's metadata.

As for handling multiple physical libraries as separate libraries in CC: there are complexities. The first is how would CC show them. Clearly no cross pollination between libraries should be possible, implying separate book storage, separate database (grouping and sorting), and probably separate setup options. This really implies separate CC installations, something that would not be straightforward given how Android works.

The second is ensuring that when you connect to calibre as a wireless device, you are connecting to the library associated with that CC installation. In effect, CC would be required to refuse to connect if the library on the calibre side isn't the "right" library; the same the one used when the CC library was created. How this would work with the content server is an interesting question, given that one can simultaneously have several different content server instances serving different content from multiple libraries. Also, a side effect is that combining libraries into a single CC database would be forbidden, something that people use today.

The third would be the expected immediate requests for dynamic switching between the physical libraries and for moving books between the libraries. Coordinating this with calibre would be extremely challenging.

Given these complexities and given the workarounds described above, I am not inclined to attempt to implement separate physical libraries.

Last edited by chaley; 01-12-2014 at 03:03 PM.
chaley is offline   Reply With Quote
Old 01-13-2014, 01:15 AM   #10
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,178
Karma: 5306
Join Date: Jan 2014
Device: none
This sounds good, but I still don't understand anything about Templates, so you have to tell me where to put and how ... a complete step-by-step would be nice

I really like Caliibre and would love to understand this Template thing
Tanjamuse is offline   Reply With Quote
Old 01-13-2014, 02:15 AM   #11
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,951
Karma: 2737706
Join Date: Jan 2010
Location: UK
Device: Many android devices
Quote:
Originally Posted by Tanjamuse View Post
This sounds good, but I still don't understand anything about Templates, so you have to tell me where to put and how ... a complete step-by-step would be nice

I really like Caliibre and would love to understand this Template thing
Templates are used all over the place in calibre, making a general step-by-step guide rather difficult. You can start with calibre's template documentation: http://manual.calibre-ebook.com/template_lang.html. Then ask for help here at mobileread, providing where you want to use a template (file templates, plugboard templates, custom column templates, etc). The thread https://www.mobileread.com/forums/sho...d.php?t=118563 has many examples of various kinds of templates.

As regards what we are discussing in this thread, identifying separate (non-virtual) libraries in CC, you can avoid using templates altogether by adding the library name as a tag to all books in the library.

The best way to get help with templates (or anything else in calibre) is to ask a specific question about something you want to accomplish. It is best to talk about "what" you want to do in terms of outcomes (e.g., I want to back up my books, I want to track where I bought books, I want to use my genre column in CC, etc), making it easier for people to understand how to answer.
chaley 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
[Old Thread] Feature Idea - Auto convert on import jphphotography Calibre 6 11-04-2012 09:17 PM
Calibre Feature Request / Idea: Tags as Status Tracker talonius Calibre 4 09-12-2012 12:04 AM
Calibre Feature Request / Idea icq70610 Calibre 8 09-11-2012 10:58 PM
Idea for a new feature lordhawk Calibre 3 04-02-2011 06:26 PM
Feature request / Good idea for future versions of Calibre rahulm Calibre 9 07-18-2010 06:35 PM


All times are GMT -4. The time now is 11:39 PM.


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