mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +00:00
moved introdb base url to env
This commit is contained in:
parent
de7fcb4d4d
commit
5662ee908d
4 changed files with 7 additions and 3 deletions
|
|
@ -17,3 +17,7 @@ EXPO_PUBLIC_MOVIEBOX_TMDB_API_KEY=your_tmdb_api_key_for_moviebox
|
|||
EXPO_PUBLIC_TRAKT_CLIENT_ID=your_trakt_client_id
|
||||
EXPO_PUBLIC_TRAKT_CLIENT_SECRET=your_trakt_client_secret
|
||||
EXPO_PUBLIC_TRAKT_REDIRECT_URI=stremioexpo://auth/trakt
|
||||
|
||||
# Skip Intro API (IntroDB)
|
||||
# Fetches intro timestamps for TV shows to enable skip intro functionality
|
||||
EXPO_PUBLIC_INTRODB_API_URL=https://api.introdb.app
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@ const AndroidVideoPlayer: React.FC = () => {
|
|||
if (!hasExoPlayerFailed.current) {
|
||||
hasExoPlayerFailed.current = true;
|
||||
logger.warn('[AndroidVideoPlayer] ExoPlayer codec error detected, switching to MPV silently');
|
||||
ToastAndroid.show('Switching to MPV due to unsupported codec', ToastAndroid.SHORT);
|
||||
ToastAndroid.show('Switching to MPV due to playback issue', ToastAndroid.SHORT);
|
||||
setUseExoPlayer(false);
|
||||
}
|
||||
}, []);
|
||||
|
|
|
|||
|
|
@ -365,7 +365,7 @@ const PlayerSettingsScreen: React.FC = () => {
|
|||
{ color: currentTheme.colors.textMuted },
|
||||
]}
|
||||
>
|
||||
Auto uses ExoPlayer with MPV fallback. MPV uses MPV exclusively.
|
||||
Auto uses ExoPlayer with MPV fallback. Some formats like Dolby Vision and HDR may not be supported by MPV, so Auto is recommended for best compatibility.
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { logger } from '../utils/logger';
|
|||
* API Documentation: https://api.introdb.app
|
||||
*/
|
||||
|
||||
const API_BASE_URL = process.env.EXPO_PUBLIC_INTRODB_API_URL || 'https://api.introdb.app';
|
||||
const API_BASE_URL = process.env.EXPO_PUBLIC_INTRODB_API_URL;
|
||||
|
||||
export interface IntroTimestamps {
|
||||
imdb_id: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue