Rewritten to use the PCRE library. It's more robust and flexible
than the custom repat lib, albeit less user-friendly.
Some debugging of the actual regular expressions used remain.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PCRE compilation now shows meaningful error messages rather
than crashing. Remaining points:
- debugging/adjustment of the default regexps
- documentation for the filename_formats.txt file
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PCRE compilation now shows meaningful error messages rather
than crashing. Remaining points:
- debugging/adjustment of the default regexps
- documentation for the filename_formats.txt file
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a much improved version of the PCRE-based thing in C# - we can use that if desired. I discovered it was pretty hard matching all those different filename formats with a list of regular expressions - we need some kind of live parsing support that runs in the background on a pre-loaded list of file names, otherwise it is too hard to see the results of regexp changes and reordering. Needs to be pretty fast to be useful on 20k song libraries.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am currently rewriting media library scanning to run in the background as a separate process (via mlscan.exe). If feasible, mlscan can do the guessing via a DLL based on the C# code. If not, the guessing could run as a separate process in the same way as mlscan, accessing the media library database directly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=69291
Completed, though not yet submitted.
Logged In: YES
user_id=69291
Rewritten to use the PCRE library. It's more robust and flexible
than the custom repat lib, albeit less user-friendly.
Some debugging of the actual regular expressions used remain.
Logged In: YES
user_id=69291
Technology implementation complete. Regular expression list
still needs some polishing.
Logged In: YES
user_id=69291
PCRE compilation now shows meaningful error messages rather
than crashing. Remaining points:
- debugging/adjustment of the default regexps
- documentation for the filename_formats.txt file
Logged In: YES
user_id=69291
PCRE compilation now shows meaningful error messages rather
than crashing. Remaining points:
- debugging/adjustment of the default regexps
- documentation for the filename_formats.txt file
No longer relevant, I assume?
I have a much improved version of the PCRE-based thing in C# - we can use that if desired. I discovered it was pretty hard matching all those different filename formats with a list of regular expressions - we need some kind of live parsing support that runs in the background on a pre-loaded list of file names, otherwise it is too hard to see the results of regexp changes and reordering. Needs to be pretty fast to be useful on 20k song libraries.
I am currently rewriting media library scanning to run in the background as a separate process (via mlscan.exe). If feasible, mlscan can do the guessing via a DLL based on the C# code. If not, the guessing could run as a separate process in the same way as mlscan, accessing the media library database directly.
Moved to backlog for further consideration.