handle bin/cue, ignore archives and torrents
This commit is contained in:
parent
8c0d9a7236
commit
0be1ec6fca
|
@ -189,6 +189,8 @@ fn handle_dir(path: PathBuf) {
|
|||
"jpg" => { handle_image( inode) }
|
||||
"jpeg" => { handle_image( inode) }
|
||||
"png" => { handle_image( inode) }
|
||||
"bin" => { handle_iso( inode) }
|
||||
"cue" => { handle_iso( inode) }
|
||||
"iso" => { handle_iso( inode) }
|
||||
"mp3" => { handle_mp3( inode) }
|
||||
"pdf" => { handle_pdf( inode) }
|
||||
|
@ -197,7 +199,9 @@ fn handle_dir(path: PathBuf) {
|
|||
"mkv" => { handle_video( inode) }
|
||||
"mp4" => { handle_video( inode) }
|
||||
"srt" => { handle_video( inode) }
|
||||
// todo other documents
|
||||
"7z" => { }
|
||||
"torrent" => { }
|
||||
"zip" => { }
|
||||
_ => { println!("Not sure what to do with file: {:?}.", inode.path()); }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue