I have been spending loads of time trying to understand how all this works and make improvements to the existing RadioTimes UK INI.
I just about understand regex but can't seem to get my head around how it works with WebGrab++. I have still managed to make some improvements, but I prefer to learn and do more before I post it here for others.
So a few questions:
1) Let's say I am looking for a URL in the JSON like:
"uri":"http://abc.com/blah.jpg?quality=60"
I have the below so far based on what I copied from elsewhere, but a) I am not sure if that is right and b) how do I ensure that I only get back the first occurrence, knowing that there will be more than one?
index_temp_1.scrub {regex|"uri":"||","|","}
2) Once the above is working, and I get back something like:
http://abc.com/blah.jpg?quality=60
I have this regex to extract the filename, but no idea how I would use that in the context of my ini:
([^/]+).(jpg|bmp|jpeg|gif|png|tif)
3) If a show title matches lets say "ABC" (exact match) how can I remove it completely from the resulting file? If I do this, I assume it makes the title null, but is that sufficient?
index_title.modify {remove|ABC}
4) Is it possible to have multiple icons (index_showicon) with various sizes? I noticed it was a single thing, so I assume not, but I swear I have seen XMLTV files with multiple