Forráskód Böngészése

update recordings

Luke Pulverenti 9 éve
szülő
commit
600aa76865

+ 3 - 2
MediaBrowser.Api/PluginService.cs

@@ -208,7 +208,7 @@ namespace MediaBrowser.Api
 
                 foreach (var plugin in result)
                 {
-                    var pkg = packages.FirstOrDefault(i => !string.IsNullOrWhiteSpace(i.guid) && new Guid(plugin.Id).Equals(new Guid(i.guid)));
+                    var pkg = packages.FirstOrDefault(i => !string.IsNullOrWhiteSpace(i.guid) && string.Equals(i.guid.Replace("-", string.Empty), plugin.Id.Replace("-", string.Empty), StringComparison.OrdinalIgnoreCase));
 
                     if (pkg != null)
                     {
@@ -228,8 +228,9 @@ namespace MediaBrowser.Api
                         .ToList();
                 }
             }
-            catch
+            catch (Exception ex)
             {
+                //Logger.ErrorException("Error getting plugin list", ex);
                 // Play it safe here
                 if (requireAppStoreEnabled)
                 {

+ 2 - 0
MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs

@@ -91,6 +91,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
             // Important - don't await the log task or we won't be able to kill ffmpeg when the user stops playback
             StartStreamingLog(process.StandardError.BaseStream, _logFileStream);
 
+            onStarted();
+
             // Wait for the file to exist before proceeeding
             while (!_hasExited)
             {