1
0
Fork 0
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:
King_DuckZ 2016-02-20 01:36:31 +01:00
parent 8b1b9c48f4
commit 2e77e4dc0b
5 changed files with 171 additions and 75 deletions

View file

@ -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);
}