seanap / Audiobooks.bundle

Audiobook metadata agent for Plex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abbreviation edge case(s)

djdembeck opened this issue · comments

Collecting/reporting edge cases as I come across them:

Cornel West - editor, Dr. Martin Luther King Jr.

  • -editor as author results in "The Radical King" by C.W.-editor w/ L.Burton

Another one, similiar to the previous one:

Stephen Fry - introductions, Arthur Conan Doyle

ends up in S.F.-introductions

Wrote a quick fix for these cases but I don't know whether it breaks other scenarios.
So I'd say we collect some more data first.

Is there any way to match with the full authors name, but only display the abbreviated name?

That's already the case from my understanding. Search is performed in line 177, further information is gathered in line 192 and the abbreviation takes place in line 220 and 222.

That was my understanding as well, sorry I just misinterpreted the edge cases. Looks like it is just not handling author names when there are qualifiers like editor or intro. My bad! Have you tested a book written by a doctor "some name M.D."?

There is also this list we can add to/use:

author_contributers_list = [
'contributor',
'translator',
'foreword',
'translated',
]

Have you tested a book written by a doctor "some name M.D."?

No I haven't. In german doctor titles are written in front the name so I guess I won't stumble upon this.