*добавлено получение закодированного тэга
This commit is contained in:
1 parent
4196efa9a6
commit
fdc72ae653
4 files changed
+57
-25
No files matched your search
@@ -4,9 +4,9 @@ import os
|
||||
import metadata
|
||||
|
||||
fn id3(){
|
||||
// mut audio := os.open("./data/АЛИСА 11000.mp3") or { panic(err) }
|
||||
mut audio := os.open("./data/АЛИСА 11000.mp3") or { panic(err) }
|
||||
// mut audio := os.open("./data/Глава 2. 16 и 17 июля.mp3") or { panic(err) }
|
||||
mut audio := os.open("./data/01_01.mp3") or { panic(err) }
|
||||
// mut audio := os.open("./data/01_01.mp3") or { panic(err) }
|
||||
// mut audio := os.open("./test.mp3") or { panic(err) }
|
||||
|
||||
defer {
|
||||
@@ -39,7 +39,12 @@ fn id3(){
|
||||
wav.id3v24.get_full_size(mut audio)
|
||||
wav.id3v24.fill_tag(mut audio)
|
||||
println(wav.id3v24.to_v1())
|
||||
wav.id3v24.tit2.encode_size(4)
|
||||
// wav.id3v24.tit2.encode_size(4)
|
||||
|
||||
flex := wav.id3v24.tit2.get_encoded_frame_tag(4)
|
||||
|
||||
print(flex)
|
||||
|
||||
// println(wav.id3v24.tit2)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user