diff --git a/compile.sh b/compile.sh index 79eebaf..c0043c1 100755 --- a/compile.sh +++ b/compile.sh @@ -24,5 +24,3 @@ for d in ./articles/*/; do done ./tools/feed_generator.py ./articles/ https://mjestecko.neocities.org/ > ./html/feed.xml - -./tools/track_listing_generator.py html/tracks > html/tracks.html diff --git a/tools/page_shares.py b/tools/page_shares.py index f41e3b2..01a88d1 100644 --- a/tools/page_shares.py +++ b/tools/page_shares.py @@ -7,7 +7,6 @@ HEAD_EMBED = """ diff --git a/tools/track_listing_generator.py b/tools/track_listing_generator.py deleted file mode 100755 index b10a5db..0000000 --- a/tools/track_listing_generator.py +++ /dev/null @@ -1,92 +0,0 @@ -#!/usr/bin/python3 - -from sys import argv, exit -from os import walk, path - -from page_shares import HEAD_EMBED, TAIL_EMBED - -if len(argv) <= 1: - print("No directory was supplied") - exit(-1) - -page = """ - - - - Tracks - - - - - -""" -page += HEAD_EMBED - -page += """ -

Tracks

-

.xm module tracks of my own. Btw, they're playable in browser :3

-

Note that some files are rendered incorrectly.

-
-""" - -for _, _, files in walk(argv[1]): - files.sort() - for f in files: - # note: Base64 gzip encoded data is expected. - if not f.endswith('.xm.txt'): - continue - page += ( - f"""

{f[:-4]}

\n""" - "
\n" - ) - break - -page += TAIL_EMBED - -page += """ - - -""" - -print(page)