2012-05-12, 16:27
Hi jmarshall,
thanks for your answer, but sadly your example doesnt do it in my case. I tried something again, and i found something which is working in the evaluators @ the web, but not within xbmc.
With this regex-line:
for this recording-path:
i got this output at http://regexp-tester.mediacix.de/exp/regex/:
In this array i see the season-number [1], the episode-number [2] and the episode-name [3]. But this doesnt seems to be enough, as xbmc shows this in the log:
It seems xbmc looks at a completely different string like "Body of Proof/Staffel 02", but in this string there is no information about the episode. Anybody has some more hints for me?
Thanks, Jens
thanks for your answer, but sadly your example doesnt do it in my case. I tried something again, and i found something which is working in the evaluators @ the web, but not within xbmc.
With this regex-line:
Code:
(?i)[/\\](?:s|staffel_)\W?(\d{1,2})\W?(\d{0,2})\W?\w([\wßöäüÖÄÜ]+)
for this recording-path:
Code:
pvr://recordings/Serie/Body_of_Proof/Staffel_02/03._Das_größte_Opfer/2012-03-09.21.12.7-0.rec/00001.ts
i got this output at http://regexp-tester.mediacix.de/exp/regex/:
Code:
Array
(
[0] => /Staffel_02/03._Das_größte_Opfer
[1] => 02
[2] => 03
[3] => Das_größte_Opfer
)
In this array i see the season-number [1], the episode-number [2] and the episode-name [3]. But this doesnt seems to be enough, as xbmc shows this in the log:
Code:
16:17:32 T:2953850880 DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/Serie/Body of Proof/Staffel 01/'
16:17:32 T:2953850880 DEBUG: FindMovie: Searching for 'Body of Proof/Staffel 01' using The TVDB scraper (path: '/Applications/XBMC.app/Contents/Resources/XBMC/addons/metadata.tvdb.com', content: 'tvshows', version: '1.2.4')
16:17:32 T:2953850880 DEBUG: scraper: CreateSearchUrl returned <url>http://www.thetvdb.com/api/GetSeries.php?seriesname=body%20of%20proof%2fstaffel%2001&language=de</url>
16:17:32 T:2953850880 DEBUG: CurlFile::Open(0xb0102674) http://www.thetvdb.com/api/GetSeries.php?seriesname=body%20of%20proof%2fstaffel%2001&language=de
16:17:32 T:2953850880 INFO: easy_aquire - Created session to http://www.thetvdb.com
16:17:33 T:2953850880 DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
16:17:33 T:2953850880 DEBUG: FindMovie: Searching for 'Body of Proof/Staffel 01' using The TVDB scraper (path: '/Applications/XBMC.app/Contents/Resources/XBMC/addons/metadata.tvdb.com', content: 'tvshows', version: '1.2.4')
16:17:33 T:2953850880 DEBUG: scraper: CreateSearchUrl returned <url>http://www.thetvdb.com/api/GetSeries.php?seriesname=body%20of%20proof%2fstaffel%2001&language=de</url>
16:17:33 T:2953850880 DEBUG: CurlFile::Open(0xb0102674) http://www.thetvdb.com/api/GetSeries.php?seriesname=body%20of%20proof%2fstaffel%2001&language=de
16:17:33 T:2953850880 DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
16:17:33 T:2953850880 DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/Serie/Body of Proof/Staffel 02/'
16:17:33 T:2953850880 DEBUG: FindMovie: Searching for 'Body of Proof/Staffel 02' using The TVDB scraper (path: '/Applications/XBMC.app/Contents/Resources/XBMC/addons/metadata.tvdb.com', content: 'tvshows', version: '1.2.4')
16:17:33 T:2953850880 DEBUG: scraper: CreateSearchUrl returned <url>http://www.thetvdb.com/api/GetSeries.php?seriesname=body%20of%20proof%2fstaffel%2002&language=de</url>
16:17:33 T:2953850880 DEBUG: CurlFile::Open(0xb0102674) http://www.thetvdb.com/api/GetSeries.php?seriesname=body%20of%20proof%2fstaffel%2002&language=de
16:17:34 T:2953850880 DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
16:17:34 T:2953850880 DEBUG: FindMovie: Searching for 'Body of Proof/Staffel 02' using The TVDB scraper (path: '/Applications/XBMC.app/Contents/Resources/XBMC/addons/metadata.tvdb.com', content: 'tvshows', version: '1.2.4')
16:17:34 T:2953850880 DEBUG: scraper: CreateSearchUrl returned <url>http://www.thetvdb.com/api/GetSeries.php?seriesname=body%20of%20proof%2fstaffel%2002&language=de</url>
16:17:34 T:2953850880 DEBUG: CurlFile::Open(0xb0102674) http://www.thetvdb.com/api/GetSeries.php?seriesname=body%20of%20proof%2fstaffel%2002&language=de
16:17:34 T:2953850880 DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
16:17:34 T:2953850880 DEBUG: VideoInfoScanner: No (new) information was found in dir pvr://recordings//Serie/
16:17:34 T:2953850880 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:01
16:17:34 T:2953850880 INFO: Video scan was stopped or finished ... restoring FindRemoteThumbs
It seems xbmc looks at a completely different string like "Body of Proof/Staffel 02", but in this string there is no information about the episode. Anybody has some more hints for me?
Thanks, Jens