In App, why does scanning a bar code work, when typing it does not? UPC/EAN

ForumFrequently Asked Questions

Melde dich bei LibraryThing an, um Nachrichten zu schreiben.

In App, why does scanning a bar code work, when typing it does not? UPC/EAN

1brycenesbitt
Bearbeitet: Mrz. 19, 2021, 2:05 pm

I'm testing with
ISBN 978-1-5317-0237-3
UPC 8 41887 03406 7

In the Library Thing app, if I scan the UPC bar code, the DVD comes right up. If I type the above numbers instead, it does not.

If I search by title, there are so many similar DVD's it's hard to find the right one.

-----
Why are these two methods (scan vs. type) different?
Is there a way to do a deeper search via the app?

2gilroy
Mrz. 19, 2021, 2:16 pm

When you type it in, do you include the dashes?

3brycenesbitt
Mrz. 19, 2021, 6:33 pm

I did not include dashes.
But that did not seem to matter.
Mostly I speak the number, which adds spaces:
8 4 1 8 8 7 0 3 4 0 6 7

How should I format UPC and ISBN numbers for Library Thing? Is there a way to get it to normalize the numbers (e.g. remove spaces and remove dashes, just use them as hints)?

4gilroy
Mrz. 19, 2021, 7:44 pm

No dashes and no spaces.

5brycenesbitt
Apr. 10, 2021, 7:13 pm

I'll report that a bug. Would take seconds for LT's maintainer to trim whitespace. ( string.trim() )

6jjwilson61
Apr. 10, 2021, 7:28 pm

I believe trim only removes white space from the beginning and end of the string, not the middle.