[transmageddon] change timestamp format to be better for sorting - fix from bug 727940



commit 88267190882b83e5e7ad18687a2f3e28d92e385b
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date:   Thu Apr 10 13:25:08 2014 +0200

    change timestamp format to be better for sorting - fix from bug 727940

 src/transcoder_engine.py |    1 -
 src/transmageddon.py     |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index 4c6c629..0511db8 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -336,7 +336,6 @@ class Transcoder(GObject.GObject):
        return True
 
    def OnDynamicPad(self, uridecodebin, src_pad):
-       print("hitting the pads")
        origin = src_pad.query_caps(None)
        if (self.streamdata['container']==False):
            a =  origin.to_string()
diff --git a/src/transmageddon.py b/src/transmageddon.py
index 0b64395..93f1d9e 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3
 # -.- coding: utf-8 -.-
 
 # Transmageddon
@@ -940,7 +940,7 @@ class TransmageddonUI(Gtk.ApplicationWindow):
    def gather_streamdata(self):
        # create a variable with a timestamp code
        timeget = datetime.datetime.now()
-       self.streamdata['timestamp'] = str(timeget.strftime("-%H%M%S-%d%m%Y"))
+       self.streamdata['timestamp'] = str(timeget.strftime("-%Y%m%d-%H%M%S%z"))
        # Remove suffix from inbound filename so we can reuse it together with suffix to create outbound 
filename
        self.nosuffix = os.path.splitext(os.path.basename(self.streamdata['filename']))[0]
        # pick output suffix


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