• Fmstrat@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    16 hours ago

    doesn’t handle concurrency

    Kavita is multiuser, each with their own progress sync. https://wiki.kavitareader.com/getting-started/

    Now do tell, is it page 10 on a 5" 800x480 eink display with 48px font size and giant margins/lineheights/word paddings, or is it page 10 on a 13" display of 2480x1860 resolution with 11px font size and barely any margins

    Again, it’s a protocol and developer discression can be used. Page 10 could be word 10, or word 1000/avg 10 words = 10. PSE can be used to store progress, without needing to request the page because the eBook is local. It could be any API format.

    • fonix232@fedia.io
      link
      fedilink
      arrow-up
      1
      ·
      13 hours ago

      by concurrency I meant multiple devices of the same user, not multiple users. I don’t know why you’d even consider that I think other users’ progress should be exposed on a single call?

      and yet again, that progress doesn’t mean anything when you base it on a number. locator patterns that find the SECTION you’re in based on first-last word (or rather, sentence, for actual precision) are the way to go. you can try hacking this simplified protocol as much as you want, it will never work as well as a dedicated one.