damienhaynes / moving-pictures

Moving Pictures is a movies plug-in for the MediaPortal media center application. The goal of the plug-in is to create a very focused and refined experience that requires minimal user interaction. The plug-in emphasizes usability and ease of use in managing a movie collection consisting of ripped DVDs, and movies reencoded in common video formats supported by MediaPortal.
12 stars 6 forks source link

Investigate error in logs when OnlineVideos video is played #1150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When playing a video from OnlineVideos, MovingPictures logs this:

Error [VideoFormatExtension]: An error occured while validating 
'http://localhost/OnlineVideo.mp4' as a video file. System.ArgumentException: 
URI formats are not supported.
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
   at System.IO.FileInfo..ctor(String fileName)
   at MediaPortal.Plugins.MovingPictures.LocalMediaManagement.VideoFormatExtensions.Validate(VideoFormat self, String path)

Since MovingPictures has nothing to do with OnlineVideos it seems strange to 
log this problem. This requires some investigation to find out why this is 
happening and avoid it.

Original issue reported on code.google.com by damien.haynes@gmail.com on 11 Oct 2014 at 11:51