Giter Club home page Giter Club logo

komf-userscript's People

Contributors

blathers16 avatar majora2007 avatar rroler avatar snd-r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

komf-userscript's Issues

Not working in Safari v17.1

Hello,

I managed to get the Komf docker working with Komga and Kavita support. I am able to use the userscript in Chrome, but it is not working or appearing for me in Safari.

Here's what I see in the developer console:

Screen Shot 2023-11-30 at 12 47 23 PM

I'm not particularly knowledgeable in userscripts/coding, if there's anything else you need please let me know.

[Issue]Komga and Komf Userscript Configuration

截图_20240516193240

I apologize, but I may need some help.
I installed Komga and Komf on my NAS using the following docker-compose configuration and have set them up. I can see from the logs that Komf is already running. However, when I try to install the komf-userscript script on my computer using the Edge browser to configure the Komf server, accessing http://192.168.3.19:8085/ results in a Network Error. I would like to ask how I should set this up.

version: "3.3"
services:
  komga:
    image: gotson/komga:latest
    container_name: komga
    volumes:
      - /share/CACHEDEV1_DATA/Container/komga/config:/config
      - /share/CACHEDEV1_DATA/Container/komga/tmp:/tmp
      - /share/CACHEDEV1_DATA/Container/komga/data:/data
      - /share/CACHEDEV4_DATA/OneLibrary:/ol
      - /share/CACHEDEV4_DATA/Fan:/fan
    ports:
      - 25600:25600
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Asia/Shanghai
      - JAVA_TOOL_OPTIONS=-Xmx4g
      #- KOMGA_CORS_ALLOWED_ORIGINS
    restart: unless-stopped

  komf:
    image: sndxr/komf:latest
    container_name: komf
    ports:
      - 8085:8085
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Asia/Shanghai
    volumes:
      - /share/CACHEDEV1_DATA/Container/komf/config:/config
      - /share/CACHEDEV1_DATA/Container/komga/tmp:/tmp
      - /share/CACHEDEV1_DATA/Container/komga/data:/data
      - /share/CACHEDEV4_DATA/OneLibrary:/ol
      - /share/CACHEDEV4_DATA/Fan:/fan
    restart: unless-stopped

log


19:50:08.508 [main] INFO io.javalin.Javalin -- Starting Javalin ...
19:50:08.633 [main] INFO io.javalin.Javalin -- Javalin started in 282ms \o/
19:50:08.641 [main] INFO io.javalin.Javalin -- Listening on http://localhost:8085/
19:50:08.662 [main] INFO io.javalin.Javalin -- You are running Javalin 6.1.2 (released February 25, 2024).
19:50:09.315 [OkHttp http://172.29.12.1:25600/...] INFO org.snd.mediaserver.komga.KomgaEventListener -- connected to komga on http://172.29.12.1:25600/

Enter key to submit manual identify series

currently the identify button in series view brings a field up to type in series name for identification, but to submit this, you must click search to begin.
Allowing the enter key to be used to submit the search would be ideal.

[BUG] Manual search Background too dark

Hello,

Thank you for your Work! I really like the use of Komf and the Userscript.

I've run into a Problem as i can't see the Title Names and Source Name in manual search. The Text is there but the Backgroud is too dark to see it directly (Picture below). Do you have an Idea what could be the cause?
Screenshot 2023-12-20 003038

Thank you for your Help!

Kind Regards,
Eico

Software Versions:
Userscript: 0.11.1
Komga: 1.9.2-master
Firefox: 121.0 (64-Bit)
Tampermonkey: 5.0.0

Kavita & Komga Settings in Komf Menu Do Not Reflect Config File Settings

Hi,

I've noticed that when you try and edit the Komga/Kavita tab in Komf settings it will not show what is currently stored in the config file on the server, instead showing the default settings (ex. http://komga:25600). Saving without updating the information will overwrite the server information in the config file with blank login credentials & the default server address example.

This seems to only happen with the Komga/Kavita tab, every other tab saves and displays properly.

Kavita
Komga

Getting errors when trying to reset metadata

Trying to reset the metadata using two different browsers and I get similar errors:

image

image

It can still connect to komf/komga though and using the "identify" option works on this series if I use the terminal to reset the series.

Auto-identify also fails
image

but a manual identify works.

It looks like it might be missing some cross-origin headers?

image

Komga "Komf Settings" Connection Issue

image
I'm pretty sure I'm solid up until the "Enter Komf URL" section. I know I'm an idiot and I'm sorry if I'm failing at something so simple, but I have no Docker background and I'm failing at getting the non-JSScript section of this up and running. This is the only thing I'm like 70% capable of completing, but I have no idea how to accomplish this last step. Where the hell do I find the Komf URL?

[Issue] Connection Failed

I installed Komga and the userscript correctly, but when configuring Komf to the server the connection failed, I tried in every way and searched the various sites/reddits to see if there was a solution but nothing. I'm using Opera GX and I tried with Chrome thinking it was a browser compatibility problem but nothing,
so it makes me think I'm doing something wrong or whatever.
(I also tried with Kavita, same problem)

collection identify

Currently it is only possible to identify a single series or a library.

If there is a subset of series that need to be scanned, but not the whole library, it would be nice to create a collection of those series needing to be scanned so komf could identify them

[Issue] Unable to identify series via komga

When using the userscript (to fix bad matches mostly) in komga, I am unable to search for the series as it gives an endpoint not found error
image
everything seems to work fine otherwise, but only the userscript causes this issue... I also dont have the Puzzle Piece icon to change settings for komf via komga ui, but the identify button does show.

Please add functional Updater URL.

I'm using komf in combination with watchtower for zero-maintainance approach. But the script is not automatically updated in my browser, causing confusions as to why komf stopped working on browsers despite it running happily in docker.

My other scripts that was installed from greasyfork are receiving updates regularly.

Possible solution is to host this script to greasyfork in addition to this repo.

Kavita Intergraion broken with localization update

Since Kavita started doing localization the userscript has been broken. Keeping the script active in tampermonkey while loading kavita causes very slow loads and sometimes even malformed page loads. The puzzle icon shows up still, but the icon for identifying series is not present anymore.

image

Failed to retrieve search results: Request failed with status code 404

I have begun seeing the below errors
Failed to retrieve search results: Request failed with status code 404
Failed to match series: Request failed with status code 404

My script should be setup properly with the @include set as the following:
// @include http://192.168.108.208:8080/*

and the kofl-url set as following:
const komfUrl = useStorage("komf-url", "http://192.168.108.195:8085");

I am unsure on what the issue is now though. It was working and seemingly stopped communicating. I am just unsure on what this communication is that is failing.

[Feature Request] An "Order Books" checkbox within Manual Identification

As the title says - I don't want to deal with library-wide clean-up in case something goes wrong so I would prefer to fix things somewhat manually here.

Ideal behaviour expectation here would be: Order Books as a checkbox, once ticked, orders books after manual identification and writes a flag in Komf's database to auto-order books in the future for that title with Automatic Identification. This would be similar to how Komf can re-use the metadata provider IDs in auto-identification once set with Manual Identification.

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.