2021-08-15 15:07:16 +03:00
|
|
|
$ fq -i -d mp3 . /test.mp3
|
|
|
|
mp3> .headers[0].flags.unsynchronisation | ., tovalue, type, length?
|
2021-09-16 23:40:03 +03:00
|
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|
|
2020-06-08 03:29:51 +03:00
|
|
|
0x0| 00 | . |.headers[0].flags.unsynchronisation: false
|
2021-08-12 00:51:00 +03:00
|
|
|
false
|
2020-06-08 03:29:51 +03:00
|
|
|
"boolean"
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation[0] | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
error: expected an array but got: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation[-1000] | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
error: expected an array but got: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation[1000] | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
error: expected an array but got: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation[1:3] | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
error: expected an array but got: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation[0:-1] | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
error: expected an array but got: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation[-1000:2000] | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
error: expected an array but got: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation["test"] | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
error: expected an object but got: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> [.headers[0].flags.unsynchronisation[]] | type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
error: cannot iterate over: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation | keys
|
2020-06-08 03:29:51 +03:00
|
|
|
error: keys cannot be applied to: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation | has("a")
|
2020-06-08 03:29:51 +03:00
|
|
|
error: has cannot be applied to: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation | has(0)
|
2020-06-08 03:29:51 +03:00
|
|
|
error: has cannot be applied to: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation | type
|
2020-06-08 03:29:51 +03:00
|
|
|
"boolean"
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation | tonumber
|
2020-06-08 03:29:51 +03:00
|
|
|
error: tonumber cannot be applied to: boolean
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation | tostring
|
2020-06-08 03:29:51 +03:00
|
|
|
"false"
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation + ""
|
2020-06-08 03:29:51 +03:00
|
|
|
error: cannot add: boolean (false) and string ("")
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation + 1
|
2020-06-08 03:29:51 +03:00
|
|
|
error: cannot add: boolean (false) and number (1)
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._start | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
40
|
|
|
|
"number"
|
|
|
|
40
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._stop | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
41
|
|
|
|
"number"
|
|
|
|
41
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._len | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
1
|
|
|
|
"number"
|
|
|
|
1
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._name | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
"unsynchronisation"
|
|
|
|
"string"
|
|
|
|
17
|
2021-11-03 19:19:33 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._sym | ., type, length?
|
2021-11-05 17:04:26 +03:00
|
|
|
null
|
|
|
|
"null"
|
2020-06-08 03:29:51 +03:00
|
|
|
0
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._description | ., type, length?
|
2021-11-19 13:44:23 +03:00
|
|
|
null
|
|
|
|
"null"
|
2020-06-08 03:29:51 +03:00
|
|
|
0
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._path | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
[
|
|
|
|
"headers",
|
|
|
|
0,
|
|
|
|
"flags",
|
|
|
|
"unsynchronisation"
|
|
|
|
]
|
|
|
|
"array"
|
|
|
|
4
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._bits | ., type, length?
|
2021-09-28 00:14:08 +03:00
|
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|
|
2021-11-05 17:04:26 +03:00
|
|
|
0x0| 00 | . |.: raw bits 0x5-0x5 (0.1)
|
2020-06-08 03:29:51 +03:00
|
|
|
"buffer"
|
|
|
|
1
|
2021-09-27 23:42:34 +03:00
|
|
|
mp3>
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._bytes | ., type, length?
|
2021-09-28 00:14:08 +03:00
|
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|
|
2021-11-05 17:04:26 +03:00
|
|
|
0x0| 00 | . |.: raw bits 0x5-0x5 (0.1)
|
2020-06-08 03:29:51 +03:00
|
|
|
"buffer"
|
|
|
|
0
|
2021-09-27 23:42:34 +03:00
|
|
|
mp3>
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._error | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
null
|
|
|
|
"null"
|
|
|
|
0
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation._unknown | ., type, length?
|
2020-06-08 03:29:51 +03:00
|
|
|
false
|
|
|
|
"boolean"
|
2021-08-15 15:07:16 +03:00
|
|
|
mp3> .headers[0].flags.unsynchronisation.a = 1
|
|
|
|
error: expected an object but got: boolean
|
|
|
|
mp3> .headers[0].flags.unsynchronisation[0] = 1
|
|
|
|
error: expected an array but got: boolean
|
|
|
|
mp3> .headers[0].flags.unsynchronisation.a |= empty
|
|
|
|
error: expected an object but got: boolean
|
|
|
|
mp3> .headers[0].flags.unsynchronisation[0] |= empty
|
|
|
|
error: expected an array but got: boolean
|
|
|
|
mp3> .headers[0].flags.unsynchronisation | setpath(["a"]; 1)
|
|
|
|
error: expected an object with key "a" but got: boolean
|
|
|
|
mp3> .headers[0].flags.unsynchronisation | setpath([0]; 1)
|
|
|
|
error: expected an array with index 0 but got: boolean
|
|
|
|
mp3> .headers[0].flags.unsynchronisation | delpaths([["a"]])
|
|
|
|
error: expected an object with key "a" but got: boolean
|
|
|
|
mp3> .headers[0].flags.unsynchronisation | delpaths([[0]])
|
|
|
|
error: expected an array with index 0 but got: boolean
|
|
|
|
mp3> ^D
|