OK i play little bit last night and and now parse xml but my regex cannot exract correctly name and year
<CreateSearchUrl dest="3" SearchStringEncoding="iso-8859-9">
<RegExp input="$$4" output="<url>\1<\url>" dest="3">
<RegExp input="$$1" output="http://www.turkcealtyazi.org/filtre.php?tur=&yil=\2&ulke=&sira=4&altyazi=3&fragman=3&tip=3&plimit=0&olimit=0&find=\1" dest="4">
<expression>(.[a-z]+)[^0-9](\d+)</expression>
</RegExp>
<expression/>
</RegExp>
</CreateSearchUrl>
in scraper editor (.[a-z]+)[^0-9](\d+)" gives me \1-->name and \2-->year. For "the.phantom.2009" xbmc change "the phantom 2009" and i saw in editor
\1-->the+phantom
\2-->2009 .
But in xbmc log says \1--> "the%" \2-->20 what is the correct regex to seperate name and date
also when i try to input name manually xbmc still search with old name (folder name) is it a bug ?
Here is the create serch and get results part.
Code:
<CreateSearchUrl dest="3" SearchStringEncoding="iso-8859-9">
<RegExp input="$$4" output="<url>\1<\url>" dest="3">
<RegExp input="$$1" output="http://www.turkcealtyazi.org/filtre.php?tur=&yil=\2&ulke=&sira=4&altyazi=3&fragman=3&tip=3&plimit=0&olimit=0&find=\1" dest="4">
<expression>(.[a-z]+)[^0-9](\d+)</expression>
</RegExp>
<expression/>
</RegExp>
</CreateSearchUrl>
<GetSearchResults dest="8">
<RegExp input="$$5" output="<?xml version="1.0" encoding="iso-8859-9" standalone="yes"?><results>\1</results>" dest="8">
<!--search results page-->
<RegExp input="$$1" output="<entity><title>\3-\5</title><url>http://www.turkcealtyazi.org/mov/\1/\2.html</url><id>\1</id><year>\4</year></entity> \n" dest="5">
<expression cs="true" repeat="yes"><a href="/mov/(.[0-9]*)/(.*?).html" title="(.*?)">.[^\(]*\((.*?)\)</b></span><br /><b>(.*?)<</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetSearchResults>