ref/drwho*.m3u8: Switch to using telesnap reconstructions rather than audio.
[epls] / Makefile
index 2f845ce..4ef28b5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,7 @@ $(call declare-playlist, drwho, D/Doctor Who)
 $(call declare-filter, drwho-marco-polo, drwho,marco-polo, D/Doctor Who/S01E04 D. Marco Polo)
 $(call declare-filter, drwho-crusade, drwho,crusade, D/Doctor Who/S02E06 P. The Crusade)
 $(call declare-filter, drwho-myth-makers, drwho,myth-makers, D/Doctor Who/S03E03 U. The Myth Makers)
-$(call declare-filter, drwho-masterplan, drwho,masterplan, D/Doctor Who/S03E04 V. The Daleks' Master Plan) #'
+$(call declare-filter, drwho-masterplan, drwho,daleks-masterplan, D/Doctor Who/S03E04 V. The Daleks' Master Plan) #'
 $(call declare-filter, drwho-massacre, drwho,massacre, D/Doctor Who/S03E05 W. The Massacre of St Bartholomew's Eve) #'
 $(call declare-filter, drwho-toymaker, drwho,toymaker, D/Doctor Who/S03E07 Y. The Celestial Toymaker)
 $(call declare-filter, drwho-savages, drwho,savages, D/Doctor Who/S03E09 AA. The Savages)
@@ -118,8 +118,10 @@ $(call declare-playlist, dollhouse, D/Dollhouse)
 $(call declare-playlist, dune-2000, D/Dune (2000))
 $(call declare-playlist, engrenages, E/Engrenages)
 $(call declare-playlist, equalizer, E/The Equalizer (1985))
+$(call declare-playlist, father-ted, F/Father Ted)
 $(call declare-playlist, fawlty-towers, F/Fawlty Towers)
 $(call declare-playlist, firefly, F/Firefly)
+$(call declare-playlist, aeon-flux, F/Æon Flux)
 $(call declare-chapters, fry-and-laurie, F/A Bit of Fry & Laurie)
 $(call declare-playlist, game-of-thrones, G/Game of Thrones)
 $(call declare-playlist, godfather-ii, G/The Godfather Trilogy/02. Part II)
@@ -144,6 +146,7 @@ $(call declare-chapters, metallica-s-and-m, M/Metallica—S&M)
 $(call declare-playlist, the-night-manager, N/The Night Manager)
 $(call declare-playlist, person-of-interest, P/Person of Interest)
 $(call declare-playlist, harry-potter, P/Harry Potter)
+$(call declare-playlist, police-squad, P/Police Squad!)
 $(call declare-playlist, prime-suspect, P/Prime Suspect)
 $(call declare-playlist, the-prisoner, P/The Prisoner)
 $(call declare-playlist, flying-circus-restored, P/Monty Python's Flying Circus (restored)) #'
@@ -186,7 +189,7 @@ $(call declare-playlist, yes-minister, Y/Yes Minister)
 $(call declare-playlist, the-young-ones, Y/The Young Ones)
 
 M3US                    = $(addsuffix .m3u8,$(PLAYLISTS))
-DEPFILES               += $(addsuffix .dep,$(PLAYLISTS))
+DEPFILES               += $(addsuffix .m3u-dep,$(PLAYLISTS))
 TARGETS                        += $(M3US)
 CLEANFILES             += $(DEPFILES)
 
@@ -200,7 +203,16 @@ mkm3u.cache-stamp:
 CLEANFILES             += *.m3u8.new
 $(M3US): %.m3u8: $$($$*_EPLS) mkm3u mkm3u.cache-stamp
        $(call v-tag,MKM3U)./mkm3u $(MKM3UFLAGS) $($*_MKM3UFLAGS) \
-               -M$*.dep -O$@ -o"$@.new" "$<" && mv "$@.new" "$@"
+               -M$*.m3u-dep -O$@ -o"$@.new" "$<" && mv "$@.new" "$@"
+
+PLS                     = $(sort $(foreach p,$(PLAYLISTS), \
+                               $($p_EPLS:.epls=.pl)))
+DEPFILES               += $(addsuffix -dep,$(PLS))
+TARGETS                        += $(PLS)
+CLEANFILES             += *.pl.new
+$(PLS): %.pl: %.epls mkm3u mkm3u.cache-stamp
+       $(call v-tag,MKPL)./mkm3u -D $(MKM3UFLAGS) $($*_MKM3UFLAGS) \
+               -M$*.pl-dep -O$@ -o"$@.new" "$<" && mv "$@.new" "$@"
 
 CHECKS                  = $(foreach p,$(PLAYLISTS), check/$p)
 check: $(CHECKS)