MCPcopy Index your code
hub / github.com/MALSync/MALSync / image

Method image

src/_provider/Simkl/metaOverview.ts:85–90  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

83 }
84
85 private image(data) {
86 const image = data.poster;
87 if (image) this.meta.image = `https://simkl.in/posters/${image}_ca.jpg`;
88 if (image) this.meta.imageLarge = `https://simkl.in/posters/${image}_m.jpg`;
89 if (image) this.meta.imageBanner = `https://simkl.in/posters/${image}_w.jpg`;
90 }
91
92 private alternativeTitle(data) {
93 if (typeof data.en_title !== 'undefined' && data.en_title)

Callers 1

_initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected