On Jul 2, 2021, at 11:54, Mark Murdock <m...@celebrationradio.com> wrote:

> 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:

See:
        
http://opsguide.rivendellaudio.org/html/appendix.metadata_wildcards.html#sect.metadata_wildcards

and also:
        
http://opsguide.rivendellaudio.org/html/appendix.metadata_wildcards.html#table.metadata_wildcards.datetimes


> 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.

Just add the “AP”/“ap” where you want the meridian indicator to be. For example:

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

Should render something like:

MyGroup 10:15 AM MyTitle MyArtist

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
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to