From e6ebb563d06f4849b1d0f279064d586899e8ae14 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Thu, 14 May 2015 23:38:30 +0200 Subject: [PATCH] add m3u8 --- src/driver/file.cpp | 4 ++-- src/gui/movieplayer.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/driver/file.cpp b/src/driver/file.cpp index 21e94f8ee..1be2be58b 100644 --- a/src/driver/file.cpp +++ b/src/driver/file.cpp @@ -44,7 +44,7 @@ const char * const file_extension_list[] = { "aac", "asf", "avi", "bmp", "cdr", "crw", "dts", "flac", "gif", "imu", "iso", "jpeg", "jpg", - "m2a", "m3u", "m4a", "mkv", "mp2", "mp3", + "m2a", "m3u", "m3u8", "m4a", "mkv", "mp2", "mp3", "mpa", "ogg", "pls", "png", "sh", "txt", "url", "wav", "xml" }; @@ -54,7 +54,7 @@ const CFile::FileType file_type_list[] = { CFile::FILE_AAC , CFile::FILE_ASF , CFile::FILE_AVI , CFile::FILE_PICTURE , CFile::FILE_CDR , CFile::FILE_PICTURE , CFile::FILE_WAV , CFile::FILE_FLAC , CFile::FILE_PICTURE , CFile::STREAM_PICTURE, CFile::FILE_ISO , CFile::FILE_PICTURE , CFile::FILE_PICTURE , - CFile::FILE_MP3 , CFile::FILE_PLAYLIST , CFile::FILE_AAC , CFile::FILE_MKV , CFile::FILE_MP3 , CFile::FILE_MP3 , + CFile::FILE_MP3 , CFile::FILE_PLAYLIST , CFile::FILE_PLAYLIST , CFile::FILE_AAC , CFile::FILE_MKV , CFile::FILE_MP3 , CFile::FILE_MP3 , CFile::FILE_MP3 , CFile::FILE_OGG , CFile::FILE_PLAYLIST, CFile::FILE_PICTURE , CFile::FILE_TEXT , CFile::FILE_TEXT , CFile::STREAM_AUDIO , CFile::FILE_WAV , CFile::FILE_XML }; diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 8129c4319..e04796374 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -133,6 +133,7 @@ void CMoviePlayerGui::Init(void) tsfilefilter.addFilter("mp4"); tsfilefilter.addFilter("mov"); tsfilefilter.addFilter("m3u"); + tsfilefilter.addFilter("m3u8"); tsfilefilter.addFilter("pls"); tsfilefilter.addFilter("iso");