[mythtv-users] How do I insert a linefeed in a Custom Record Rule?

Simon Hobson linux at thehobsons.co.uk
Tue Apr 15 17:55:57 UTC 2014


Michael T. Dean <mtdean at thirdcontact.com> wrote:

> ... why are you telling most (who don't have the SQL experience that you do) that they /should/ create custom rules in MythWeb even though it has virtually no safety incorporated?

No, I'm not telling people they *should*, but that they *can*. More below ...

> Or is this just a way to step on the podium to say you're so good that you can do something dangerous and get away with it?

Well that's a bit insulting.

> My advice stands.  I know SQL pretty well /and/ I know the internal workings of MythTV and a lot about its scheduler, and I never use MythWeb to create Custom Rules.  I recommend others do the same--use mythfrontend to create the rule, after which light editing in MythWeb is fine.

Your choice, personally I disagree with it - but your system, your choice, I'm not going to tell you that you should use MythWeb (or that you shouldn't).

But, if you go back and read what I actually wrote, I suggested that having edited (or created) a rule then they should *TEST* it. Break the rule you've just done, go back and fix it/disable it/delete it so that things do work. Unless the Scheduler is very badly open to accidental SQL injections that damage stuff (which I couldn't see a novice doing by accident), then once the rule is fixed the scheduler should pick up and schedule things properly.

Now if neither MythWeb nor the scheduler doesn't filter even the most basic stuff (like ";", "DROP" "DELETE") then I think there are far more serious issues than whether someone uses MythWeb or the Frontend to edit rules.

> Of course, since Custom Rules are the exception

You think ?

> it's not like it's that hard to use mythfrontend to create them.

hard ? No. Harder than doing it the easy way ? Yes.



More information about the mythtv-users mailing list