Skip to content
This repository
Browse code

[EDL] - look for edl files not only for smb but also for nfs and afp

  • Loading branch information...
commit 2d7375361d21073b072617f645b378f2c574e157 1 parent 1336ec7
Memphiz authored January 12, 2013

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  xbmc/cores/dvdplayer/Edl.cpp
5  xbmc/cores/dvdplayer/Edl.cpp
@@ -112,7 +112,10 @@ bool CEdl::ReadEditDecisionLists(const CStdString& strMovie, const float fFrameR
112 112
    * Only check for edit decision lists if the movie is on the local hard drive, or accessed over a
113 113
    * network share.
114 114
    */
115  
-  if ((URIUtils::IsHD(strMovie) ||  URIUtils::IsSmb(strMovie)) &&
  115
+  if ((URIUtils::IsHD(strMovie)  || 
  116
+       URIUtils::IsSmb(strMovie) || 
  117
+       URIUtils::IsNfs(strMovie) || 
  118
+       URIUtils::IsAfp(strMovie))         &&
116 119
       !URIUtils::IsPVRRecording(strMovie) &&
117 120
       !URIUtils::IsInternetStream(strMovie))
118 121
   {

1 note on commit 2d73753

da-anda
Collaborator

wouldn't it be better to add a URIUtils::IsLocalNetworkProtocol() and a URIUtils::IsLocalFileSystem() and also add a check for CD/DVD drives to IsLocalFileSystem instead of only checking for HDD?

Please sign in to comment.
Something went wrong with that request. Please try again.