mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
- Added a lot of supported media extensions for preview (tried to be exhaustive but the best way would probably be to use mime types)
This commit is contained in:
parent
e4ab5ceb43
commit
1e64d0a3e4
2 changed files with 3 additions and 3 deletions
|
@ -44,8 +44,8 @@ bittorrent::bittorrent(){
|
|||
// To avoid some exceptions
|
||||
fs::path::default_name_check(fs::no_check);
|
||||
// Supported preview extensions
|
||||
// XXX: might be incomplete
|
||||
supported_preview_extensions << "AVI" << "DIVX" << "MPG" << "MPEG" << "MP3" << "OGG" << "WMV" << "WMA" << "RMV" << "RMVB" << "ASF" << "MOV" << "WAV" << "MP2" << "SWF" << "AC3" << "OGM" << "MP4" << "FLV" << "VOB";
|
||||
// XXX: A bit dirty to do it this way (use mime types?)
|
||||
supported_preview_extensions << "AVI" << "DIVX" << "MPG" << "MPEG" << "MPE" << "MP3" << "OGG" << "WMV" << "WMA" << "RMV" << "RMVB" << "ASF" << "MOV" << "WAV" << "MP2" << "SWF" << "AC3" << "OGM" << "MP4" << "FLV" << "VOB" << "QT" << "MKV" << "AIF" << "AIFF" << "AIFC" << "MID" << "MPG" << "RA" << "RAM" << "AU" << "M4A" << "FLAC" << "M4P" << "3GP" << "AAC" << "RM" << "SWA" << "MPC" << "MPP";
|
||||
// Creating bittorrent session
|
||||
s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0));
|
||||
// Set severity level of libtorrent session
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue