griff / metaz

Two letters better than MetaX
https://metaz.maven-group.org/
MIT License
417 stars 57 forks source link

Atomic Parsley Error on Long Actor Field #259

Open Haravikk opened 2 years ago

Haravikk commented 2 years ago

There's an issue with writing files that have an especially long actors field (I think longer than 500 or so characters?); this happens to me a fair bit with anime especially as TheTVDB entries often include the full Japanese and English cast lists.

For example, I recently tried to encode Beastars season 2 episode 11 using the data from TheTVDB and encountered this error; lopping off a big chunk of the artists field resolved it.

I don't know if the limits for each field are published anywhere as this issue may theoretically affected other fields, but the actors is just the most likely to do it. However, if possible the fields should probably have maximum lengths set and then truncate any values that are longer?