Skip to content

Commit

Permalink
Revert "Exclude unlicencied audios from exports"
Browse files Browse the repository at this point in the history
This reverts commits 09f39fd
and 63c3170.

The rationale behind the original change was that audio that cannot
be reused outside Tatoeba don’t need to be exported, but I didn’t
think about reusing the metadata instead. It turns out I broke
some of our members’ workflow, so I’m reverting.

Solves #2955.
  • Loading branch information
jiru committed Jun 19, 2022
1 parent 1298ce0 commit b09971b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/database/scripts/weekly_exports.sql
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ INTO OUTFILE '/var/tmp/sentence_comments.csv';
-- Sentences with audio
SELECT a.sentence_id, a.id, u.username, u.audio_license, u.audio_attribution_url
FROM audios a LEFT JOIN users u on u.id = a.user_id
WHERE u.audio_license <> ''
ORDER BY sentence_id ASC
INTO OUTFILE '/var/tmp/sentences_with_audio.csv';

Expand Down
6 changes: 3 additions & 3 deletions src/Template/Pages/downloads.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,9 @@ $transcriptionsOptions = $this->Downloads->createOptions('transcriptions');
<?= __(
'Contains the ids of the sentences, in all languages, for '.
'which audio is available. Other fields indicate who recorded '.
'the audio, its license and a URL to attribute the author. '.
'Note that some of the audio available on Tatoeba are not listed '.
'in this file because of license restrictions.'
'the audio, its license and a URL to attribute the author. If '.
'the license field is empty, you may not reuse the audio '.
'outside the Tatoeba project.'
) ?>
</dd>
<dt><?= __('Downloading audio') ?></dt>
Expand Down

0 comments on commit b09971b

Please sign in to comment.