Giter Site home page Giter Site logo

Comments (13)

ajslater avatar ajslater commented on July 29, 2024

I'm having trouble reproducing this.

I just opened Panels on my iPhone and connected to my server running codex v1.5.13 with docker. This server version is tagged as "latest" or "v1.5.13a2". I navigated to a comic I'd never read before and streamed the pages successfully. I also downloaded the comic successfully.

It seems odd that you can navigate to comics but not access them, so it's not a general url, proxy or authorization error. Can you think of anything else unusual about your setup? Have you tried navigating the OPDS urls with a web browser and seeing if you can access the streaming or download urls? Navigating that way is a little tedious because the urls embedded in the xml aren't rendered as hyperlinks by the browser, but with a little copy and paste we might get closer to figuring out what's going on.

from codex.

ipkstef avatar ipkstef commented on July 29, 2024

Thank you for the prompt reply, i will run through your debugging tips after work and report back

from codex.

abillauer avatar abillauer commented on July 29, 2024

I am also seeing something odd with OPDS. I am using OPDS V1 and chunky and I can't connect. The Connection fails. I was able to connect prior to the upgrade.

I am not sure how auth works for OPDS but these steps are what I have seen so far:

  1. Login into the codex web interface
  2. Navigate to the OPDS URL in a new tab (http://XXX.XXX.XXX.XXX:9810/opds/v1.2/r/0/1) and I get back the OPDS XML

  1. Open private browsing window Navigate to the OPDS URL in a new tab (http://XXX.XXX.XXX.XXX:9810/opds/v1.2/r/0/1) I get a "Server Error (500)" I am not sure if it is supposed to prompt for a password but it doesn't (I tried FireFox and Safari) Is there a URL modifier to pass the login credentials? Something else?

I have the log level at debug and I don't see any OPDS activity there.

Any guidance would be appreciated.

from codex.

ajslater avatar ajslater commented on July 29, 2024

I just tried with a private window and was able to get the XML. However I have anonymous access allowed on that server.

The way authorization works with OPDS is through HTTP AUTH. If you have private only access enabled, you'll need to pass credentials that way, e.g.

http://user@password:xxx.xxx.xxx.xxx:9810/opds/v1.2/r/0/1)

OPDS clients usually handle this.

I'm about to board a flight, so I expect I'll get back to this tomorrow at earliest.

from codex.

abillauer avatar abillauer commented on July 29, 2024

That didn't work for me. The browser couldn't parse the address and I got a search error.

I also tried
http://xxx.xxx.xxx.xxx:9810/opds/v1.2/r/0/1:user@password

but that yielded a 500.

Have a safe flight!

from codex.

ajslater avatar ajslater commented on July 29, 2024

from codex.

abillauer avatar abillauer commented on July 29, 2024

I tried

http://user:[email protected]:9810/opds/v1.2/r/0/1

and I got a 500 error.
I do not have anonymous access on.

When I turn on anonymous access the browser connects and the user passoword works in chunky. Oddly enough I am now seeing the same behavior reported. Chunky only will let me download and not stream the comics.

from codex.

ajslater avatar ajslater commented on July 29, 2024

I fixed some things in the new v1.5.14

  • I was able to replicate codex breaking all OPDS on a redirect, which it does sometimes. And I think I fixed that.
  • I am able to stream & download on Panels for iOS
  • I am able to stream & download on Chunky for macOS (kind of wild that there is a Chunky build for macOS)

from codex.

abillauer avatar abillauer commented on July 29, 2024

I installed 1.5.14 and it fixes the login issue on Chucky on IOS. The streaming issue still exists but I think I have a bit more of a direction.

When I navigate in Chunky by file view and I try to view a comic that has no meta data the files show up as title "0000" and I can only download them. When I view by publisher/series I can see the full title and I can stream.

It is odd there is anything there as I have the "Import Metadata on Library Scan" Flag unchecked. I think the OPDS file view is what is impacted with no meta-data.

from codex.

abillauer avatar abillauer commented on July 29, 2024

"It is odd there is anything there as I have the "Import Metadata on Library Scan" Flag unchecked. I think the OPDS file view is what is impacted with no meta-data."

I just realized (and confirmed) the meta-data that is there was created on read. So at least that is explained : )

from codex.

ajslater avatar ajslater commented on July 29, 2024

When I navigate in Chunky by file view and I try to view a comic that has no meta data the files show up as title "0000" and I can only download them. When I view by publisher/series I can see the full title and I can stream.
...
I have the "Import Metadata on Library Scan" Flag unchecked

Aha! This will help reproduction, thanks!

from codex.

ajslater avatar ajslater commented on July 29, 2024

This was Chunky being a little too helpful.
Without scanning metadata we don't get book page counts. When chunky sees a pse streaming link without a page count it assumes it's a zero length book and not streamable.
So similar to my web reader I'm now doing just in time page count reading for chunky and any other opds readers that require page counts greater that 0 or even accurate page counts.

Fixed I think in v1.5.15

from codex.

abillauer avatar abillauer commented on July 29, 2024

THANK YOU!! Works amazing now.

Thanks again for all your hard work!! Codex rocks!!

from codex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.