griff / metaz

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

AutoReleasePool Exception if Short Description is Too Large #164

Open Haravikk opened 7 years ago

Haravikk commented 7 years ago

This is an issue that comes up a lot for me when dealing with Anime, where some overzealous users put the entire plot of an episode into its description in minute detail, rather than a summary.

Anyway, since the descriptions from the TheTVDB are used to fill both the short and long description fields, this will put the short description over some kind of limit, preventing the file from being written and leaving it in the queue with an error.

Unfortunately the error is misleading, as it refers to an AutoReleasePool error, however shortening the short description will fix the issue easily enough, I just have to remember to do-so.

Currently MetaZ seems to only have a soft recommendation on short description length, using a character count that can become negative, however there's clearly some internal limit, I believe around 1024 8-bit characters.

While it may be possible to support more, I believe the best "fix" would be: