Skip to content

Commit

Permalink
Update: [Server] ariblib を更新
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed Aug 14, 2023
1 parent 5b9de31 commit d6a5580
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion server/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ aerich = {file = "https://github.com/tsukumijima/aerich/releases/download/v0.7.1
aiofiles = "*"
aiohttp = "*"
aiosqlite = "*"
ariblib = {file = "https://github.com/tsukumijima/ariblib/releases/download/v0.1.1/ariblib-0.1.1-py3-none-any.whl"}
ariblib = {file = "https://github.com/tsukumijima/ariblib/releases/download/v0.1.2/ariblib-0.1.2-py3-none-any.whl"}
biim = {file = "https://github.com/tsukumijima/biim/releases/download/v1.10.2-patch/biim-1.10.2-py3-none-any.whl"}
colorama = ">=0.4"
elevate = "*"
Expand Down
9 changes: 5 additions & 4 deletions server/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions server/app/metadata/TSInfoAnalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from ariblib.descriptors import AudioComponentDescriptor
from ariblib.descriptors import ServiceDescriptor
from ariblib.descriptors import TSInformationDescriptor
from ariblib.sections import ActualNetworkNetworkInformationSection
from ariblib.sections import ActualStreamPresentFollowingEventInformationSection
from ariblib.sections import ActualStreamNetworkInformationSection
from ariblib.sections import ActualStreamServiceDescriptionSection
from ariblib.sections import ProgramAssociationSection
from datetime import datetime
Expand Down Expand Up @@ -141,7 +141,7 @@ def __analyzeSDTInformation(self) -> Channel | None:
# リモコン番号を取得
if channel.type == 'GR':
## 地デジ: TS から NIT (Network Information Table) を抽出
for nit in self.ts.sections(ActualStreamNetworkInformationSection):
for nit in self.ts.sections(ActualNetworkNetworkInformationSection):
# NIT に含まれるトランスポートストリームごとの情報を取得
for transport_stream in nit.transport_streams:
# NIT から得られる TSInformationDescriptor 内の情報からリモコンキー ID を取得
Expand Down

0 comments on commit d6a5580

Please sign in to comment.