Skip to content

Commit d0f0e51

Browse files
author
Your Name
committed
Test fix for Gotham tokens
1 parent b62bb60 commit d0f0e51

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
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.1.0**
5+
Current version: **4.1.1**
66

77
# About
88
This takes ESPN+, ESPN, FOX Sports, CBS Sports, Paramount+, MSG+, NFL, B1G+, NESN, Mountain West, FloSports, 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

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

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

services/gotham-handler.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ class GothamHandler {
276276

277277
await this.authenticateRegCode();
278278

279+
// Refresh access token
280+
await this.getAccessToken();
281+
279282
if (moment().add(20, 'hours').isAfter(this.expiresIn)) {
280283
console.log('Refreshing Gotham auth token');
281284
await this.getNewTokens();

0 commit comments

Comments
 (0)