mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-20 15:40:50 +00:00
Add Glob class and use that one to help guessing content types.
This commit is contained in:
parent
8b1b9c48f4
commit
2e77e4dc0b
5 changed files with 171 additions and 75 deletions
|
@ -48,7 +48,9 @@ TEST(machinery, guess_content_type) {
|
|||
FileRecordData("",0,0,0,true,false),
|
||||
FileRecordData("VIDEO_TS",0,0,1,true,false),
|
||||
FileRecordData("AUDIO_TS",0,0,1,true,false),
|
||||
FileRecordData("VIDEO_TS/VTS_01_0.BUP",0,0,2,false,false)
|
||||
FileRecordData("VIDEO_TS/VTS_01_0.BUP",0,0,2,false,false),
|
||||
FileRecordData("VIDEO_TS/VTS_01_0.VOB",0,0,2,false,false),
|
||||
FileRecordData("VIDEO_TS/VIDEO_TS.VOB",0,0,2,false,false)
|
||||
};
|
||||
detect_type(test_data, mchlib::ContentType_VideoDVD, dinlib::MediaType_DVD);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue