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}}": {
"mtime": "{{entry.last_modified}}",
"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 %}
{% endfor %}
},
@ -36,9 +36,8 @@
"timestamp": "{{entry.timestamp}}",
"thumbnail": "/opds/cover/{{entry.id}}",
"main_format": {
"epub": "/get/epub/391"
"{{entry.data[0].format|lower}}": "/download/{{entry.id}}/{{entry.data[0].format|lower}}"
},
"rating": 0.0,
"authors": [
{% for author in entry.authors %}
"{{author.name}}"{% if not loop.last %},{% endif %}