Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 21, 2024
1 parent 2a009de commit 1b311f8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 20 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: **4.0.0**
Current version: **4.0.1**

# About
This takes ESPN/ESPN+, FOX Sports, Paramount+, MSG+, NFL+, B1G+, NESN, Mountain West, FloSports, CBS Sports, 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).
Expand Down
4 changes: 2 additions & 2 deletions 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": "4.0.0",
"version": "4.0.1",
"description": "",
"scripts": {
"start": "ts-node -r tsconfig-paths/register index.tsx",
Expand Down
7 changes: 1 addition & 6 deletions services/providers/espn/views/CardBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {FC} from 'hono/jsx';

import { IEspnMeta, TESPNTokens } from '@/services/espn-handler';
import { IProviderChannel } from '@/services/shared-interfaces';
import { useLinear } from '@/services/channels';

interface IESPNBodyProps {
enabled: boolean;
Expand All @@ -22,10 +21,7 @@ export const ESPNBody: FC<IESPNBodyProps> = ({enabled, tokens, open, channels, m
return (
<div hx-swap="outerHTML" hx-target="this">
<summary>
<span
data-tooltip="These are only enabled with the LINEAR_CHANNELS environment variable set"
data-placement="right"
>
<span>
Linear Channels
</span>
</summary>
Expand All @@ -46,7 +42,6 @@ export const ESPNBody: FC<IESPNBodyProps> = ({enabled, tokens, open, channels, m
type="checkbox"
checked={c.enabled}
data-enabled={c.enabled ? 'true' : 'false'}
disabled={!useLinear}
hx-put={`/providers/espn/channels/toggle/${c.id}`}
hx-trigger="change"
name="channel-enabled"
Expand Down
5 changes: 1 addition & 4 deletions services/providers/fox/views/CardBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export const FoxBody: FC<IFoxBodyProps> = ({enabled, tokens, open, channels}) =>
return (
<div hx-swap="outerHTML" hx-target="this">
<summary>
<span
data-tooltip="These are only enabled with the LINEAR_CHANNELS environment variable set"
data-placement="right"
>
<span>
Linear Channels
</span>
</summary>
Expand Down
8 changes: 2 additions & 6 deletions services/providers/mlb/views/CardBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {FC} from 'hono/jsx';

import { TMLBTokens } from '@/services/mlb-handler';
import { IProviderChannel } from '@/services/shared-interfaces';
import { useLinear } from '@/services/channels';

interface IMLBBodyProps {
enabled: boolean;
Expand All @@ -22,10 +21,7 @@ export const MlbBody: FC<IMLBBodyProps> = ({enabled, tokens, open, channels, onl
return (
<div hx-swap="outerHTML" hx-target="this">
<summary>
<span
data-tooltip="These are only enabled with the LINEAR_CHANNELS environment variable set"
data-placement="right"
>
<span>
Linear Channels
</span>
</summary>
Expand All @@ -46,7 +42,7 @@ export const MlbBody: FC<IMLBBodyProps> = ({enabled, tokens, open, channels, onl
type="checkbox"
checked={c.enabled && !onlyFree}
data-enabled={c.enabled && !onlyFree ? 'true' : 'false'}
disabled={!useLinear || onlyFree}
disabled={onlyFree}
hx-put={`/providers/mlbtv/channels/toggle/${c.id}`}
hx-trigger="change"
name="channel-enabled"
Expand Down

0 comments on commit 1b311f8

Please sign in to comment.