Quote:
Originally Posted by penguinaka
So I created a user made column called version in which I would like the version info that is usually in the filenames of the books to be added:
Example: George RR Martin - Ice & Fire 1 - Game of Thrones (v5.0).epub
Is it possible to import the version info to the user created column and if so how?
|
It's not currently possible in one step. The importer code has no access to custom columns.
Quote:
When you go to the test field for import it doesn't seem to let you create a test field for it that I know of so that you can check if your work is correct or not.
|
Correct. AFAIK, all fields you can import into are listed in the tester.
Quote:
This is what i tried and a few variations of:
^(?P<author>[^-]+)(\s*-\s*(\[?(?P<series>[^-0-9]+)\s*(?P<series_index>[0-9.]+)?]?)?)?.*?-\s*(?P<title>[^-]+)(\s*-\s*(\[?(?P<version>[^-]+)
with and with out a # sign in front of version.
so I don't know if the regex is incorrect and or it is or isn't possible to even import to user created columns.
I think it would be very useful in importing large collections with duplicates of titles indifferent versions to not strip the version info and have it go into its own column so you can out put it with or without. Its also great in combination with find duplicates with fuzzy logic... you can then get rid of old versions.
I have currently been importing them with:
^(?P<author>[^-]+)(\s*-\s*(\[?(?P<series>[^-0-9]+)\s*(?P<series_index>[0-9.]+)?]?)?)?.*?-\s*(?P<title>[^-]+)
so that it will import the version info as part of the title like so:
Author: George RR Martin
Title: Game of Thrones (v5.0)
Series: Ice & Fire
Series Index: 1
|
Run the title through Search and Replace and you can grab version info and send it to your custom column and strip it from the title.