Skip to content

Commit

Permalink
Fixed issue with NFL games not being scheduled on FOX
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ngr31 committed Dec 31, 2023
1 parent 69b9935 commit 496d0fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img src="https://i.imgur.com/FIGZdR3.png">
</p>

Current version: **2.1.1**
Current version: **2.1.3**

# About
This takes ESPN/ESPN+, FOX Sports, Paramount+, MSG+, and MLB.tv programming and transforms it into a "live TV" experience with virtual linear channels. It will discover what is on, and generate a schedule of channels that will give you M3U and XMLTV files that you can import into something like [Jellyfin](https://jellyfin.org) or [Channels](https://getchannels.com).
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eplustv",
"version": "2.1.2",
"version": "2.1.3",
"description": "",
"scripts": {
"start": "ts-node index.ts",
Expand Down
4 changes: 2 additions & 2 deletions services/fox-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class FoxHandler {

const events: IFoxEvent[] = [];

const now = new Date();
const now = moment().startOf('day');

const dateRange = `${now.toISOString()}..${moment(now).add(2, 'days').endOf('day').toISOString()}`;

Expand All @@ -355,7 +355,7 @@ class FoxHandler {
m.endDate &&
m.id
) {
if (m.airingType === 'live') {
if (m.airingType === 'live' || m.airingType === 'new') {
events.push(m);
} else if (allowReplays && m.airingType !== 'live') {
events.push(m);
Expand Down

0 comments on commit 496d0fb

Please sign in to comment.