1
0
mirror of https://github.com/thebaer/cdr.git synced 2024-11-15 01:31:01 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
de090b9b8f Split player template from playlist 2020-02-29 11:18:38 -05:00
bcd4094f09 Log parse and render errors 2020-02-29 11:17:48 -05:00
ac510fa586 Make clean command more descriptive 2020-02-29 10:52:30 -05:00
2dfe0ec236 Transliterate track info to ASCII on clean 2020-02-29 10:51:10 -05:00
8585514558 Reorganize mixtape.tmpl CSS 2020-02-29 10:50:22 -05:00
52749656f2 Add Num field to Track 2020-02-29 10:48:02 -05:00
82650d00ae Support setting server port with PORT env var
This also logs the address the application is serving on.
2020-02-29 09:20:24 -05:00
a28732063f Add LICENSE 2020-02-26 01:03:42 -05:00
ce6fec195a Fix return vals in NewTrack() 2020-02-26 00:28:15 -05:00
ef54c10c9d Fall back to default mixtape template
if there is no mixtape.tmpl in the destination directory.
2020-02-26 00:26:43 -05:00
2246bed69b Add static site generation
Run `cdr burn` to create an index.html file in the current directory.
2020-02-26 00:17:28 -05:00
79db8a0cd1 Fix file scanning error condition 2020-02-26 00:16:09 -05:00
f0aa182c03 Add cdr preview subcommand
This serves the mixtape site by running `cdr preview`
2020-02-26 00:13:51 -05:00
c26beff32d Add mixtape templates 2020-02-26 00:02:57 -05:00
3125d14d23 Move track information into struct
This adds a NewTrack func that creates the struct, and we now use this in RenameTrack().
2020-02-25 23:23:03 -05:00
97c9e0d14f Move work to clean subcommand 2020-02-25 22:53:11 -05:00
29d369f5ae Rename all files in current directory
Instead of taking a filename as an argument, we now change all files in the current directory.
2020-02-25 22:20:12 -05:00
f5e71f5a15 Add basic file renaming utility 2020-02-25 20:54:12 -05:00