Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 03-26-2013, 05:18 AM   #1
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Calibre2opds v3.2 - OPDS catalogs from your Calibre library

This first post will be updated as required for the latest news and downloads on the 3.2 release to avoid you having to read through the thread to get the most up-to-date status.

News

Most of the developers of Calibre2opds seem to have gone largely dormant (I guess life has gotten in the way ), so it has been a while since the last Calibre2opds release. However enough fixes (and new features) have accumulated that I thought it was a good idea to get a 3.2 release out. It will also give us base for starting work on the 3.3 release.

Version 3.2 is available at the Calibre2opds download site.


Description:

The calibre2opds tool can generate OPDS and HTML catalogs from the metadata of the Calibre ebook library manager. The calibre2opds catalogs are intended for scenarios where use of the Calibre Content Server is not appropriate (see here for a comparison). These catalogs can then be used both to browse your ebook library online and also to download books on demand.

Release Notes for Calibre2Opds v3.2

Spoiler:

RELEASE NOTES for Calibre2Opds v3.2
-----------------------------------

Documentation
~~~~~~~~~~~~~
Online documentation for Calibre2Opds can now be found at:
http://calibre2opds.com/read-the-documentation/
There is a link to this from the main Calibre2Opds GUI via the Help
button. It is also included in the Calibre2Opds catalogs at the top
level. User areencouraged to pass back suggestions for enhancments
to reflect their experience of using Calibre2Opds.

The #number type references in these notes refer to the bug number
entries for calibre2opds in the calibre2opds Issue register that is at:
http://calibre2opds.myjetbrains.com/youtrack/

Localizations
~~~~~~~~~~~~~
The Calibre2Opds application is designed to make it easy to be
localized to languages other than English. However to do so, input
is required from those who can speak those languages to provide the
correct localization text. This is not a task that requires
programming skills, so users are encouraged to contribute their
expertise in this area. The details on how to go about this can be
found at:
http://calibre2opds.com/read-the-doc.../localization/

Known Issues
~~~~~~~~~~~~
The following issues are known to be outstanding in this release. More detail can be found by
looking at the calibre2opds issue register (http://calibre2opds.myjetbrains.com/youtrack/)
- #627926 Publish mode limiting formats allowed (will be fixed by #c2o-93)
- #729859 Internal links not working in XML catalogs
(may not be fixable as it tends to be a limitation of the OPDS clients)
- #c2o-15 Filenames generated can exceed system limits
(this is particularly likely to happen in the larger catalog sections on very large
libraries, or if many sub-levels based on tags are specified). The avoidance actio is
to ensure that the Maximum Number of Split Levels option is set to a small value (e.g. 3)
- #c2o-94: Trook compatibility (lack of Nook+Trook hindering investigation)
- #c2o-86: Incorrect Mime type for FB2 files (will be fixed by #c2o-93)
- #c2o-100: Uninstall does not work under Windows 7
- #c2o-123: Not handling missing file

- Localization: The current localizations now have significant gaps until users can provide the
required translation strings for the large number of new messages introduced in v3.0.

If you think that you have found a bug, or would simply like to raise a feature request for a
new capability this can be done via the calibre2opds Issue tracking system at
http://calibre2opds.myjetbrains.com/youtrack/

Outstanding Feature Requests
~~~~~~~~~~~~~~~~~~~~--------
The items listed below are under consideration for future releases.
Nore detail can be found in many cases on the calibre2opds Issue register
(http://calibre2opds.myjetbrains.com/youtrack/). Note that the fact a feature is listed
here is not a committment that it will appear, but merely that it is under consideration.
User are encouraged to add comments to the relevant issues in the Issue Register on their views.
- Improve/Extend localizations.
- #c2o-26: Introduce a carousel mode for the book pages
- #c2o-29: Generate a recent books RSS-compatible catalog
- #c2o-38: Is it possible to generate a flat display for catalogues
- #c2o-48: Generate the full-text search HTML page dynamically
- #c2o-59: Use Calibre library_sort field when sorting books
- #c2o-62: Unfriendly error message when problem with Search in custom catalogs
- #c2o-63: Allow for authors to be displayed like in Calibre
- #c2o-66: Custom catalog tab not correctly reset on switching profiles
- #c2o-74: Goto Page option in HTML catalogs
- #c2o-76: Add context sensitive links to help (documentation)
- #c2o-82: Test option for Saved Searches/ Custom Catalogs
- #c2o-90: Make Custom Catalogs setting easier to edit manually in XML
- #c2o-93: Make supported formats and Mime type extendable by users
- #c2o-96: Add some runtime stats on Search database
- #c2o-102: Advise user when Log file contains errors or warnings
- #c2o-103: Goodreads URL (by Goodreads ID when available)
- #c2o-105: Add a download link to the 'group' pages
- #c2o-107: Speed up All Books phase of catalog generation
- #c2o-108: Omit download section for books with no available download
- #c2o-109: Improve navigation links in pages
- #c2o-115: Send to Readmill Library
- #c2o-118: Provide more control over display and sorting of Authors
- #c2o-119: Provide more control over display and sorting of Series
- #c20-125: Add Publishers section to generated catalog
- #c20-139: Include the .opf files when copying the library in "Publish" mode
- #c2o-143: Allow the book links to external sites to be localized
- #c20-144: Remove redundant folder names in relative links
- #c2o-145: Option to avoid splitting books by letter within a tag
- #x2o-146: Improve Search facility for large libraries
- #c2o-147: Option to suppress selected tags in tags sub-catalog
- #c2o-153: Allow Calibre Custom Column values to be displayed in Book Details
- #c2o-154: Allow Calibre Custom Column values to be treated like additional tags
- #c2o-155: Allow Calibre Custom Column values to be used in calibre2opds search criteria

Any requests for new features should be made by adding them to the Issue Register,
but please look through the list above first to avoid unecessary duplication. If you
have a requirement that might need some new feature, but you are nor sure exactly what
that feature might be thenIt might be a good idea to first discuss them either in the
calibre2opds forum, or the "Related Tools" section of the Calibre forum

Release History
---------------
The following shows the Calibre2Opds releases in reverse chronological order (so that the most recent
is at the top) showing main changes and bug fixes. The bug number references are to those
that have been recorded in the Issue tracker.

v3.2
- Change: Documentation moved back to wiki on MobileRead as it is easier to maintain than is the case on WordPress.
Using a wiki also allows for users to update it directly which should help with improving the documentation.
- Change: Reworked the way that filenames within the catalog are derived. Should mean that filenames are shorter
and less cryptic. However invalidates any cached names from earlier releases.
- Change: Reworked way the 'encrypt' files option is handled. When active an 'encryption string' is
added at the start of folder/file names only - but the remainder of names is same as unecrypted versions.
- Change: Improvements to run.cmd and rungui.cmd for handling 32-bit Java on 64-bit Windows
- Change: Changed the way progress text messages are derived so should be more meaningfull.
- New: Added counts to some of the generation progress lines where it made sense (authors, tags, series etc)
- Fix: #c2o-18: Re-organise GUI fields amongst the various tabs
(in particular move Featured Books fields to Custom Catalogs tab)
- Fix: #c2o-85: Sorting in the All Books catalog should ignore case
- Fix: #c2o-91: Setting catalog folder to root (/) is not treated as an error
- New: #c2o-97: Context sensitive help on configuration tabs
- Fix: #c2o-110: Remove the display of the "Stop catalog generation Button" while other dialog displayed on top
- Fix: #c2o-111: The "All Books" section within an author not sorted alphabetically
- New: #c2o-112: Do not delete .htaccess files from generated catalog
- Fix: #c2o-113: Tags have square brackets added in Book Details
- Fix: #c2o-114: Language is ignored when running on command line (cli)
- Fix: #c20-116: Improvements to German localization (thanks to Venia.Legendi)
- New: #c2o-117: Include year in Recent sub-catalog entries
- New: #c2o-120: Remove option to Exit from the confirm dialog displayed after pressing Save
- New: #c20-121: Add links to Localization and customization guides to Help menu
- New: #c2o-122: Allow more control over contents of Book Details pages.
- Fix: #c2o-123: Not handling missing file
- Fix: #c2o-128: Not Reading Ratings
- Fix: #c2o-130: prc format crashed calibre2opds
- Fix: #c2o-133: Add support for Kindle KF8 and AZW3 formats
- Fix: #c2o-134: Wrong sorting of list of authors/title with accent
- Fix: #c20-135: CALIBRE2OPDS_CONFIG Environment variable used incorrectly
- Fix: #c2o-140: Help URL's do not point to latest documentation
- Fix: #c2o-141: The 'Open Log File' option does not work on Windows 8
- New: #c2o-142: Allow the book links to external sites to be localized
(implemented for GUI defauls - not yet made book language specific)
- New: #c2o-147: (partial for Language) Option to suppress selected tags in tags sub-catalog
- Fix: #c2o-148: Catalog generation crashes 3.2 RC (r206)
- New: #c2o-149: Added an option to clear encrypted filenames cache to Tools menu
- Fix: #c2o-150: Bug 3.2 rev206M - java.lang.NullPointerException: null
= Fix: #c2o-151: Incorrect index link
- Fix: #c2o-152: Catalog generation causes crash. v. 3.1 rev170M and v3.2 Release Candidate (rev 206)
- Fix: #c2o-153: Crash during Copy if Calibre has altered book author/title during run
- New: #c2o-154: Allow the user to decide if language should be treated like a tag


You can discuss calibre2opds here in the Calibre mobileread forum, or use the dedicated calibre2opds forum shown in the links below.

Useful links

Last edited by itimpi; 10-22-2013 at 06:15 AM.
itimpi is offline   Reply With Quote
Old 03-26-2013, 06:49 PM   #2
edbro
Banned
edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.
 
Posts: 640
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
Will not install. Clicking on install.cmd brings up a fleeting command window but nothing happens. Looking at the file in a text editor shows that it looks for install.jar. There is no such file in the download.

I can run the program without installing by running rungui.cmd. Catalog generation causes it to crash. "Unexpected fatal error during catalog generation. See log file for more details."

The last part of the log is:

Code:
26-03-2013 18:02:57,212 [] INFO com.gmail.dpierron.calibre.opds.Catalog - Do not generate external links                     : no
26-03-2013 18:02:57,212 [] INFO com.gmail.dpierron.calibre.opds.Catalog - Do not generate cross-reference links              : no
26-03-2013 18:02:57,212 [] INFO com.gmail.dpierron.calibre.opds.Catalog - Display book titles using the Calibre 'title_sort' field : no
26-03-2013 18:02:57,212 [] INFO com.gmail.dpierron.calibre.opds.Catalog - Display author names using the Calibre 'author_sort' field : no
26-03-2013 18:02:57,212 [] INFO com.gmail.dpierron.calibre.opds.Catalog - Include Modified Date in the Book Details          : no
26-03-2013 18:02:57,212 [] INFO com.gmail.dpierron.calibre.opds.Catalog - Language                                           : en
26-03-2013 18:02:57,212 [] INFO com.gmail.dpierron.calibre.opds.Catalog - Database folder                                    : D:\Dropbox\Public\Ebooks
26-03-2013 18:02:57,212 [] INFO com.gmail.dpierron.calibre.opds.Catalog - 
26-03-2013 18:02:57,331 [] INFO com.gmail.dpierron.calibre.opds.Catalog - started catalog generation
26-03-2013 18:02:57,332 [] INFO com.gmail.dpierron.calibre.opds.Catalog - loading and filtering database
26-03-2013 18:02:58,400 [] INFO com.gmail.dpierron.calibre.opds.Catalog - Database loaded: 3255 books
26-03-2013 18:02:58,402 [] INFO com.gmail.dpierron.calibre.opds.Catalog - done in 1,065 millisec.
26-03-2013 18:02:58,403 [] INFO com.gmail.dpierron.calibre.cache.CachedFileManager - CRC Cache file set to D:\Dropbox\Public\Ebooks\_catalog\calibre2opds.cache
26-03-2013 18:02:58,403 [] INFO com.gmail.dpierron.calibre.opds.Catalog - done in 0 millisec.
26-03-2013 18:02:58,420 [] INFO com.gmail.dpierron.calibre.opds.Catalog - generating all books catalog
26-03-2013 18:02:58,502 [] ERROR com.gmail.dpierron.calibre.opds.Catalog -  
26-03-2013 18:02:58,502 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - *************************************************
26-03-2013 18:02:58,502 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - UNEXPECTED FATAL ERROR DURING CATALOG GENERATION.  SEE LOG FILE FOR MORE DETAIL.
26-03-2013 18:02:58,502 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - CAUSE: java.lang.NullPointerException: null
26-03-2013 18:02:58,502 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - MESSAGE: null
26-03-2013 18:02:58,502 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - STACK TRACE:
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.opds.secure.SecureFileManager.getSplitFilename(SecureFileManager.java:254)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.opds.BooksSubCatalog.getListOfBooks(BooksSubCatalog.java:349)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.opds.BooksSubCatalog.getListOfBooks(BooksSubCatalog.java:226)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.opds.BooksSubCatalog.getListOfBooksSplitByLetter(BooksSubCatalog.java:674)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.opds.BooksSubCatalog.getListOfBooks(BooksSubCatalog.java:381)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.opds.BooksSubCatalog.getListOfBooks(BooksSubCatalog.java:226)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.opds.AllBooksSubCatalog.getSubCatalogEntry(AllBooksSubCatalog.java:89)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.opds.AllBooksSubCatalog.getSubCatalogEntry(AllBooksSubCatalog.java:68)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.opds.Catalog.createMainCatalog(Catalog.java:788)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - com.gmail.dpierron.calibre.gui.Mainframe$3.run(Mainframe.java:358)
26-03-2013 18:02:58,503 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - java.lang.Thread.run(Unknown Source)
26-03-2013 18:02:58,504 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - *************************************************
26-03-2013 18:02:58,504 [] ERROR com.gmail.dpierron.calibre.opds.Catalog -  
26-03-2013 18:02:58,504 [] INFO com.gmail.dpierron.calibre.opds.Catalog - Deleting temporary Files
26-03-2013 18:02:58,507 [] INFO com.gmail.dpierron.calibre.opds.Catalog - done in 2 millisec.
26-03-2013 18:02:59,962 [] ERROR com.gmail.dpierron.calibre.opds.Catalog - Unexpected fatal error during catalog generation.  See log file for more detail.

Last edited by edbro; 03-26-2013 at 07:04 PM.
edbro is offline   Reply With Quote
Advert
Old 03-26-2013, 11:37 PM   #3
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Thanks for te report even if it is to report a problem

You were not meant to attempt to use the install.cmd file! The instructions said to simply unzip the package replacing an existing install! I might need to look at whether install.cmd should even be included in the zip package. I think it is just a legacy from an earlier release that was overlooked, but if it is to be kept it probably needs amending to pick up the correct jar file.

As to why it is crashing for you I have no idea without further information. The best way to get this investigated would be to raise an issue at http://calibre2opds.myjetbrains.com/youtrack/issues and to attach the following:
- The full log file
- a copy of the Calibre metadata.db file (zipped if necessary to reduce size).
- ideally a copy of the default.xml file from the configuration folder to help with duplicating your settings.
With that I can try and reproduce your symptoms on my system.

Last edited by itimpi; 03-27-2013 at 05:15 AM.
itimpi is offline   Reply With Quote
Old 03-29-2013, 10:15 AM   #4
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Just to let everyone know that it appears the calibre2opds project's license for the YouTrack Issue tracker has expired This is a complementary (free) license we get from Jetbrains as an Open source product so I suspect we will not be able to get it re-activated until after the Easter break. In the meantime any issue should be handled either here or in the dedicated calibre2opds forum.
itimpi is offline   Reply With Quote
Old 07-15-2013, 12:21 PM   #5
ki5ck
Connoisseur
ki5ck began at the beginning.
 
Posts: 72
Karma: 10
Join Date: Dec 2008
Device: iPhone, Note3
Windows 7 x64
Installed this by copying over the file. The GUI runs fine, but when I try to run this as a scheduled job (a batch file that runs run.cmd) I get this error:

[INFO] "C:\Program Files (x86)\Java\jre6\bin\JAVA.EXE" -Xms128m -Xmx512m -cp Op
dsOutput-3.1-SNAPSHOT.jar Cli
Exception in thread "main" java.lang.NoClassDefFoundError: Cli
Caused by: java.lang.ClassNotFoundException: Cli
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Cli. Program will exit.
'
"-----------------------"
" Calibre2Opds FINISHED "
"-----------------------"
ki5ck is offline   Reply With Quote
Advert
Old 07-15-2013, 12:40 PM   #6
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Looks like there is an error in the run.cmd batch file as it is trying to run the wrong .jar file! I personally rarely run batch mode so it has not been picked up in testing

If you edit it in a text editor and near the end replace the 'OpdsOutput-3.1-SNAPSHOT.jar' with '%_C2O%' it should fix the problem.
itimpi is offline   Reply With Quote
Old 07-15-2013, 12:47 PM   #7
ki5ck
Connoisseur
ki5ck began at the beginning.
 
Posts: 72
Karma: 10
Join Date: Dec 2008
Device: iPhone, Note3
That fixed it. It's off and running now.
Thanks!
ki5ck is offline   Reply With Quote
Old 08-01-2013, 07:58 PM   #8
edbro
Banned
edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.
 
Posts: 640
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
Quote:
Originally Posted by itimpi View Post
A bug has been reported against the 3.2 r207 build where you get a crash if you enable the encrypted filenames option. This is currently being worked on and a fixed build is imminent..
Did this ever get fixed? I'm anxious to try again but I really need the encrypted filenames for my Dropbox library.
edbro is offline   Reply With Quote
Old 09-25-2013, 08:32 AM   #9
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Just for those interested I have put a new build of Calibre2opds (229) on the Downloads page. This fixes all issues that I know about (or at least I can no longer reproduce issues with my test libraries). I have labelled this is as RC2, but if no significant issues are found I will relabel it as the 3.2 final release so that work can start on the 3.3 release.

This release has had major work done on the internals of calibre2opds that should improve reliability and help act as a basis for future development. One visible manifestation of is that folder/filenames used within the catalog are changed and are more human readable. In addition here are a lot less folders generated) which should make catalogs slightly smaller.

As a teaser one of things that is being worked on for the 3.3 release is support for Calibre Custom columns which is something widely requested. Quite how this will end up manifesting itself is going to depend on what issues are found during implementation.
itimpi is offline   Reply With Quote
Old 09-26-2013, 03:59 AM   #10
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Just added a RC3 build (230M) to the downloads page to fix a silly regression in RC2 (229M) where split-by-letter in the Series sub-catalog was not working
itimpi is offline   Reply With Quote
Old 10-02-2013, 10:53 AM   #11
ki5ck
Connoisseur
ki5ck began at the beginning.
 
Posts: 72
Karma: 10
Join Date: Dec 2008
Device: iPhone, Note3
Using Win7 x64
GUI works fine, except "Maximum length of book summary" cannot be saved as -1; when the program reopens, it goes back to 500. I was able to set it to 5000 though.

Running my nightly command line batch, I get this error:

Code:
Calibre2opds startup
====================
'
Free RAM: 2757556
'
[INFO]  Trying to locate Java on this system
[INFO]  ====================================
[INFO] Java location not found via JAVA_HOME environment variable
[INFO] Java not found in default JRE6 location [C:\Program Files\Java\jre6]
[INFO] Java not found in default JRE7 location [C:\Program Files\Java\jre7]
[INFO] Java found at default 32-bit Java on 64-bit Windows JRE6 location [C:\Pro
gram Files (x86)\Java\jre6]
| was unexpected at this time.

Last edited by ki5ck; 10-02-2013 at 10:56 AM.
ki5ck is offline   Reply With Quote
Old 10-02-2013, 01:17 PM   #12
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I will look into not being able to save -1. I am not sure if -1 should even be allowed - it is rare for people to want that large a value here (note this is the summary under a list of books, not the summary under book details which is always shown ay full length). Most people want to reduce it from the default value of 250 rather than increase it. However as you found using a large value is a valid workaround if you want all the summary. I also noted that the description of this setting was not present in the documentation - I have rectified that!

Regarding the batch file issue, open it in a text editor and look for Calibre2|OpdsConfig just before the :start_c2o label, and remove the |. Not sure how that got in there!
itimpi is offline   Reply With Quote
Old 10-02-2013, 01:58 PM   #13
ki5ck
Connoisseur
ki5ck began at the beginning.
 
Posts: 72
Karma: 10
Join Date: Dec 2008
Device: iPhone, Note3
Removing the | allowed the command line version to run, thanks.

We might not be talking about the same summary setting. My book details summary has always been truncated for longer summaries (since I never tried going above 500, and setting -1 did not work). Setting this to 5000 no longer truncates my summaries, at least as far as I can tell so far.

I hadn't realized there was a summary in the list of books, since I always browse using my ereader and a summary is not shown in a list.

This is the setting I'm referring to. Notice the popup does say "Set to -1 to never truncate".



And by the way, thank you for all the work you put into this. I hope I don't sound like I'm complaining; I really do love the ability this program gives me to access my books on the web.
ki5ck is offline   Reply With Quote
Old 10-02-2013, 07:05 PM   #14
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I must admit I had forgotten about the tooltip text! Looking at the code the value of -1 to avoid truncation has not been honoured for some time. I can look at allowing it again easily enough.

The OPDS standard specifies a short summary and a long summary. The short summary is constrained to be plain text whereas the full summary can have embedded HTML formatting. That setting is for the short summary that is normally displayed as an additional line or two when showing a list of books. eReader software that is OPDS aware should use the full summary when it makes sense - not the short summary. In Calibre2opds generated catalogs the full summary is in effect the Calibre Comments field with some additional information added.

The difference between these two different types of summary is most obvious when looking at HTML format catalogs. The short summary is displayed at the same level as a list of books, while the full summary is displayed when you drill down to a particular book.

In particular when you ask for the metadata for a specific book the ereader should be using the full summary. It sounds as if yours is not? One (otherwise excellent) ereader app that I know gets this wrong is Marvin on iOS - it always uses the short summary. Other iOS ereader apps such as MegaReader use the short and full summaries as appropriate. I have emailed the Marvin author about this but had no response. I see there is now a Marvin forum on MobileRead so perhaps I should bring it up there.
itimpi is offline   Reply With Quote
Old 10-03-2013, 05:21 AM   #15
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Looks like there were 2 errors in the code relating to Maximum Book Summary length:
  • A value of -1 was not getting saved so it would subsequently revert to its previous value the next time calibre2opds was run.
  • The check for maximum length did not recognize -1 as a special case.
I will fix both for the next build.
itimpi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre2opds v3 - OPDS catalogs from your Calibre library itimpi Related Tools 31 02-10-2013 04:16 PM
Popular public OPDS catalogs kguil Apple Devices 37 01-01-2013 05:00 PM
OPDS catalogs access knfevg PocketBook 7 12-04-2012 04:55 AM
List of Free Online OPDS Catalogs? Madmick General Discussions 1 01-14-2012 12:09 AM
Call for comments: OPDS Catalogs 0.9 draft (open catalog standard ebooks) zelda_pinwheel News 4 05-14-2010 01:02 PM


All times are GMT -4. The time now is 02:50 AM.


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