mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 14:16:16 -08:00
refactor(season-container): simplify isEpisodeInProgress method by removing unnecessary logging
This commit is contained in:
1 parent
61f095b6f5
commit
4a32898a2f
1 file changed
+1
-9
@@ -218,15 +218,7 @@ export class SeasonContainerComponent implements OnInit {
|
||||
|
||||
isEpisodeInProgress(episode: XtreamSerieEpisode) {
|
||||
const contentId = this.getEpisodeContentId(episode);
|
||||
const inProgress = this.xtreamStore.isInProgress(contentId, 'episode');
|
||||
if (inProgress) {
|
||||
this.logger.debug('Episode in progress', {
|
||||
title: episode.title,
|
||||
contentId,
|
||||
originalId: (episode as any).originalId,
|
||||
});
|
||||
}
|
||||
return inProgress;
|
||||
return this.xtreamStore.isInProgress(contentId, 'episode');
|
||||
}
|
||||
|
||||
getEpisodeProgress(episode: XtreamSerieEpisode) {
|
||||
|
||||
Reference in new issue
Block a user