View Single Post
Old 11-20-2020, 10:35 AM   #12
basker
Junior Member
basker began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2020
Device: none
Have the same problem.

Hi,

I can't seem to get this working either. I'm on macOS with Caliber 5.5.

I have a library name "Calibre Library". I opened a book to get the URL.

The URL I get from the Calibre Viewer is:

Code:
URL for this position: calibre://view-book/_hex_-43616c696272655f4c696272617279/206/EPUB?open_at=epubcfi(/2/2/4/2@49.92:50)
I then made a new URL for showing the book:

Code:
calibre://show-book/_hex_-43616c696272655f4c696272617279/206
When I click this, Calibre opens but doesn't go anywhere, or show the book.

Just to check I made sure things made sense (0a at end is null terminator):

Code:
xxd -p <<< "Calibre_Library" 
43616c696272655f4c6962726172790a
I also tried hex encoding with a space instead of underscore (removed the 0a in the URL):
Code:
xxd -p <<< "Calibre Library" 
43616c69627265204c6962726172790a

calibre://show-book/_hex_-43616c69627265204c696272617279/206
In this case, Calibre also opens but doesn't go anywhere, or show the book.

Thanks!
basker is offline   Reply With Quote