google-code-export / my-films

Automatically exported from code.google.com/p/my-films
0 stars 0 forks source link

Improve Regex support for groups in Start/End Parameter in Grabber Editor (e.g. #REGEXGROUP#) #375

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What area does your enhancement or feature relate to? (i.e. Config/Setup,
GUI, options, Skin, AMC Updater, Grabber Interface, etc.)
Grabber Editor
What is the purpose or benefit of the new feature or enhancement?
In some cases/fields the Grabber must search almost the whole file to match 
RegEx groups, or you need to use the 'Countries' parameter to match results. 
When grabbing from sources with minor variations in data format, this means you 
either need a separate grabber for each variation/source, or use complex regex 
and mapping which can reduce performance.
How would you expect it to work? (Accessed via, new settings required, Skin
changes/new properties)
Add a #REGEXGROUP# to Start/End parameter to simplify the limit of certain area 
selection for the inner grouping/matching.
Can you illustrate it with examples such
as images (screenshots), scenarios or examples from other Plugins?
In the case of NFO grabber, for several person fields like Director, Writer, 
you must use <movie as start and </movie as end since you never know what 
order, the fields/tags may use and you want to grab all cases of 
<director>(?<person>.*?)</director> RegExp
If this issue has been discussed in the MyFilms forum, add a link to the
related thread or post.
See http://forum.team-mediaportal.com/conversations/nfo-grabber.109196/page-2

Original issue reported on code.google.com by Dade...@gmail.com on 30 Jan 2014 at 5:35

GoogleCodeExporter commented 9 years ago

Original comment by Guzz...@googlemail.com on 30 Jul 2014 at 7:03