mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Starting to implement movies
This commit is contained in:
parent
8b582d412a
commit
632b2606b7
@ -44,7 +44,8 @@
|
||||
<img src="poster/{{this.item.showSlug}}" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<h3>S{{this.item.seasonNumber}}:E{{this.item.episodeNumber}} - {{this.item.title}}</h3>
|
||||
<h3 *ngIf="this.item.seasonNumber != -1">S{{this.item.seasonNumber}}:E{{this.item.episodeNumber}} - {{this.item.title}}</h3>
|
||||
<h3 *ngIf="this.item.seasonNumber == -1">{{this.item.title}}</h3>
|
||||
|
||||
<div id="progress-bar">
|
||||
<div class="seek-bar">
|
||||
|
@ -70,8 +70,11 @@ export class PlayerComponent implements OnInit
|
||||
|
||||
this.setDuration(this.item.duration);
|
||||
|
||||
this.title.setTitle(this.item.showTitle + " S" + this.item.seasonNumber + ":E" + this.item.episodeNumber + " - Kyoo");
|
||||
|
||||
if (this.item.seasonNumber != -1)
|
||||
this.title.setTitle(this.item.showTitle + " S" + this.item.seasonNumber + ":E" + this.item.episodeNumber + " - Kyoo");
|
||||
else
|
||||
this.title.setTitle(this.item.showTitle + " - Kyoo");
|
||||
|
||||
if (navigator.userAgent.match(/Mobi/) && document.fullscreenElement == null)
|
||||
{
|
||||
this.fullscreen();
|
||||
|
@ -62,17 +62,18 @@
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="container-fluid mt-3">
|
||||
<mat-form-field>
|
||||
<mat-label>Season</mat-label>
|
||||
<mat-select [(value)]="season" (selectionChange)="getEpisodes()">
|
||||
<mat-option *ngFor="let season of this.show.seasons" [value]="season.seasonNumber">{{season.title}}</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<div *ngIf="!this.show.isMovie">
|
||||
<div class="container-fluid mt-3">
|
||||
<mat-form-field>
|
||||
<mat-label>Season</mat-label>
|
||||
<mat-select [(value)]="season" (selectionChange)="getEpisodes()">
|
||||
<mat-option *ngFor="let season of this.show.seasons" [value]="season.seasonNumber">{{season.title}}</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<app-episodes-list [episodes]="episodes"></app-episodes-list>
|
||||
</div>
|
||||
<app-episodes-list [episodes]="episodes"></app-episodes-list>
|
||||
|
||||
|
||||
<div class="container-fluid mt-5">
|
||||
<h3>Staff</h3>
|
||||
</div>
|
||||
|
@ -16,6 +16,7 @@ export interface Show
|
||||
seasons: Season[];
|
||||
trailerUrl: string;
|
||||
isCollection: boolean;
|
||||
isMovie: boolean;
|
||||
|
||||
startYear: number;
|
||||
endYear : number;
|
||||
|
Loading…
x
Reference in New Issue
Block a user