Simplification of name format stuff.
[dcpomatic.git] / src / lib / kdm_name_format.cc
index fe4a3fc62b77fb5d15c8fed58be1e4fa7edc395b..bf17acbf1f3f39115e18f7b75e035d661bce63f6 100644 (file)
@@ -25,9 +25,14 @@ using std::string;
 KDMNameFormat::KDMNameFormat (string specification)
        : NameFormat (specification)
 {
-       add ("film_name", 'f', "film name");
-       add ("cinema", 'c', "cinema");
-       add ("screen", 's', "screen");
-       add ("from", 'b', "from date/time");
-       add ("to", 'e', "to date/time");
+       /* film name */
+       add ('f');
+       /* cinema */
+       add ('c');
+       /* screen */
+       add ('s');
+       /* from date/time */
+       add ('b');
+       /* to date/time */
+       add ('e');
 }