Merge pull request #44 from arabcoders/dev

Removed opus from allowed streaming codecs in manifest
This commit is contained in:
Abdulmohsen 2023-12-22 22:35:20 +03:00 committed by GitHub
commit f2ce722a22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -54,8 +54,8 @@ EXPOSE 8081
#
USER app
WORKDIR /app
WORKDIR /tmp
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/app/.venv/bin/python", "app/main.py"]
CMD ["/app/.venv/bin/python", "/app/app/main.py"]

View file

@ -75,7 +75,7 @@ class Main:
f'Could not create database file at {self.config.db_file}')
raise e
caribou.upgrade(self.config.db_file, './app/migrations')
caribou.upgrade(self.config.db_file, os.path.join(os.path.realpath(os.path.dirname(__file__)), 'migrations'))
self.loop = asyncio.get_event_loop()
self.serializer = ObjectSerializer()

View file

@ -10,7 +10,7 @@ from src.Config import Config
class M3u8:
ok_vcodecs: tuple = ('h264', 'x264', 'avc',)
ok_acodecs: tuple = ('aac', 'mp3', 'opus',)
ok_acodecs: tuple = ('aac', 'mp3',)
segment_duration: float = 10.000000
config: Config = None