mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
unnecessary withSeason func removed
This commit is contained in:
parent
e170bdb335
commit
80d340801c
1 changed files with 0 additions and 8 deletions
|
|
@ -48,13 +48,6 @@ const withLibItem = ({ libItem, streams = {} }) => {
|
|||
};
|
||||
};
|
||||
|
||||
const withSeason = ({ season, type, id }) => {
|
||||
const queryParams = new URLSearchParams([['season', season]]);
|
||||
return {
|
||||
meta_details_videos_season: `#/metadetails/${encodeURIComponent(type)}/${encodeURIComponent(id)}?${queryParams.toString()}`
|
||||
};
|
||||
};
|
||||
|
||||
const withVideo = ({ video, metaTransportUrl, metaItem, streams = {} }) => {
|
||||
const [stream, streamTransportUrl] = typeof streams[`${encodeURIComponent(metaItem.id)}/${encodeURIComponent(video.id)}`] === 'object' ?
|
||||
streams[`${encodeURIComponent(metaItem.id)}/${encodeURIComponent(video.id)}`]
|
||||
|
|
@ -92,7 +85,6 @@ module.exports = {
|
|||
withCatalog,
|
||||
withMetaItem,
|
||||
withLibItem,
|
||||
withSeason,
|
||||
withVideo,
|
||||
withStream,
|
||||
serializeStream,
|
||||
|
|
|
|||
Loading…
Reference in a new issue