Comment to 'Dolphin Migration Errors'
  • Also i not see in the code any reference regarding mp4 or vlf anly about .mp4v, I ask this because out of several hundreds of videos, the transfer script only transfers 3

    
                    $sFileName = "{$aValue['ID']}.m4v";
                    $sVideoPath = $this -> _sVideoFilesPath . $sFileName;
                    if (file_exists($sVideoPath))
                    {
                        $oStorage = BxDolStorage::getObjectInstance('bx_videos_videos');
                        $iId = $oStorage -> storeFileFromPath($sVideoPath, false, $iProfileId, $iVideoId);
                        if ($iId)
                        { 
                            $this -> _iTransferred++;
                            $this->transferTags((int)$aValue['ID'], $iId, $this -> _oConfig -> _aMigrationModules[$this -> _sModuleName]['type'], $this -> _oConfig -> _aMigrationModules[$this -> _sModuleName]['keywords']);
                            $this->transferFavorites((int)$aValue['ID'], $iId);
                            $this->transferSVotes((int)$aValue['ID'], $iId);
    
    
                            $this->_oDb->query("UPDATE `bx_videos_entries` SET `comments` = :comments, `video`=:video WHERE `id` = :id", array('id' => $iVideoId, 'video' => $iId, 'comments' => $this->transferComments($iVideoId, $aValue['ID'], 'videos')));
                        }
                    }