Posts: 2,127
Joined: Jan 2015
Reputation:
60
Razze
Team-Kodi Member
Posts: 2,127
When I use the current version an on the current version of the tmdb tv scraper and do a debug run it runs through get details and throws an empty warning window. Not sure whats happening there
Posts: 33
Joined: Nov 2014
Reputation:
9
mrjwm2
Junior Member
Posts: 33
2015-10-28, 22:57
(This post was last modified: 2015-10-29, 00:06 by mrjwm2.)
***Edit: Fixed - My stupid mistake! see below
I have a question on if it is possible to use the buffer content to refine my details. Using the ScraperEdit program I have wrote and tested a working music-video scraper and am looking to refine the details down to the recording ID.
I have a MB recordingID stored in buffer $$6. This was used in CreateSearchUrl along with the MB releaseID stored in $$4. I would like to use $$6 in GetDetails.
My question:
My expression is: <track[^>]+><position>([^<]*)</position><number>([^<]*)</number>(?:<length>(\d*?)\d{3}</length>)*(?:<recording id="([^<]*)">)*<title>([^<]*)< --- (all items in this expression work and return results, but I return all tracks, positions, numbers, lengths and titles of the release).
I want to match: (?:<recording id="([^<]*)">) to $$6 (MB recordingID). This will refine the results to the exact mp4 tag.
If I replace the expression syntax with the actual MBID it works.
If I use: (?:<recording id="$$6">) I get no result (also no errors).
Am I at a dead end, or is it possible to use the buffer to match?
I know this thread is old, but thought I'd give it a try, as any info regarding scrapers for Kodi is scarce.
Thanks
*******
Edit: All fixed!! I had clear buffers selected, stupid mistake!
Posts: 136
Joined: Mar 2009
Reputation:
0
Is the software still developed/maintained?
I have fixed a small but annoying bug and wanted to ask, if you would like the patch?