Brion VIBBER has uploaded a new change for review. ( 
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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TimedMediaHandler 
refs/changes/10/336910/1

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: newchange
Gerrit-Change-Id: I659bc0d85bf66aa81176ccac32c45da743d53de9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to