projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deeb5b4
)
externplayer: attempt to fix support of bluray playback of iso/img files
author
Joakim Plate
<elupus@ecce.se>
Sat, 15 Dec 2012 17:23:00 +0000
(18:23 +0100)
committer
Joakim Plate
<elupus@ecce.se>
Sat, 15 Dec 2012 17:23:17 +0000
(18:23 +0100)
xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
patch
|
blob
|
history
diff --git
a/xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
b/xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
index
2f31650
..
38261d4
100644
(file)
--- a/
xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
+++ b/
xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
@@
-151,7
+151,16
@@
void CExternalPlayer::Process()
if (protocol == "musicdb")
mainFile = CMusicDatabaseFile::TranslateUrl(url);
if (protocol == "bluray")
- mainFile = URIUtils::AddFileToFolder(url.GetHostName(), url.GetFileName());
+ {
+ CURL base(url.GetHostName());
+ if(base.GetProtocol() == "udf")
+ {
+ mainFile = base.GetHostName(); /* image file */
+ archiveContent = base.GetFileName();
+ }
+ else
+ mainFile = URIUtils::AddFileToFolder(base.Get(), url.GetFileName());
+ }
}
if (m_filenameReplacers.size() > 0)