diff --git a/web/src/components/channel_config/ProgrammingSelector.tsx b/web/src/components/channel_config/ProgrammingSelector.tsx index 20283ef7..3941f6d0 100644 --- a/web/src/components/channel_config/ProgrammingSelector.tsx +++ b/web/src/components/channel_config/ProgrammingSelector.tsx @@ -1,10 +1,12 @@ import { + Alert, Box, FormControl, InputLabel, MenuItem, Select, Stack, + Typography, } from '@mui/material'; import { PlexMedia, isPlexDirectory } from '@tunarr/types/plex'; import { find, isEmpty, isNil, isUndefined, map } from 'lodash-es'; @@ -18,6 +20,7 @@ import { setProgrammingListLibrary, setProgrammingListingServer, } from '../../store/programmingSelector/actions.ts'; +import AddPlexServer from '../settings/AddPlexServer.tsx'; import { CustomShowProgrammingSelector } from './CustomShowProgrammingSelector.tsx'; import PlexProgrammingSelector from './PlexProgrammingSelector.tsx'; @@ -116,6 +119,29 @@ export default function ProgrammingSelector() { return ; } + if (!selectedServer) { + return ( + <> + + Connect Plex + + + To use Tunarr, you need to first connect your Plex library. This + will allow you to build custom channels with any of your plex + content. + + + } + > + Plex is not connected. + + + ); + } + return null; };