Videos liegen jetzt auf der internen Platte

This commit is contained in:
Stefan Bethke 2010-07-26 20:48:02 +00:00
parent c290f91548
commit 5913507c64

View file

@ -1,6 +1,6 @@
#!/usr/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.27 2010/07/04 10:06:46 stb Exp $
# $Schlepperbande: src/tivomirror/tivomirror,v 1.28 2010/07/12 05:50:43 stb Exp $
#
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
# zu transkodieren.
@ -206,6 +206,7 @@ for i in items:
episode = date
name = "%s - %s" % (title, episode)
dir = "%s/tivo/%s" % (curdir, re.sub("[:/]", "-", title))
dir = "/mnt/safe/tivo/%s" % (re.sub("[:/]", "-", title))
file = "%s/%s" % (dir, re.sub("[:/]", "-", name))
name = name.encode("utf-8");
dir = dir.encode("utf-8");