mikespub-org / seblucas-cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
55 stars 7 forks source link

Moonreader V9.3 seems to be incompatible with 2.7.1 (2.7.2?) #85

Open erdoking opened 1 month ago

erdoking commented 1 month ago

After updating the docker container linuxserver/cops to v2.7.2 MoonReader+ are unable to open librarys. Librarys are listed but without function - maybe with wrong url because of loop. Downgrade to 2.6.1 fixed the issue.

x.x.x.x - - [29/May/2024:10:22:34 +0200] "GET /?db=0 HTTP/1.1" 302 - "-" "OPDS/Stanza iPhone/Aldiko/Moon+ Reader(Android)"
x.x.x.x - - [29/May/2024:10:22:34 +0200] "GET /feed.php HTTP/1.1" 200 1962 "-" "OPDS/Stanza iPhone/Aldiko/Moon+ Reader(Android)"
x.x.x.x - - [29/May/2024:10:22:36 +0200] "GET /?db=0 HTTP/1.1" 302 - "-" "OPDS/Stanza iPhone/Aldiko/Moon+ Reader(Android)"
x.x.x.x - - [29/May/2024:10:22:36 +0200] "GET /feed.php HTTP/1.1" 200 1962 "-" "OPDS/Stanza iPhone/Aldiko/Moon+ Reader(Android)"
mikespub commented 1 month ago

Hi @erdoking

I'm not sure I understand what you mean by "listed without function" here. Can you show an example of what the /feed.php output is then?

[Note: the first redirect from /?db=0 to /feed.php is as expected for Moon+ Reader - you could define /feed.php directly as URL for your library here instead of going through /?db=0 first if you want]

shaoyangx commented 4 weeks ago

I also encountered the same problem. In version 2.7.2, when there are multiple book libraries $config['calibre_directory'] = array ("ebook" => "/books/ebook/", "资料" => "/books/资料/", "测试" => "/books/测试/"); opds connection and clicking the book library will loop infinitely on the book library selection page and cannot enter the book library. However, when the configuration file is a single book library, it can work normally. $config['calibre_directory'] = '/books/测试/'; and in the feed.php file, the only difference is whether there is /feed.php in the <link href="/feed.php?db=0" connection. Judging from the output, the only difference in the output after entering the library is the version number. After switching back to 2.6.1, it returned to normal. The configuration files are exactly the same, no changes were made feed.zip