Comments (8)
Hmm, I'm not sure how to handle this. Code isn't going to know that Joe, Joe, A, JoeB is 3 strings of "Joe", "Joe, A", and "JoeB". I'll reach out to see what the spec says about handling this.
from kavita.
The Anansi Project doesn't cover it as far as I'm aware (and really using a comma as a delimiter on list of names isn't a great idea), but here's how I handled it for my python projects that write the comicinfo.xml
, which might provide a bit of help: https://github.com/Metron-Project/darkseid/blob/222c434e279dcd0ea5460eb4c301a5463490e98a/darkseid/utils.py#L33
Using a regex that looks for items in quotes and items between commas like this should work:
(?:^|,)(\"(?:[^\"])*\"|[^,]*)
from kavita.
I agree that it's not a good idea, but the spec is the most supported, so my hands are a bit tied. Quoting the string could work and Kavita could identify that pattern and de-quote.
I'll take a look in the next stable window as the upcoming stable is days away.
from kavita.
Doesn't Comicrack just ignore the the quotes, so it would parse it as "Infinity
& Inc."
instead of Infinity
& Inc.
, which are both incorrect.
I don't quite understand handcuffing yourself to project that's been dead for years and caring over their bugs. Anyway, just my 2ยข.
from kavita.
I'm not sure, I've never used Comicrack before. When I started Kavita I didn't know anything about the metadata scene. As of now, I just want users that have already tagged their collection to have their metadata usable.
If I just change to support some new standard, it will be useless unless the major taggers and players in the scene support it. Kavita currently supports ComicInfo and some non-breaking enhancements (since I couldn't get Anansai project to approve new tags).
from kavita.
I guess my thinking this isn't a breaking change, since the clients can still parse them, which is how I identified this bug in the first place. Regardless, this is obviously your decision on how you want to handle it.
from kavita.
Right, I'm not implying it is. All I'm saying is that my next stable release (v0.8.2) is right around the corner, so I will look into this after that. I think you might have misunderstood that I was talking about a spec breaking change.
from kavita.
Right, I'm not implying it is. All I'm saying is that my next stable release (v0.8.2) is right around the corner, so I will look into this after that. I think you might have misunderstood that I was talking about a spec breaking change.
Yeah, looks like I misunderstood what you were saying. Sorry.
from kavita.
Related Issues (20)
- [Kavita+] Current MAL-Interest Stack import feature is limited to just 10 entries.
- Problems with searching for full-width and half-width characters
- System.Net.Sockets.SocketException (13): Permission denied with selinux enabled when starting Kavita HOT 1
- Issue writing to DB for various epubs when Forced is run
- Epub vertical writing style restarts at the beginning of the section
- OPDS - An item with the same key has already been added. Key: 3057 HOT 1
- Kavita - Incorrect EPUB 2 NCX: content source "" not found in EPUB manifest. HOT 1
- Specials get recognized as specials but pile up under the Specials tab
- When selecting "Themes" tab i get "An item with the same key has already been added. Key: Dark" error
- Publication Status incorrectly set for Completed series with non-integer issue numbers. HOT 2
- [Kavita+] Series can be added to an imported stack
- Webtoon goes to next chapter if images don't load while scrolling
- PDF reader fails to jump to saved position if in background
- Release group name being parsed as chapter number HOT 1
- The "Include Chapters & Files" toggle does not appear when no results are returned.
- Error displaying double pages, incorrect order HOT 2
- Series Scan Does Not Update the Tags If Tags Are Populated HOT 1
- Collapse Series Relationship causes "child" series to not appear in filters and in other libraries
- Setting alternative version relationship on both sides of a series causes both to be hidden when collapsed
- UX Redesign
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kavita.