|
|
|
@ -20,15 +20,9 @@ export class ImageService extends ServiceHelpers {
|
|
|
|
|
public getTvBanner(tvdbid: number): Observable<string> {
|
|
|
|
|
return this.http.get<string>(`${this.url}tv/${tvdbid}`, {headers: this.headers});
|
|
|
|
|
}
|
|
|
|
|
public getMoviePoster(themoviedbid: string): Observable<string> {
|
|
|
|
|
return this.http.get<string>(`${this.url}poster/movie/${themoviedbid}`, {headers: this.headers});
|
|
|
|
|
}
|
|
|
|
|
public getTvPoster(tvdbid: number): Observable<string> {
|
|
|
|
|
return this.http.get<string>(`${this.url}poster/tv/${tvdbid}`, {headers: this.headers});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public getTvBackground(tvdbid: number): Observable<string> {
|
|
|
|
|
return this.http.get<string>(`${this.url}background/tv/${tvdbid}`, { headers: this.headers });
|
|
|
|
|
public getMoviePoster(movieDbId: number): Observable<string> {
|
|
|
|
|
return this.http.get<string>(`${this.url}poster/movie/${movieDbId}`, { headers: this.headers });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public getTvPoster(tvdbid: number): Observable<string> {
|
|
|
|
@ -39,7 +33,8 @@ export class ImageService extends ServiceHelpers {
|
|
|
|
|
return this.http.get<string>(`${this.url}background/movie/${movieDbId}`, { headers: this.headers });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public getMoviePoster(movieDbId: number): Observable<string> {
|
|
|
|
|
return this.http.get<string>(`${this.url}poster/movie/${movieDbId}`, { headers: this.headers });
|
|
|
|
|
public getTvBackground(tvdbid: number): Observable<string> {
|
|
|
|
|
return this.http.get<string>(`${this.url}background/tv/${tvdbid}`, { headers: this.headers });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|