Re: UK Atlas load/usage warning email
Neil Bird <[email protected]> Sun, 22 May 2016 13:18:14 +0100
| Newsgroups | gmane.comp.tv.xmltv.general |
|---|---|
| Message-ID | <[email protected]> |
On 22/05/16 12:48, John Veness wrote:
> If you have used a mixture of EIT and XMLTV (which you almost
> certainly will have done in UK for radio at least), you will probably
> only want to blank the programid for entries which were autogenerated
> by mythfilldatabase from the xmltv info, in other words, only the
> ones like EPxxxxxx, MVxxxxxx, SHxxxxxx, SPxxxxxx, not the ones like
> fp.bbc.co.uk/xxxxxx. I'm not sure how you would do that in SQL.
OK, I'll bite and try that. In my oldrecorded table I have some
Infinite Monkey Cage recordings off the radio; I sued to use the RT
feed for BBC radio but moved to EIT (because Altas doesn't have radio?
There was a reason ...).
And it has a mixture of things that look either like
fp.bbc.co.uk/c9222s or EP1766004211b. It's not quite how I remember
things as the fp... ones are def. recent, but they are a bit
interspersed further back - maybe I was jumping between the two feeds?
Anyway, it'll be something like (for each of the 3 tables
oldrecorded,recorded,recordedprogram - note the rlike for regex matches):
update oldrecorded set programid='' where
programid rlike '^EP[0-9]+$' or
programid rlike '^MV[0-9]+$' or
programid rlike '^SH[0-9]+$' or
programid rlike '^SP[0-9]+$';
Just tried that (yes, I backed up!) and the syntax is OK. Now to
inject some SD listings ...
--
[phoenix@fnx ~]# rm -f .signature
[phoenix@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[phoenix@fnx ~]# exit
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j