Exporting has five configuration sections:

Realtime Exporting
Archiving
Images
Music Browser
Miscellaneous

 

Realtime Exporting

Export on track change  - Check this box to enable exporting every time track info changes.
 
Export each X seconds  - Check this box to enable exporting at given intervals, as determined by the number of seconds specified.
 
Playing template  - Template file used when QCD is playing or paused.
 
Stopped template  - Template file used when QCD is stopped.
 
Copy on unload  - File used when QCD is off or plugin is unloaded. Uncheck the box if you don't want a file to be copied in this situation.
 
Output file  - Output (exported) file; this file is the result of the work that was done on the template file.
 
Run app after exporting  - Check this box to enable an external application to be run after each exporting, as defined in the edit box. This would normally be used to upload the exported page to a website using an FTP client.
 
Run minimized  - If run app after exporting is checked, checking this box instructs the application to run minimized, and graying it instructs the application to run with no focus.
Note: not all applications obey this instruction.
 
Params  - If run app after exporting is checked and the external application uses command-line parameters, enter the parameters in this field.
 
<QCD_*SECS> tags add...  - If a <QCD_TRSECS> or <QCD_PLSECS> tag is used in template files to signal web pages to auto-refresh, a few seconds should be added to make sure the page doesn't refresh ahead of time. This setting determines the number of seconds to be added.

 

Archiving

Enable auto-archiving  - Check this box to enable automatic archiving of each album loaded into QCD. As auto-archiving uses the "album" field from QCD, it is probably not a good idea to keep this box checked when playing assorted digital files or streams. If a file already exists, auto-archiving will not overwrite it.
 
Archive current playlist  - When this button is pressed, an archive file for the current playlist is created, based on the defined templates and output files. A line is added in the table of contents (TOC) that points to the new page. If a file already exists, the user will be prompted to overwrite it; no line will be added to the table of contents (TOC) page.
 
Template file  - Template file used for archiving.
 
File naming templates  - Archiving creates a new file for each album. This field defines the filename generated, based on album and artist (or various artists). The following tags can be used:
%art - artist (not valid in the "various artists" template)
%alb - album
TOC header file  - This is copied once to a new TOC file that is being created. It defines colors, fonts and other general settings for the TOC page.
 
TOC template file  - This template is used for each archiving procedure. It is usually a single line, and is appended to the end of the TOC page each time a playlist is archived.
 
TOC (output) file  - This is the output TOC file, to be opened (usually) with a web browser. The supplied "toc_frames.html" can be used to view the TOC and album pages in a frames page, side by side (if the location of the output file is changed from the default value, the frames page must be changed to match).

 

Images

Image List

The image list is a unique feature that enables Now Playing to get an image file URL for the current album. The expected use of this feature is for displaying cover art on generated web pages, although any image - any file, really - can be linked using the image list (to display a different file for every track, see image template below). The <QCD_COVER> tag in the template file will be replaced by the URL retrieved from the image list, if one is found, or from the image template. If no entry is found for a given album, the tag is ignored.

How it works:

  1. Now Playing reads artist and album names from QCD and searches the image list. If a URL is found, it will be used.
  2. If no URL was found, Now Playing will search the image list for the album name with an empty artist name field. This is to allow for compilation albums, where each track has a different artist, to avoid having to have many entries for the same album, for each artist.
  3. If still no URL was found, Now Playing tries to generate a URL from the image template. If an image template exists, a URL will always be generated, regardless of whether the URL is valid.
  4. If the image template is empty, Now Playing assumes there is no image for this album.

Use Current Data - retrieving artist and album info from QCD:

The use current data button retrieves the artist and album info from QCD, and places them in the corresponding fields of the dialog box. This makes it easier to enter information to the image list, since the artist and album values retrieved are the same values Now Playing will use when searching the image list to find an image for this album. Note: pressing this button when the current album is a compilation album (various artists) will leave the artist field empty to enable album-only searches, as explained above in how it works.

Retrieve Image URL - retrieving current info from image list:

The retrieve image URL button reads the artist and album fields of the dialog box (regardless of whether it's the current album), and searches the image list for the corresponding URL. This is the same action Now Playing performs when searching the image list, so it's a simple way to see which URL is in the image list for a given album, if any. The search result is displayed in the URL field. Note: pressing this button discards the previous contents of the URL field.

Add/Change Image URL - adding (and removing) info to (from) image list:

The add/change image URL button reads the artist, album and URL fields of the dialog box (regardless of whether it's the current album), and adds the info to the image list. Any previous URL for this album will be replaced by the new URL. Note 1: Now Playing does not check the validity of the URL. Note 2: any spaces in the URL field will be replaced by the string defined for this purpose in the image template configuration. Note 3: If the URL field is empty when pressing this button, any info for this album will be removed from the image list.

Guess

The guess button suggests a URL for the artist and album fields of the dialog box. The suggestion is based on the image template, the filename extension, common filenames that are given to image files, and the assumption that we wouldn't be pressing the button if the image was accessible already. It's not always right, of course, but it can point you in the right direction.

Image list file

This is the location of the image list file.

Image Template

The image template offers a number of advantages over the image list:

There is also one drawback to using the image template:

Using the image template is simple:

  1. Enter the URL to the template field exactly as you want it to appear in the exported file, but instead of entering real artist, album and track names, use the tags %alb, %art and %trk respectively. Now Playing will replace the tags with actual data during the exporting process.
  2. The spaces in field names... field should be filled depending on your image files. Your template probably includes artist name, which probably has spaces in the name. Since spaces are not valid characters for URLs, these must be changed. The following table explains what to fill into this field, using Suzanne Vega's Solitude Standing as an example. Obviously QCD and Now Playing both recognize the artist as "Suzanne Vega" and the album as "Solitude Standing". Let's say our cover files are in the form "artist-album.jpg". What to do with the spaces?

Filename

Spaces  will be replaced with:

"Suzanne Vega-Solitude Standing.jpg"

"%20" (this is URL notation for an actual space character)

"SuzanneVega-SolitudeStanding.jpg"

"" (empty string)

"Suzanne_Vega-Solitude_Standing.jpg"

"_" (underscore)

Note: the quotation marks are not part of the filenames or the replacement strings.

Of course, you can still use the image list for retrieving URLs that don't have the template format. Now Playing checks the image list first, so any exceptions to the template rule will be retrieved from the list, without having to forego the template.

Random Images

The <QCD_RNDIMAGE> tag (available from version 1.1) is meant for HTML background images, but can be used for any purpose. When the exported page is created and this tag is encountered in the template file, Now Playing will randomly select a GIF or JPG filename from the folder entered in this field, and insert the filename without the path to the exported file. For more information, see creating template files.

 

Music Browser

HTML playlist  - Check the "enable" box to enable the integrated HTML playlist feature. The HTML playlist is a clickable, customizable playlist displayed in QCD's music browser, generated from the designated template file.
The included template file includes small icons to the left of each track name, which can be clicked to jump to that track in QCD. The template can be manipulated to create the look and feel desired.
Note: this function will work correctly only if the following options are unchecked: QCD Preferences -> Display -> Auto-launch music browser...; Preferences -> Display -> Auto-update music browser...; Preferences -> Default Player -> Enqueue files by default...
 
Music browser opens...  - Check this box for the exported file to be opened when the music browser is launched (if HTML playlist is off); normally, the music browser opens a web page at Gracenote. This will work only if the exported file is readable by web browsers (i.e., HTML or plain text).
Note: this function will work correctly only if the following options are unchecked: QCD Preferences -> Display -> Auto-launch music browser...; Preferences -> Display -> Auto-update music browser...
 
Update music browser...  - If checked (and music browser opens exported page is checked), music browser will be refreshed on track info change (if grayed, music browser will also be refreshed every time a page is exported). This setting does not affect the exported file itself, so the control tags should still be used in the template file if a web browser will be used to view the exported page.
 
URL for music browser  - If music browser opens exported page is checked, this is the URL (or local file) that will be opened when the music browser is launched. This does not have to be the same file that was exported, although that would be the standard usage. If this field is left blank, the local output file will be used. You may want to set this page to the included "NowPlaying_noScrollBar.html" file, which points to the standard exporting page while disabling scroll bars.
 
Open music browser on start  - Determines the action to be performed when Now Playing is loaded: open music browser, don't, or remember last state (when Now Playing was last unloaded, not when QCD was last closed).

 

Miscellaneous

qLib  - Now Playing can access a qLib database directly, via special <QCD_QLIB:*> tags (available from version 2.0; see the Creating Template Files section for more information). This setting defines which database file to use.

 

General buttons

Defaults  - Fill all dialog fields with their default values (this does not save the values; OK or apply must be pressed afterwards).
 
Web Help  - Open Now Playing web help in the default browser.
 
Cancel  - Discard changes and close dialog.
 
Apply  - Accept changes and leave dialog open (pressing cancel afterwards will not undo these changes).
 
OK  - Accept changes and close dialog.