Skip to content

Commit

Permalink
m2ts
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Sep 1, 2024
1 parent c192db0 commit bfc22df
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions seplis_play_server/config.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import os, pathlib
import os
import pathlib
import tempfile
from typing import Literal

import yaml
from pydantic import AnyHttpUrl, BaseModel
from pydantic_settings import BaseSettings, SettingsConfigDict
import yaml


class ConfigLoggingModel(BaseModel):
Expand All @@ -26,7 +28,7 @@ class ConfigModel(BaseSettings):
database: str
secret: str | None = None
scan: list[ConfigPlayScanModel] | None = None
media_types: list[str] = ['mp4', 'mkv', 'avi', 'mpg', 'm4v']
media_types: list[str] = ['mp4', 'mkv', 'avi', 'mpg', 'm4v', 'm2ts']
subtitle_types: list[str] = ['srt', 'vtt', 'ass']
subtitle_external_default_language: str = 'en'

Expand Down

0 comments on commit bfc22df

Please sign in to comment.