2025-07-09, 11:54 AM
(This post was last modified: 2025-07-09, 11:59 AM by mvallevand.)
A utility that parsed that metadata would be better rather than a hack but it won't be perfect. You can increase the length of the substring to capture more uniqueness but I wouldn't count on that duration being unique. If you browse this you will see what I mean
Martin
Code:
select title, count(title), substring(description,instr(description,'episode-num:')+13,8) as key1,
substring(description,instr(description,' length: ')+9,3) as key2, description
from epg_event
where description like '%episode-num:%'
group by title,key1, key2
order by title;
Martin