Skip to content

Commit b734952

Browse files
author
Your Name
committed
Fix issues with FOX playback and scheduling
1 parent bf94868 commit b734952

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img src="https://i.imgur.com/FIGZdR3.png">
33
</p>
44

5-
Current version: **4.9.1**
5+
Current version: **4.9.2**
66

77
# About
88
This takes ESPN+, ESPN, FOX Sports, CBS Sports, Paramount+, Gotham Sports, NFL, B1G+, NESN, Mountain West, Northern Sun, KBO, Victory+, NHL.tv, FloSports, LOVB Live, PWHL, or 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).

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eplustv",
3-
"version": "4.9.1",
3+
"version": "4.9.2",
44
"description": "",
55
"scripts": {
66
"start": "ts-node -r tsconfig-paths/register index.tsx",

services/fox-handler.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ class FoxHandler {
386386
maxRes: streamOrder[a],
387387
os: 'Android',
388388
osv: '11.0.0',
389-
streamId: eventId,
389+
streamId: eventId.replace('_dtc', ''),
390390
streamType: 'live',
391391
},
392392
{
@@ -422,7 +422,6 @@ class FoxHandler {
422422
const events: IFoxEvent[] = [];
423423

424424
const [now, inTwoDays] = normalTimeRange();
425-
now.startOf('day');
426425

427426
const dateRange = `${now.toISOString()}..${inTwoDays.toISOString()}`;
428427

services/providers/fox/index.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ fox.get('/tve-login/:code', async c => {
9999
return c.html(<Login code={code} />);
100100
}
101101

102+
// Trigger a refresh of tokens straight away
103+
await foxHandler.authenticateRegCode(false);
104+
102105
const {affectedDocuments} = await db.providers.updateAsync<IProvider<TFoxTokens>, any>(
103106
{name: 'foxsports'},
104107
{$set: {enabled: true}},

0 commit comments

Comments
 (0)