[longomatch] Fix files names for autorendering plays



commit 32a405902465f1af70b843779de43684e54f8622
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Aug 1 15:17:05 2014 +0200

    Fix files names for autorendering plays

 LongoMatch.Services/Services/EventsManager.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/Services/EventsManager.cs b/LongoMatch.Services/Services/EventsManager.cs
index c8ed357..dba16c1 100644
--- a/LongoMatch.Services/Services/EventsManager.cs
+++ b/LongoMatch.Services/Services/EventsManager.cs
@@ -131,7 +131,7 @@ namespace LongoMatch.Services
                                outputDir = Config.AutoRenderDir;
                        }
                        
-                       outputFile = String.Format ("{0}-{0}.mp4", play.Category.Name, play.Name);
+                       outputFile = String.Format ("{0}-{1}.mp4", play.Category.Name, play.Name);
                        outputFile = Path.Combine (outputDir, project.Description.Title, outputFile);
                        try {
                                Directory.CreateDirectory (Path.GetDirectoryName (outputFile));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]