Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FBreader (Android) downloads text files as epub #32

Open
clach04 opened this issue Aug 3, 2024 · 1 comment
Open

FBreader (Android) downloads text files as epub #32

clach04 opened this issue Aug 3, 2024 · 1 comment

Comments

@clach04
Copy link
Owner

clach04 commented Aug 3, 2024

Unclear if this is FBreader behavior or webook_server bug/behavior. Only one download button in android app, and so epub conversion takes place which is needless:

INFO:__main__:browsing directory
INFO:__main__:determine client type
DEBUG:__main__:HTTP_ACCEPT ''
DEBUG:__main__:HTTP_USER_AGENT 'FBReader/3.1.7 (Android 10, star2qltechn, SM-G9650)'
DEBUG:__main__:client_type 'OPDS'
INFO:werkzeug:opds_server_address - - [02/Aug/2024 22:23:07] "GET /file/ HTTP/1.1" 200 -
INFO:__main__:opds_root
'/epub/aaa_text.txt'
INFO:__main__:opds_browse
INFO:__main__:directory_path_split  ['', 'epub', 'aaa_text.txt']
INFO:__main__:browse 'aaa_text.txt'
INFO:__main__:operation_requested 'epub'
INFO:__main__:directory_path aaa_text.txt
INFO:__main__:os_path /...../media/reading/aaa_text.txt
INFO:__main__:serve file
INFO:__main__:serve existing_ebook_format 'txt'
INFO:__main__:convert ebook from /...../media/reading/aaa_text.txt into epub
.....
EPUB output written to /tmp/ebookserver/fixme_generate_filename.epub
Output saved to   /tmp/ebookserver/fixme_generate_filename.epub
INFO:werkzeug:opds_server_address - - [02/Aug/2024 22:23:16] "GET /epub/aaa_text.txt HTTP/1.1" 200 -

End up with aaa_text.txt.epub (filename _ epub appended).

@clach04
Copy link
Owner Author

clach04 commented Aug 3, 2024

Wondering if FBReader (and Alreader #33) are confused by the multiple download link options that KoReader:

  1. Handles really well....
  2. ... And in fact really needs to offer control over download format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant