rmcrackan / Libation

Libation: Liberate your Library
GNU General Public License v3.0
2.63k stars 142 forks source link

Add option to store folders as author last name #420

Closed lycannon closed 1 year ago

lycannon commented 1 year ago

Please add a tag on the Download/Decrypt settings to store files by author's last name then first name separated by a comma (e.g. Lastname, Firstname)?

rmcrackan commented 1 year ago

Unfortunately, this one's probably not going to happen. The typical case is dead simple: "Arthur Conan Doyle" becomes "Doyle, Arthur Conan". If only they were all so simple. What about when there are multiple authors? I guess I'll pick whichever audible happens to list first. Often though this is the person doing the forward, not the real author, so that's not great. Then there are issues like hyphenated names. There's no easy way to tell a real name like Heitor Villa-Lobos vs audible's sloppy labelling like Stephen King-Introduction.

lycannon commented 1 year ago

Somehow, it doesn't surprise me that the Audible API's don't give great metadata- I was hoping that it would return authors in an easy to consume format and list narrator and forward person as separate entries; of course it they did, I'm sure you'd have already added the option.

Since Audible and Amazon are the same, you might have success pulling from the Amazon API like Calibre does- but that's might be a lot of work for a convenience feature.

rmcrackan commented 1 year ago

The amazon api won't help here because audible ruined the 'name' field by cramming extra metadata in there like the previous examples, or "Bob Smith translator". The amount of metadata in names is the big blocker. Years ago I tried to collect all the metadata words that could be added to names; there's no standard though so that was a fool's errand.

Other fun issues which are annoying but not necessarily blockers:

The sum effect is: I'm not up for name parsing. It gets too ugly.

rmcrackan commented 1 year ago

FYI, this is getting some additional scrutiny. Watch #481 for progress.