Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ This feature merely checks for the *existence* of the tags, and does not verify

#### Logging

You can use the `-O` option to enable scan logs. The program will save a tab-delimited file titled `replaygain.csv` with the scan results for every directory it scans. The log files can be viewed in a spreadsheet application.
You can use the `-O` option to enable scan logs. The program will save a tab-delimited file titled `replaygain.tsv` with the scan results for every directory it scans. The log files can be viewed in a spreadsheet application.

##### Microsoft Excel

Microsoft Excel doesn't recognize the tab delimiter in CSV files by default. To enable Excel compatibility, rsgain has an option `-Os` which will add a `sep` header to the CSV file. This is a non-standard Microsoft extension which will enable the outputted CSV files to open in Excel.
Some versions of Microsoft Excel may fail to recognize the tab delimiter in TSV files by default. To enable Excel compatibility, rsgain has an option `-Os` which will add a `sep` header to the TSV file. This is a non-standard Microsoft extension which will enable the outputted TSV files to open in Excel.

##### Sorting

Expand Down
2 changes: 1 addition & 1 deletion docs/rsgain.1
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Scan files with \fBn\fR parallel threads\.
Load scan preset \fBs\fR\.
.TP
\fB\-O\fR, \fB\-\-output\fR
Output tab\-delimited scan data to CSV file per directory\.
Output tab\-delimited scan data to TSV file per directory\.
.TP
\fB\-O s\fR, \fB\-\-output=s\fR
Output with sep header (needed for Microsoft Excel compatibility)\.
Expand Down
2 changes: 1 addition & 1 deletion src/easymode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ static inline void help_easy() {

print("\n");

CMD_HELP("--output", "-O", "Output tab-delimited scan data to CSV file per directory");
CMD_HELP("--output", "-O", "Output tab-delimited scan data to TSV file per directory");
CMD_HELP("--output=s", "-O s", "Output with sep header (needed for Microsoft Excel compatibility)");
CMD_HELP("--output=a", "-O a", "Output with files sorted in alphanumeric order");

Expand Down
2 changes: 1 addition & 1 deletion src/scan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ void ScanJob::tag_tracks()
std::FILE *stream = nullptr;
if (config.tab_output != OutputType::NONE) {
if (config.tab_output == OutputType::FILE) {
std::filesystem::path output_file = std::filesystem::path(path) / "replaygain.csv";
std::filesystem::path output_file = std::filesystem::path(path) / "replaygain.tsv";
stream = fopen(output_file.string().c_str(), "wb");
}
else
Expand Down