Skip to content

Commit

Permalink
fix(import): add new property to know origin of series
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurujai committed Mar 22, 2024
1 parent f6673b2 commit e0c0bde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Command/ImportPlaylistFromYouTubeChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ private function autocompleteSeriesMetadata(Series $series, Playlist $item): Ser
$series->setProperty('youtube_import_id', $item->id);
$series->setProperty('youtube_import_raw', json_encode($item->snippet));
$series->setProperty('youtube_import_type', 'playlist');
$series->setProperty('youtube_import_playlist_channel', $this->channelId);

$series->setI18nTitle($this->i18nService->generateI18nText($item->snippet->title));
$series->setI18nDescription($this->i18nService->generateI18nText($item->snippet->description));
Expand Down

0 comments on commit e0c0bde

Please sign in to comment.