Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate very long titles #62

Closed
lehitoskin opened this issue Mar 5, 2017 · 2 comments
Closed

Truncate very long titles #62

lehitoskin opened this issue Mar 5, 2017 · 2 comments

Comments

@lehitoskin
Copy link
Owner

The program will throw a contract error if the title of the file is too long, so truncate it at a certain point.

@IonoclastBrigham
Copy link
Collaborator

What contract is it violating?

@lehitoskin
Copy link
Owner Author

lehitoskin commented Mar 5, 2017

It violated the label-string? for label in frame%. (label-string? v) Returns #t if v is a string whose length is less than or equal to 200.

Everything else is probably fine. We don't need to do anything special for file names in the database or thumbnail names (I think). It's just the label can't be too long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants