[RDD] 12 hour time

2021-07-02 Thread Mark Murdock
Somebody please show me how to code a writefile pypad script so that it 
displays 12 hour time instead of 24 hour time. What I have now is:

FormatString=%g %d(h:mm) %t - %a\n

I know it involves the "AP" or "ap" time specification, but I don't know how to 
write the format string.

Thanks,

Mark Murdock
KAMB
90 E. 16th St.
Merced, CA 95340
(209) 723-1015
m...@celebrationradio.com
Website

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Troubleshooting setup of PyPAD

2021-07-02 Thread Alejandro olivan Alvarez

Hi list!

I'm playing with the PyPAD stuff of Rivendell.

So far, I've managed to have an script running... so far the problems 
I've had to evercome (Debian Stable Buster install) were:


- The documented (on this list) Centos/debianish misplacing of pypad.py 
which needs to be copied to /usr/lib64/rivendell/pypad


 cp /usr/lib/python3.7/site-packages/pypad.py /usr/lib64/rivendell/pypad

- Missing MySQL Python3 module/package

 apt-get install python3-mysqldb


I've created a copy of the included icecast2.py and also the related 
icecast2.exemplar. So far the script works, green dot and no errors. A 
ps on console shows the script running:


root@debian:~# ps aux | grep pypad
pypad 4095  3.9  0.1 285108 28624 ?    Sl   12:18   2:38 
/usr/sbin/rdpadengined
pypad 4097  4.2  0.1 211368 28412 ?    S    12:18   2:50 
/usr/sbin/rdrssd
pypad 9777  0.0  0.1  40812 23948 ?    S    12:25   0:00 
/usr/bin/python3 /usr/lib64/rivendell/pypad/pypad_icecast2_8000.py 
localhost 34289 $1

root 22462  0.0  0.0   6208   824 pts/1    S+   13:25   0:00 grep pypad

The TCP port for metadata appears listening:

root@debian:~# netstat -tnlp | grep 34289
tcp    0  0 0.0.0.0:34289 0.0.0.0:*   LISTEN  
4073/rdpadd



I've setup username/password/port/mountpoint on the configuration... 
apparently, OK... now, the problem:


I've no song update on the Icecast2 server

I've no feedback on syslog either... I'm thinking on reviewing the 
Icecast server log or try to check the connections to Icecast2 server



Any clue on what could I be missing?

Thank you very much in advance.

Best regards.





___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev