From 669ae377621c3fabcb2f500d44ae4cab3923baa3 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Fri, 3 Nov 2017 12:24:33 -0400 Subject: [PATCH] 2017-11-03 Fred Gleason * Moved the contents of 'docs/datetime_wildcards.txt' to an appendix in the Operations Guide. --- ChangeLog | 3 ++ docs/Makefile.am | 1 - docs/metadata_wildcards.txt | 65 ------------------------------ docs/opsguide/opsguide.xml | 80 +++++++++++++++++++++++++++++++++++++ rivendell.spec.in | 1 - 5 files changed, 83 insertions(+), 67 deletions(-) delete mode 100644 docs/metadata_wildcards.txt diff --git a/ChangeLog b/ChangeLog index 569cf6c9..2d1f7717 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16244,3 +16244,6 @@ 2017-11-03 Fred Gleason * Moved the contents of 'docs/datetime_wildcards.txt' to an appendix in the Operations Guide. +2017-11-03 Fred Gleason + * Moved the contents of 'docs/metadata_wildcards.txt' to an + appendix in the Operations Guide. diff --git a/docs/Makefile.am b/docs/Makefile.am index 1e6754f1..d15c9d65 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -33,7 +33,6 @@ EXTRA_DIST = ALSA.txt\ colors\ copy_split_format.odt\ MESSAGE_BOX.txt\ - metadata_wildcards.txt\ NEXGEN_FILTER.txt\ NOW+NEXT.txt\ pam_rd.txt\ diff --git a/docs/metadata_wildcards.txt b/docs/metadata_wildcards.txt deleted file mode 100644 index 2dd5246b..00000000 --- a/docs/metadata_wildcards.txt +++ /dev/null @@ -1,65 +0,0 @@ - RIVENDELL METADATA WILDCARDS - -These codes are used in Rivendell to indicate when a substitution of the -indicated cart metadata field should be performed --e.g. in the -'--metadata-pattern' switch of rdimport(1) or the RLMResolveNowNext*() -functions in the Rivendell Loadable Module API. - -Now Next Field --------------------------------------------------------------------------- - %a %A Artist - %b %B Record Label - %c %C Client - %d %D Date/Time (see below) - %e %E Agency - %f %F [Unassigned] - %g %G The Rivendell group name - %h %H Event length (in milliseconds) - %i %I Cut Description - %j %J Cut Number - %k %K Start [%k]/end [%K] time for rdimport(1) [HH:MM:SS] - %l %L Album - %m %M Composer - %n %N The Rivendell cart number - %o %O Outcue - %p %P Publisher - %q %Q Start [%q]/end [%Q] date for rdimport(1) [YYYY-MM-DD] - %r %R Conductor - %s %S Song ID - %t %T Title - %u %U User Definied - %v %V [Unassigned] - %y %Y Release Year - %z %Z [Unassigned] - \r \r Carriage Return (ASCII 13) - \n \n Linefeed (ASCII 10) - -DATE/TIME SPECIFICATION - %d(
) %D(
) The start date/time, formatted according to
. The - following wildcards are available for
: - d - The day as a number without a leading zero (1 to 31). - dd - The day as a number with a leading zero (01 to 31). - ddd - The abbreviated localized day name ('Mon' or 'Sun'). - dddd - The long localized day name ('Monday' or 'Sunday'). - M - The month as a number without a leading zero - (1 to 12). - MM - The month as a number with a leading zero (01 to 12). - MMM - The abbreviated localized month name ('Jan' or 'Dec'). - MMMM - The long localized month name ("January' or - 'December'). - yy - The last two digits of the year. - yyyy - The full four digits of the year. - h - The hour without a leading zero (0 - 23, or 1 - 12 - if using AM/PM display). - hh - The hour with a leading zero (00 - 23, or 01 -12 if - using AM/PM display). - m - The minute without a leading zero (0 - 59). - mm - The minute with a leading zero (00 - 59). - s - The second without a leading zero (00 - 60). - ss - The second with a leading zero (00 - 60). - z - The milliseconds without a leading zero (0 - 999). - zzz - The milliseconds with leading zeros (000 - 999). - AP - Use AM/PM display. The 'AP' will be replaced by - 'AM' or 'PM' as appropriate. - ap - Use AM/PM display. The 'ap' will be replaced by - 'am' or 'pm' as appropriate. diff --git a/docs/opsguide/opsguide.xml b/docs/opsguide/opsguide.xml index 99379c3a..42b84dab 100644 --- a/docs/opsguide/opsguide.xml +++ b/docs/opsguide/opsguide.xml @@ -9576,6 +9576,86 @@ under certain conditions; type `show c' for details. + + Metadata Wildcards + + These codes are used in Rivendell to indicate when a substitution of the + indicated cart metadata field should be performed --e.g. in the + '--metadata-pattern' switch of rdimport(1) or the RLMResolveNowNext*() + functions in the Rivendell Loadable Module API. + + + Metadata Wildcards + + + + + + NowNextField + %a%AArtist + %b%BRecord Label + %c%CClient + %d(<dt>)%D(<dt>)Date/Time (see the Metadata DateTime Specification for values of <dt>) + %e%EAgency + %f%F[unassigned] + %g%GRivendell group name + %h%HEvent length (milliseconds) + %i%ICut Description + %j%JCut Number + %k%KStart [%k]/end [%K] time for rdimport1 [HH:MM:SS] + %l%LAlbum + %m%MComposer + %n%NRivendell cart number + %o%OOutcue + %p%PPublisher + %q%QStart [%q]/end [%Q] date for rdimport1 [YYYY-MM-DD] + %r%RConductor + %s%SSong ID + %t%TTitle + %u%UUser Definied + %v%V[Unassigned] + %w%W[Unassigned] + %x%X[Unassigned] + %y%YRelease Year + %z%Z[Unassigned] + \r\rLiteral Carriage Return (ASCII 13) + \n\nLiteral Linefeed (ASCII 10) + + +
+ + + Metadata DateTime Specification + + + + + WildcardMeaning + dThe day as a number without a leading zero (1 to 31) + ddThe day as a number with a leading zero (01 to 31) + dddThe abbreviated localized day name ('Mon' or 'Sun') + ddddThe long localized day name ('Monday' or 'Sunday') + MThe month as a number without a leading zero (1 to 12) + MMThe month as a number with a leading zero (01 to 12) + MMMThe abbreviated localized month name ('Jan' or 'Dec') + MMMM The long localized month name ('January' or 'December') + yyThe last two digits of the year + yyyyThe full four digits of the year + hThe hour without a leading zero (0 - 23, or 1 - 12 if using AM/PM display) + hhThe hour with a leading zero (00 - 23, or 01 -12 if using AM/PM display) + mThe minute without a leading zero (0 - 59) + mmThe minute with a leading zero (00 - 59) + sThe second without a leading zero (00 - 60) + ssThe second with a leading zero (00 - 60) + zThe milliseconds without a leading zero (0 - 999) + zzzThe milliseconds with leading zeros (000 - 999) + APUse AM/PM display. The 'AP' will be replaced by 'AM' or 'PM' as appropriate + apUse AM/PM display. The 'ap' will be replaced by 'am' or 'pm' as appropriate + + +
+ +