Hi Chester, I have found in testing that from a terminal that even if you use the -metadata-pattern switch you still need to specify a group. The group will be ignored in favor of the naming convention, but it still has to be there. Assuming everything else in your command is correct, just add a group, like: rdimport --log-mode --verbose --normalization-level=0 --autotrim-level=-53 --fix-broke-formats --add-scheduler-code=fixme --metadata-pattern='%t_%a_%l_%g.' MUSIC TEMP *.flac > Imported.txt
As a side note in my testing running from the command line had some issues, namely that over extended periods the ingest would just stop responding. I am importing from a shared Windows folder getting news, weather, and other items from WebGopher running on a Windows machine on the net. I discovered much to my chagrin that the importers can be run by Rivendell, no need for the command line or to send the text to a log file, that's doen automatically. This method seems to make things work more smoothly but there are some caveats. My notes on that subject follow: 1. Under RD Configuration -> RDAdmin -> Manage Hosts, select the Rivendell host that's running, default is "rdhost", and click "Edit". These are a number of default settings for this host, one of which is "Dropboxes". Clicking this allows you to have the RD system launch instances of RDImport rather than needing to do it at a command line. The menu has some issues. One is the "To Cart" field. You have to enter something here to activate the "Delete cuts before importing" which is needed to make sure when the cart plays it plays only the update and not a rotation of which the update is a part. But, having something in that field causes an error that causes the import to exit. So set something there, tick the "delete carts" checkbox, the delete the cart entry before saving. That works. Below is a screenshot of my news/weather import which looks for WG created files from a Windows machine with an extension (case sensitive) of ".wav". I have another music import tied to this folder looking for ".mp3" music files to import into my library. I just drop them into the folder in Windows, and generally they are imported without issue. Tom Churchill Virtual Voice Technologies From: [email protected] [mailto:[email protected]] On Behalf Of Chester Graham Sent: Monday, June 16, 2014 11:46 PM To: rivendell-dev Subject: [RDD] RDImport --metadata-pattern doesn't accept %g unless you add an additional group into command This is being run on the Appliance Version 2 system. Command: rdimport --log-mode --verbose --normalization-level=0 --autotrim-level=-53 --fix-broke-formats --add-scheduler-code=fixme --metadata-pattern='%t_%a_%l_%g.' *.flac > Imported.txt Result: rdimport: invalid group specified Command: rdimport --log-mode --verbose --normalization-level=0 --autotrim-level=-53 --fix-broke-formats --add-scheduler-code=fixme --metadata-pattern='%t_%a_%l_%g.' TEMP *.flac > Imported.txt Result: Carts were imported into Group "PROPHECY" as desired. It ignored the TEMP group. 06-16-2014 - 23:27:41 : rdimport started RDImport v2.9.0 Log mode is ON Normalization is OFF AutoTrim level = -53 dB Destination cart is AUTO Single cart mode is OFF Delete source mode is OFF Delete cuts mode is OFF DropBox mode is OFF Adding Scheduler Code(s): fixme Using metadata pattern: %t_%a_%l_%g. Start Date Offset = 0 days End Date Offset = 0 days Broken format workarounds are DISABLED Import Create Dates mode is OFF Files to process: "12RVT00_Ron-Halvorson_Revelation-Today_PROPHECY.flac" "12RVT01_Ron-Halvorson_Revelation-Today_PROPHECY.flac" "12RVT02_Ron-Halvorson_Revelation-Today_PROPHECY.flac" "12RVT03_Ron-Halvorson_Revelation-Today_PROPHECY.flac" "12RVT04_Ron-Halvorson_Revelation-Today_PROPHECY.flac" "12RVT05_Ron-Halvorson_Revelation-Today_PROPHECY.flac" "12RVT06_Ron-Halvorson_Revelation-Today_PROPHECY.flac" 06-16-2014 - 23:27:41 : Importing file "12RVT00_Ron-Halvorson_Revelation-Today_PROPHECY.flac" [12RVT00] to cart 055347 ... done. 06-16-2014 - 23:28:20 : Importing file "12RVT01_Ron-Halvorson_Revelation-Today_PROPHECY.flac" [12RVT01] to cart 055348 ... done. 06-16-2014 - 23:28:46 : Importing file "12RVT02_Ron-Halvorson_Revelation-Today_PROPHECY.flac" [12RVT02] to cart 055349 ... done. 06-16-2014 - 23:29:23 : Importing file "12RVT03_Ron-Halvorson_Revelation-Today_PROPHECY.flac" [12RVT03] to cart 055350 ... done. 06-16-2014 - 23:29:49 : Importing file "12RVT04_Ron-Halvorson_Revelation-Today_PROPHECY.flac" [12RVT04] to cart 055351 ... done. 06-16-2014 - 23:30:14 : Importing file "12RVT05_Ron-Halvorson_Revelation-Today_PROPHECY.flac" [12RVT05] to cart 055352 ... done. 06-16-2014 - 23:30:44 : Importing file "12RVT06_Ron-Halvorson_Revelation-Today_PROPHECY.flac" [12RVT06] to cart 055353 ... done.
_______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
