|
|
#1 |
|
Zealot
![]() Posts: 119
Karma: 60
Join Date: Jul 2009
Device: Nook Classic rooted; Galaxy S III with Aldiko, other older devices
|
Pluginize file naming strategy ?
before anyone points me to FAQs, yes, I have read PLEASE READ BEFORE POSTING - The purpose of this subforum and Want to change the folder structure of the Calibre library? and am aware of most of the arguments pro / contra. My special use case ( content from different shops / sources aggregated and available on one server because *I* bought them for *myself*, but should be stored in separate locations for legal reasons ) would be best served by manipulating the storage strategy, tough. So, my question is: If I would put in the effort to pluginize the directory naming strategy (much like the way metadata sources work now), and later on provided additional plugins that serve my use case, would that work be considered for inclusion in the main source tree or would I have to maintain my private tree for the foreseeable future, including the effort of building windows binary installation packages? Regards, Hakan |
|
|
|
|
|
#2 |
|
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 848775
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
If you do the work, you maintain the work and you can show that the changes are an improvement then it will be considered for inclusion.
However, you are going to be hard pressed to show that changing the library structure to something else is an improvement. Your also going to be hard pressed to show that pluginizing this is an improvement. In most cases not special cases. I would look over the existing threads about the library structure pull in all reasons for and against then start a non-development section thread to discuss. Go over each for and against and make a clear argument as to why your changes re an improvement. Then take in the responses.and re work your proposal. Again the majority of users and developers are happy with the current implementation. There is little, not 0, chance of getting this accepted. |
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,994
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
http://www.mobileread.com/forums/sho...94&postcount=8
__________________
The speed limit on our spacetime highway of life is c - lightspeed. Surprisingly, the posted minimum is also c. We can go no faster, nor any slower! The conversion factor from the time dimension to space is ct. When stationary in space, we must move into the future at c to have our clock tick off t. When moving in space, the spacetime vector c tilts from pure motion in time. The faster we move in the space dimension, the slower we move in the time dimension. |
|
|
|
|
|
|
#4 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,660
Karma: 3473290
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have no objections in principle to having the directory naming configurable. However, various caveats apply:
1) It would have to be done in a way that does not break metadata backup/db restore/the cover storage APIs (probably others as well) 2) The default semantics must remain as they are 3) This kind of change will require *a lot* of testing, on multiple platforms, as it has the potential for data loss. I'm somewhat puzzled by your use case, however. If you are serving up books from a server, what earthly difference does it make where they are stored?
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#5 | |||
|
Zealot
![]() Posts: 119
Karma: 60
Join Date: Jul 2009
Device: Nook Classic rooted; Galaxy S III with Aldiko, other older devices
|
Quote:
Quote:
The code I am willing to create and maintain would keep all those guys off your back. You could just tell them that if they really really want to modify their storage, they can create / use a plugin, but the main calibre developers only supports the "default" configuration (which would work identically to the current code). Quote:
Regards, Hakan |
|||
|
|
|
|
|
#6 | |
|
Zealot
![]() Posts: 119
Karma: 60
Join Date: Jul 2009
Device: Nook Classic rooted; Galaxy S III with Aldiko, other older devices
|
Quote:
And my intention is to keep the default semantics if no plugin to modify strategy is configured. And for the "where they are stored" part, one example are the ebooks from the http://www.blacklibrary.com. If you read their license rules, they demand that you provably remove all their files from your system if they decide to revoke their license to you. For some time, I actually thought about putting all the stuff I buy from them into a completely separate calibre instance, but then again, I'm not sure that their license would even allow me to store the epubs in calibre, anyway In that case, the proof that I removed everything would be done by showing their lawyer the directory where their stuff is, telling them that nothing of their intellectual property is in my other directories and kindly asking them to refrain from rifling through all my other stuff...Regards, Hakan |
|
|
|
|
|
|
#7 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,660
Karma: 3473290
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I seriously doubt that a lawyer would consider being shown an empty directory as proof of anything.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#8 | |
|
Zealot
![]() Posts: 119
Karma: 60
Join Date: Jul 2009
Device: Nook Classic rooted; Galaxy S III with Aldiko, other older devices
|
Quote:
I re-applied my changes to the currently distributed 0.9.1 tag and sent you a merge proposal. If accepted, this could be used to create plugins to put the source (see my main use case) or series information into the path of the books without having to modify the core of calibre anymore. Also, if accepted, I would continue to work on this to allow graphical configuration of my plugins, which at this moment have a bit of hard-coded information in them (e.g. name of the column to use for "source" and so on). Regards, Hakan |
|
|
|
|
|
|
#9 | |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 555
Karma: 422221
Join Date: Jul 2010
Location: UK
Device: Sony PRS-300 & Kindle PW
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Zealot
![]() Posts: 119
Karma: 60
Join Date: Jul 2009
Device: Nook Classic rooted; Galaxy S III with Aldiko, other older devices
|
Sure, I could separate with multiple libraries. Buuuuuuuut...
On one hand, I have about a dozen book sources which I want to keep separated, so a-library-for-each gets unwieldy pretty quick. On the other hand, calibre2opds can't merge multiple libraries into one opds directory so configuration on my reader devices gets complicated. And, on the gripping hand, the OCD afflicted software engineer in me wanted a configurable solution which would also consider Series information and whatever the user might consider necessary . So, main reason is my OCD
|
|
|
|
|
|
#11 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,630
Karma: 561147
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (stanza/iBooks/QuickReader)
|
Quote:
what there already is is a capability in Calibre2Opds to link catalogs. You can have entries in the top level of a catalog pointing to other catalogs (set up via the 'Custom Catalog/External Links' tab). You could therefore use this capability to handle your top level which contains the pointers to other libraries, and then create a catalog for each library. This was primarily envisaged as handling the case when you wanted to point to other catalogs provided by third parties, but I see no reason why it cannot be used by an individual with multiple libraries. If you do this you would want to also make use of the 'Profiles' facility so that you can store the settings you want for each individual library. Would this perhaps meet your needs?
__________________
Calibre2opds: Calibre library as a web site - the popular alternative to the Calibre Content Server CLOUD SERVICES: Dropbox: Use this link to sign up for a free 2GB Dropbox account and both of us get an extra 500MB free space. Megacloud: Use this link to sign up for a free 8GB MegaCloud account and both of us get an extra 500MB free space. Copy.com: Use this link to sign up for a free 15GB Copy.com account and both of us get an extra 5GB free space. |
|
|
|
|
|
|
#12 |
|
Zealot
![]() Posts: 119
Karma: 60
Join Date: Jul 2009
Device: Nook Classic rooted; Galaxy S III with Aldiko, other older devices
|
I have to experiment a little bit with the current calibre2opds, maybe on the weekend. My installation is still 2.x
![]() I could imagine that my largish set of libraries (if I would go with the one shop / one library setup) would make searching / browsing for a certain book harder though. Let's see how the handling would be... |
|
|
|
![]() |
| Tags |
| database, directory name, directory_file_names, plugins |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File naming on Kindle | tomsem | Calibre | 2 | 09-15-2010 01:05 AM |
| File naming convention for best import result? | Belfaborac | Calibre | 1 | 06-07-2010 09:14 AM |
| Functions for directory & file naming | LARdT | Calibre | 4 | 01-09-2010 12:06 PM |
| File naming strangeness | HarryT | iRex | 2 | 06-05-2009 11:39 AM |
| Naming PDF's | malduin | Sony Reader | 7 | 09-02-2008 09:46 AM |