File tree 11 files changed +12
-14
lines changed
11 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
12
12
// Here we have an AAC file with an ID3v2, and an ID3v1 tag
13
13
let file = Probe :: open ( "tests/files/assets/minimal/full_test.aac" )
14
14
. unwrap ( )
15
- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15
+ . options ( ParseOptions :: new ( ) )
16
16
. read ( )
17
17
. unwrap ( ) ;
18
18
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
12
12
// Here we have an AIFF file with both an ID3v2 chunk and text chunks
13
13
let file = Probe :: open ( "tests/files/assets/minimal/full_test.aiff" )
14
14
. unwrap ( )
15
- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15
+ . options ( ParseOptions :: new ( ) )
16
16
. read ( )
17
17
. unwrap ( ) ;
18
18
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
12
12
// Here we have an APE file with an ID3v2, ID3v1, and an APEv2 tag
13
13
let file = Probe :: open ( "tests/files/assets/minimal/full_test.ape" )
14
14
. unwrap ( )
15
- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15
+ . options ( ParseOptions :: new ( ) )
16
16
. read ( )
17
17
. unwrap ( ) ;
18
18
Original file line number Diff line number Diff line change @@ -16,16 +16,14 @@ fn multiple_vorbis_comments() {
16
16
// not allowed by spec.
17
17
assert ! ( FlacFile :: read_from(
18
18
& mut file,
19
- ParseOptions :: new( )
20
- . read_properties( false )
21
- . parsing_mode( ParsingMode :: Strict )
19
+ ParseOptions :: new( ) . parsing_mode( ParsingMode :: Strict )
22
20
)
23
21
. is_err( ) ) ;
24
22
25
23
file. rewind ( ) . unwrap ( ) ;
26
24
27
25
// But by default, we should just take the last tag in the stream
28
- let f = FlacFile :: read_from ( & mut file, ParseOptions :: new ( ) . read_properties ( false ) ) . unwrap ( ) ;
26
+ let f = FlacFile :: read_from ( & mut file, ParseOptions :: new ( ) ) . unwrap ( ) ;
29
27
30
28
// The first tag has the artist "Artist 1", the second has "Artist 2".
31
29
assert_eq ! (
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
12
12
// This file contains a tags element
13
13
let file = Probe :: open ( "tests/files/assets/minimal/full_test.mka" )
14
14
. unwrap ( )
15
- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15
+ . options ( ParseOptions :: new ( ) )
16
16
. read ( )
17
17
. unwrap ( ) ;
18
18
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
12
12
// This file contains an ilst atom
13
13
let file = Probe :: open ( "tests/files/assets/minimal/m4a_codec_aac.m4a" )
14
14
. unwrap ( )
15
- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15
+ . options ( ParseOptions :: new ( ) )
16
16
. read ( )
17
17
. unwrap ( ) ;
18
18
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ macro_rules! generate_tests {
20
20
// Here we have an MPC file with an ID3v2, ID3v1, and an APEv2 tag
21
21
let file = Probe :: open( $path)
22
22
. unwrap( )
23
- . options( ParseOptions :: new( ) . read_properties ( false ) )
23
+ . options( ParseOptions :: new( ) )
24
24
. read( )
25
25
. unwrap( ) ;
26
26
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ fn read() {
15
15
// Here we have an MP3 file with an ID3v2, ID3v1, and an APEv2 tag
16
16
let file = Probe :: open ( "tests/files/assets/minimal/full_test.mp3" )
17
17
. unwrap ( )
18
- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
18
+ . options ( ParseOptions :: new ( ) )
19
19
. read ( )
20
20
. unwrap ( ) ;
21
21
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ fn speex_remove() {
86
86
fn read ( path : & str , file_type : FileType ) {
87
87
let file = Probe :: open ( path)
88
88
. unwrap ( )
89
- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
89
+ . options ( ParseOptions :: new ( ) )
90
90
. read ( )
91
91
. unwrap ( ) ;
92
92
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
12
12
// Here we have a WAV file with both an ID3v2 chunk and a RIFF INFO chunk
13
13
let file = Probe :: open ( "tests/files/assets/minimal/wav_format_pcm.wav" )
14
14
. unwrap ( )
15
- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15
+ . options ( ParseOptions :: new ( ) )
16
16
. read ( )
17
17
. unwrap ( ) ;
18
18
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
12
12
// Here we have a WacPack file with both an ID3v1 tag and an APE tag
13
13
let file = Probe :: open ( "tests/files/assets/minimal/full_test.wv" )
14
14
. unwrap ( )
15
- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15
+ . options ( ParseOptions :: new ( ) )
16
16
. read ( )
17
17
. unwrap ( ) ;
18
18
You can’t perform that action at this time.
0 commit comments