feat(api): plex Sync (Movies)

Also adds winston logging
This commit is contained in:
sct
2020-09-27 14:05:32 +00:00
parent 5a43ec5405
commit 1be8b18361
19 changed files with 656 additions and 23 deletions

View File

@@ -269,7 +269,7 @@ const TitleCard: React.FC<TitleCardProps> = ({
</svg>
</button>
)}
{currentStatus === MediaStatus.AVAILABLE && (
{currentStatus === MediaStatus.PROCESSING && (
<button className="w-full h-7 text-center text-white bg-red-500 rounded-sm ml-1">
<svg
className="w-4 mx-auto"

View File

@@ -10,6 +10,7 @@ import axios from 'axios';
import { User } from '../hooks/useUser';
import { IntlProvider } from 'react-intl';
import { LanguageContext, AvailableLocales } from '../context/LanguageContext';
import Head from 'next/head';
const loadLocaleData = (locale: string) => {
switch (locale) {
@@ -76,6 +77,9 @@ const CoreApp: Omit<NextAppComponentType, 'origGetInitialProps'> = ({
messages={loadedMessages}
>
<ToastProvider>
<Head>
<title>Overseerr</title>
</Head>
<UserContext initialUser={user}>{component}</UserContext>
</ToastProvider>
</IntlProvider>