Skip to content

Commit

Permalink
TTK-26902 fix save channel on multimedia objects properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurujai committed Mar 7, 2024
1 parent bb181c4 commit fd27e14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Command/ImportVideosFromYouTubeChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private function autocompleteMultimediaObjectMetadata(MultimediaObject $multimed
$multimediaObject->setProperty('youtube_import_raw', $youtubeInfo);
$multimediaObject->setProperty('youtube_import_id', $youtubeInfo->id);
$multimediaObject->setProperty('youtube_import_type', 'video');
$multimediaObject->setProperty('youtube_import_channel', $youtubeInfo->id);
$multimediaObject->setProperty('youtube_import_channel', $this->channelId);

$multimediaObject->setPublicDate(new \DateTime());
$multimediaObject->setRecordDate(new \DateTime($youtubeInfo->snippet->publishedAt));
Expand Down
2 changes: 1 addition & 1 deletion Resources/doc/ImportFromYoutube.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ where ACCOUNT is the name added for YouTube tag created on PuMuKIT and CHANNEL_I

### 2. Import videos from YouTube

After download videos you will be able to import videos from YouTube to PuMuKIT using this command.
Before download videos you will be able to import videos from YouTube to PuMuKIT using this command.

The command will be autocomplete metadata from YouTube and create a new video on PuMuKIT and move the video to the series created on step 1.

Expand Down

0 comments on commit fd27e14

Please sign in to comment.