~mdw
/
epls
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stargate.epls: Remove the `Stargate' prefix from the SG-1 films.
[epls]
/
mkm3u
diff --git
a/mkm3u
b/mkm3u
index
bc963d5
..
5867236
100755
(executable)
--- a/
mkm3u
+++ b/
mkm3u
@@
-437,7
+437,10
@@
class Playlist (object):
f.write("\n")
for ep in season:
label = ep.label()
f.write("\n")
for ep in season:
label = ep.label()
- if me.nseries > 1: label = ep.season.series.title + " " + label
+ if me.nseries > 1 and ep.season.series.title is not None:
+ if ep.season.i is None: sep = "—"
+ else: sep = " "
+ label = ep.season.series.title + sep + label
if not ep.chapters:
f.write("#EXTINF:%d,,%s\n%s\n" % (ep.duration, label, ep.url))
else:
if not ep.chapters:
f.write("#EXTINF:%d,,%s\n%s\n" % (ep.duration, label, ep.url))
else: