chiark
/
gitweb
/
~mdw
/
epls
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6c10a5
)
mkm3u: Allow audio files in movie seasons.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 30 Mar 2022 00:56:43 +0000
(
01:56
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 30 Mar 2022 00:57:32 +0000
(
01:57
+0100)
It makes sense in context.
mkm3u
patch
|
blob
|
blame
|
history
diff --git
a/mkm3u
b/mkm3u
index 7141a32eb730fd0312e693d3c17fe30e6377a46d..5aa9fc69af66df0f950185452684f91a6c3a03f9 100755
(executable)
--- a/
mkm3u
+++ b/
mkm3u
@@
-758,7
+758,8
@@
class EpisodeListParser (object):
if epi is None: epi = season.ep_i
if ti == "-":
- check(season.implicitp, "audio source, but explicit season")
+ check(season.implicitp or season.i is None,
+ "audio source, but explicit non-movie season")
dir = lookup(me._audirs, series.name,
"no title, and no audio directory")
src = lookup(dir.episodes, season.ep_i,