View Single Post
Old 11-06-2017, 07:41 PM   #1
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 1,897
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
Content Server: Set default download format?

I have gotten the Content Server to 99% of what I want. Very happy with this!

The one last thing that I'd like to do, if possible, is set the default format for the "Download" button to AZW3. Many of my books are stored in both AZW3 and EPUB. The "Download" button always defaults to EPUB. I would prefer a default of AZW3, although this is a minor thing and not a deal killer. Is there a way to do this?

The URL that is generated on the default "Download" button is like this example:

http://localhost:8080/get/EPUB/88/Calibre

I would prefer it to be:

http://localhost:8080/get/AZW3/88/Calibre

...for books that are in both AZW3 and EPUB format.

Since I am the only user of my Content Server (and not from localhost either - that's just for testing), I can live with this. I won't be using my Content Server all that often either - only when away from home on trips, etc. It's not too bad to have to first pick a format via hyperlink, then say to download it. The current Content Server implementation allows this. So this is a minor little thing, but hey, configuring things to work exactly as you'd like them is half the fun of setting something like this up! For the most part, I will be using my Kindle and not my Nook, so I'd prefer AZW3 as the default download format.
haertig is offline   Reply With Quote