It says "ipaddr" is not defined. I'm not familiar enough with Python that I can figure out where it's trying to get that information, hence my question about the config file.

I did, however, find it in the database, and "IpAddress" is defined there. Now I'm looking for the code that fetches it from the database, as that's clearly not working.


Rob

--
Не думай что всё пропели,
Что бури все отгремели;
Готовься к великой цели,
А слава тебя найдёт.


On Sun, 24 Apr 2022, Fred Gleason wrote:

On Apr 24, 2022, at 01:09, le père Léon <[email protected]> wrote:
      Le 23/04/2022 à 05:05, Rob Landry a écrit :
            [...] I have a funny feeling the script is never
            reading the config file. Where is the config file
            stored?


      In the database.


It depends on how the script is being instantiated. If you’re running it
“embedded”, where the Rivendell service starts it, the config is indeed
pulled from the database. However, it’s often convenient to be able to run a
pypad script directly from the command line, in which case you can provide
the config filename as one of the command line arguments. See

http://opsguide.rivendellaudio.org/html/chapter.pad.html#sect.pad.pypad

for the details.

WRT the Nautel script: that script was contributed by a Rivendell user; I’ve
never been able to actually test it as I lack the required hardware. I’d
welcome any feedback on it.

Cheers!


|---------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |             Chief Developer             |
|                           |             Paravel Systems             |
|---------------------------------------------------------------------|
|         A room without books is like a body without a soul.         |
|                                                                     |
|                                                         -- Cicero   |
|---------------------------------------------------------------------|


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to