-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_EBML_Parser.ahk
72 lines (58 loc) · 2.58 KB
/
_EBML_Parser.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#SingleInstance force
#NoEnv
SetBatchLines -1
#Include <array>
#Include <NumGet_>
#Include EBML_Get.ahk
#Include EBML_Core.ahk
#Include EBML_Func.ahk
#Include EBML_TypeElement.ahk
; SetFormat, IntegerFast, hex
; Filename := "D:\tnt\ukonczone\[Coalgirls]_Sword_Art_Online_(1280x720_Blu-ray_FLAC)\[Coalgirls]_Sword_Art_Online_05_(1280x720_Blu-ray_FLAC)_[9C0C8099].mkv"
; Filename := "[Coalgirls]_Moretsu_Pirates_NCOP_(1280x720_Blu-Ray_FLAC)_[38F406AF][MID#8917#1#].mkv"
; Filename := "D:\tnt\ukonczone\[DmonHiro] To-Love-Ru - Darkness (BD, 720p)\[DmonHiro] To-Love-Ru - Darkness 12 - Room (BD, 720p) [D14E2C6D].mkv"
; Filename := "i:\Anime\Obejzane\Clannad\[Coalgirls]_Clannad_(1280x720_Blu-Ray_FLAC)\[Coalgirls]_Clannad_11_(1280x720_Blu-Ray_FLAC)_[A12B6D8C].mkv"
; Filename := "D:\tnt\ukonczone\[a-S] Kaze no Stigma (01-24)\[a-s]_kaze_no_stigma_-_01_-_return_of_wind__comradespike__[E55287CC].mkv"
Filename := "big-buck-bunny_trailer.webm"
; Filename := clipboard
;=============================================================================
; QPX(1)
Gui, Font, , Courier New
Gui, Add, TreeView, vMTV w900 r25
; SetBatchLines 2 ; slowmotion for treeview while HL := 1 in _Core
; Gui, Show, x0 ; up
Dir = D:\tnt\ukonczone\[Coalgirls]_Sword_Art_Online_(1280x720_Blu-ray_FLAC)
; Loop, %Dir%\*.mkv
{
; filename := A_LoopFileLongPath ; uncomment while loop, %dir% used
EBML_New(EBML, FileName)
; EBML_GetAll(ebml) ; get all items from file
;============================================
; EBML_SearchItem(ebml, "Segment/Info")
; EBML_GetData(ebml, "Segment/Info")
; EBML_GetAll(ebml, "Segment/Info") ; get all items from "Segment/Info"
;============================================
; EBML_GetData(ebml, "Segment/Info/MuxingApp")
tooltip,% EBML_GetData(ebml, "Segment/Info/WritingApp")
; EBML_GetData(ebml, "Segment/Info/Duration")
; EBML_GetData(ebml, "Segment/Info/dateutc")
; EBML_GetData(ebml, "Segment/Info/SegmentUID")
;============================================
; EBML_GetData(ebml, "Segment/Info/MuxingApp")
; EBML_GetData(ebml, "Segment/Info/WritingApp")
; EBML_GetData(ebml, "Segment/Info/Duration")
EBML_GetData(ebml, "Segment/Info/dateutc")
EBML_GetData(ebml, "Segment/Info/SegmentUID")
;============================================
; EBML_SearchItem(ebml, "Segment/Chapters/EditionEntry/ChapterAtom[22]")
; EBML_GetData(ebml, "Segment/Chapters/EditionEntry[2]/ChapterAtom/ChapterSegmentUID")
EBML_Getdata(ebml, "Segment/seekhead")
EBML_GetAll(ebml, "Segment/seekhead")
EBML_GetAll(ebml, "Segment/Info")
; array_list(EBML_GetAll(ebml, "Segment/Info"))
}
; Tooltip(QPX())
Gui, Show, x0
array_list(ebml)
Return
f4::reload