Download with calibre-companion now working (#79)

pull/92/head
OzzieIsaacs 8 years ago
parent 0107c52b66
commit 799d54bb24

@ -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 %}

Loading…
Cancel
Save