I copied and pasted your format string, and this is the output: MUSIC 14:16 P7 River Of Life - Mac Powell
This is what the line in the script looks like: FormatString=%g %d(h:mm AP) %t - %a\n So I’m still stumped. Mark Murdock KAMB 90 E. 16th St. Merced, CA 95340 (209) 723-1015 m...@celebrationradio.com<mailto:m...@celebrationradio.com> Website<https://celebrationradio.com/> From: rivendell-dev-boun...@lists.rivendellaudio.org <rivendell-dev-boun...@lists.rivendellaudio.org> On Behalf Of Fred Gleason Sent: Saturday, July 3, 2021 7:16 AM To: rivendell-dev@lists.rivendellaudio.org Subject: Re: [RDD] 12 hour time On Jul 2, 2021, at 11:54, Mark Murdock <m...@celebrationradio.com<mailto: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