Skip to content

Commit

Permalink
Couple of small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ngr31 committed Sep 11, 2024
1 parent b83dfed commit 90a04f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/fox-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ const parseAirings = async (events: IFoxEvent[]) => {
image: event.images.logo?.FHD || event.images.seriesDetail?.FHD || event.images.seriesList?.FHD,
name: event.name,
network: event.callSign,
replay: event.airingType !== 'live',
start: start.valueOf(),
...(isLinear && {
channel: event.network,
linear: true,
replay: event.airingType !== 'live',
}),
});
}
Expand Down
2 changes: 1 addition & 1 deletion services/generate-m3u.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const generateM3u = (uri: string, linear = false): string => {
}

const channelNum = parseInt(key, 10) + LINEAR_START_CHANNEL;
m3uFile = `${m3uFile}\n#EXTINF:0 tvg-id="${channelNum}.eplustv" channel-id="${val.name} channel-number="${channelNum}" tvg-chno="${channelNum}" tvg-name="${val.tvgName}" tvc-guide-stationid="${val.stationId}" group-title="EPlusTV", ${val.name}`;
m3uFile = `${m3uFile}\n#EXTINF:0 tvg-id="${channelNum}.eplustv" channel-id="${val.name}" channel-number="${channelNum}" tvg-chno="${channelNum}" tvg-name="${val.tvgName}" tvc-guide-stationid="${val.stationId}" group-title="EPlusTV", ${val.name}`;
m3uFile = `${m3uFile}\n${uri}/channels/${channelNum}.m3u8\n`;
});
} else {
Expand Down

0 comments on commit 90a04f7

Please sign in to comment.