jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/336910 )
Change subject: Support requeuing audio transcodes as well as video
......................................................................
Support requeuing audio transcodes as well as video
Change-Id: I659bc0d85bf66aa81176ccac32c45da743d53de9
---
M maintenance/requeueTranscodes.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Reedy: Looks good to me, approved
jenkins-bot: Verified
diff --git a/maintenance/requeueTranscodes.php
b/maintenance/requeueTranscodes.php
index 229e01c..0eda5e2 100644
--- a/maintenance/requeueTranscodes.php
+++ b/maintenance/requeueTranscodes.php
@@ -26,7 +26,7 @@
public function execute() {
$this->output( "Cleanup transcodes:\n" );
$dbr = wfGetDB( DB_SLAVE );
- $where = [ 'img_media_type' => 'VIDEO' ];
+ $where = [ 'img_media_type' => [ 'AUDIO', 'VIDEO' ] ];
if ( $this->hasOption( 'file' ) ) {
$title = Title::newFromText( $this->getOption( 'file'
), NS_FILE );
if ( !$title ) {
--
To view, visit https://gerrit.wikimedia.org/r/336910
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I659bc0d85bf66aa81176ccac32c45da743d53de9
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits