예제 #1
0
 def test_audio_track(self):
     data = json.loads(read("clean_tracks.json"))["tracks"][1]
     track = mkvstrip.Track(data)
     self.assertEqual(str(track), "Track #2: eng - AC-3")
예제 #2
0
 def test_subtitle_track(self):
     data = json.loads(read("clean_tracks.json"))["tracks"][2]
     track = mkvstrip.Track(data)
     self.assertEqual(str(track), "Track #5: eng - SubRip/SRT")
예제 #3
0
 def test_video_track(self):
     data = json.loads(read("clean_tracks.json"))["tracks"][0]
     track = mkvstrip.Track(data)
     self.assertEqual(str(track), "Track #0: und - MPEG-4p10/AVC/h.264")