[longomatch/0.20] Fix files names for autorendering plays



commit 3640afb62bd42402cc1e5d4b46dbbdd5f4f8d80b
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 f7db18a..6a2611f 100644
--- a/LongoMatch.Services/Services/EventsManager.cs
+++ b/LongoMatch.Services/Services/EventsManager.cs
@@ -130,7 +130,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]