[transmageddon] Set a more useful filename for DVD trancodes
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] Set a more useful filename for DVD trancodes
- Date: Tue, 30 Jul 2013 11:54:07 +0000 (UTC)
commit 840849bf334565ee4663ee19439ae46d6eaf9a62
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date: Tue Jul 30 13:53:44 2013 +0200
Set a more useful filename for DVD trancodes
src/transmageddon.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/transmageddon.py b/src/transmageddon.py
index fb95329..58904c1 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -967,7 +967,10 @@ class TransmageddonUI(Gtk.ApplicationWindow):
self.ContainerFormatSuffix = codecfinder.audiosuffixmap[container]
else:
self.ContainerFormatSuffix = codecfinder.csuffixmap[container]
- self.streamdata['outputfilename'] =
str(self.nosuffix+self.streamdata['timestamp']+self.ContainerFormatSuffix)
+ if self.isdvd:
+ self.streamdata['outputfilename'] =
str(self.dvdname)+"_"+str(self.streamdata['dvdtitle'])+str(self.streamdata['timestamp'])+str(self.ContainerFormatSuffix)
+ else:
+ self.streamdata['outputfilename'] =
str(self.nosuffix+self.streamdata['timestamp']+self.ContainerFormatSuffix)
if (self.havevideo and (self.videodata[0]['outputvideocaps'] != "novid")):
self.streamdata['outputdirectory']=self.videodirectory
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]