1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-26 18:10:30 +00:00

Download with calibre-companion now working (#79)

This commit is contained in:
OzzieIsaacs 2017-01-12 21:03:47 +01:00
parent 0107c52b66
commit 799d54bb24

View File

@ -6,7 +6,7 @@
"{{format.format}}": { "{{format.format}}": {
"mtime": "{{entry.last_modified}}", "mtime": "{{entry.last_modified}}",
"size": {{format.uncompressed_size}}, "size": {{format.uncompressed_size}},
"path": "/mnt/share/Data/alte_ebooks/Cornelia Ziegler/111 Orte auf Kreta die man gesehen haben muss (391)/111 Orte auf Kreta die man gesehen haben m - Cornelia Ziegler.epub" "path": ""
}{% if not loop.last %},{% endif %} }{% if not loop.last %},{% endif %}
{% endfor %} {% endfor %}
}, },
@ -36,9 +36,8 @@
"timestamp": "{{entry.timestamp}}", "timestamp": "{{entry.timestamp}}",
"thumbnail": "/opds/cover/{{entry.id}}", "thumbnail": "/opds/cover/{{entry.id}}",
"main_format": { "main_format": {
"epub": "/get/epub/391" "{{entry.data[0].format|lower}}": "/download/{{entry.id}}/{{entry.data[0].format|lower}}"
}, },
"rating": 0.0,
"authors": [ "authors": [
{% for author in entry.authors %} {% for author in entry.authors %}
"{{author.name}}"{% if not loop.last %},{% endif %} "{{author.name}}"{% if not loop.last %},{% endif %}