janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
13.2k stars 1.41k forks source link

Calibre-web - restore original kobo settings #2637

Closed psyciknz closed 1 year ago

psyciknz commented 1 year ago

Hi

When first setting up a kobo with calibre web I tried the kobo sync option, but have decided to stick with koreader reading opds instead.

Stupidly, when i alter the kobo ereader.conf for the api end point and other settings, I didn't record their original values.

I've set the api_end_point back to api_endpoint=https://storeapi.kobo.com/ - is there anything else I can set back to original. I get errors when I hit the discover back talking about an network error.

psyciknz commented 1 year ago

Actually it's just the discover eBooks tab. The koboPlus and Overdrive Tabs seems to work as they should. Same with search etc.

OzzieIsaacs commented 1 year ago

In the same block like the api_key setting there are 3 more lines, which are getting changed by the Kobo Reader itself:

image_host=...
image_url_quality_template=http://.../{ImageId}/{width}/{height}/{Quality}/isGreyscale/image.jpg
image_url_template=http://.../{ImageId}/{width}/{height}/false/image.jpg

This should also be set to the original endpoint. For me it worked to delete the file, eject the reader and restart the reader. This recreated the file (I had to re enter my user interface language preference). !You are doing this on your own risk! Here is file content afterwards:

[ApplicationPreferences]
CurrentLocale=de
DesktopSyncCount=1
EarliestChangeLog=4.30.18838
HomePageViewVisitCount=2
LastUpdateCheckTime=@Variant(\0\0\0\x10\0%\x89?\x1\xcbK\xac\x2)
MostRecentReadID="file:///mnt/onboard/Schiewe, Ulf/Kinder von Nebra, Die - Ulf Schiewe.epub"
firstRunDate=@Variant(\0\0\0\x10\0%\x89?\x1\xcb\x11\x63\x2)
lastPlugTime=@Variant(\0\0\0\x10\0%\x89?\x1\x98\xa5\x8a\x2)

[OneStoreServices]
account_page=https://secure.kobobooks.com/profile
account_page_rakuten=https://my.rakuten.co.jp/
autocomplete=https://storeapi.kobo.com/v1/products/autocomplete
book=https://storeapi.kobo.com/v1/products/books/{ProductId}
book_detail_page=https://www.kobo.com/{region}/{language}/ebook/{slug}
book_detail_page_rakuten=http://books.rakuten.co.jp/rk/{crossrevisionid}
book_landing_page=https://www.kobo.com/ebooks
categories=https://storeapi.kobo.com/v1/categories
category=https://storeapi.kobo.com/v1/categories/{CategoryId}
category_products=https://storeapi.kobo.com/v1/categories/{CategoryId}/products
dictionary_host=https://kbdownload1-a.akamaihd.net
discovery_host=https://discovery.kobobooks.com
dropbox_link_account_poll=
eula_page="https://www.kobo.com/termsofuse?style=onestore"
featured_list=https://storeapi.kobo.com/v1/products/featured/{FeaturedListId}
featured_lists=https://storeapi.kobo.com/v1/products/featured
feedback=
fte_feedback=https://storeapi.kobo.com/v1/products/ftefeedback
image_host=//kbimages1-a.akamaihd.net/
image_url_quality_template=https://kbimages1-a.akamaihd.net/{ImageId}/{Width}/{Height}/{Quality}/{IsGreyscale}/image.jpg
image_url_template=https://kbimages1-a.akamaihd.net/{ImageId}/{Width}/{Height}/false/image.jpg
kobo_audiobooks_credit_redemption=False
kobo_audiobooks_enabled=False
kobo_dropbox_link_account_enabled=False
kobo_privacyCentre_url=https://www.kobo.com/privacy
kobo_redeem_enabled=True
kobo_subscriptions_enabled=False
kobo_superpoints_enabled=False
love_points_redemption_page="https://www.kobo.com/{region}/{language}/KoboSuperPointsRedemption?productId={ProductId}"
oauth_host=https://oauth.kobo.com
password_retrieval_page=https://www.kobo.com/passwordretrieval.html
privacy_page="https://www.kobo.com/privacypolicy?style=onestore"
product_recommendations=https://storeapi.kobo.com/v1/products/{ProductId}/recommendations
product_reviews=https://storeapi.kobo.com/v1/products/{ProductIds}/reviews
purchase_buy_templated=https://www.kobo.com/{region}/{language}/checkout/createpurchase/{ProductId}
reading_services_host=https://readingservices.kobo.com
registration_page="https://authorize.kobo.com/signup?returnUrl=http://kobo.com/"
review=https://storeapi.kobo.com/v1/products/reviews/{ReviewId}
review_sentiment=https://storeapi.kobo.com/v1/products/reviews/{ReviewId}/sentiment/{Sentiment}
sign_in_page="https://authorize.kobo.com/signin?returnUrl=http://kobo.com/"
social_host=https://social.kobobooks.com
store_home=www.kobo.com/{region}/{language}
store_host=www.kobo.com
store_search="https://www.kobo.com/{region}/{language}/Search?Query={query}"
subs_landing_page=
subs_management_page=
subs_plans_page=
subs_purchase_buy_templated=
subscription_publisher_price_page=
taste_profile=https://storeapi.kobo.com/v1/products/tasteprofile
user_ratings=https://storeapi.kobo.com/v1/user/ratings
user_recommendations=https://storeapi.kobo.com/v1/user/recommendations
user_reviews=https://storeapi.kobo.com/v1/user/reviews
userguide_host=https://kbdownload1-a.akamaihd.net