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

30 Commits

Author SHA1 Message Date
48ff27f671 Fix Previous Track logic from track 2 -> 1 2022-03-30 23:16:22 -04:00
691f266b08 Support MediaSession API
- Responds to next / previous track events
- Sets metadata for the currently-playing track
2022-03-30 23:15:23 -04:00
16e4510d9d Use Go's embed pkg instead of inline tool
This moves the minimum requirements to Go 1.16 to build this project.
2022-03-30 23:14:32 -04:00
827bb0d0a2 Use Go modules 2022-03-30 22:44:31 -04:00
cf9eb20421 Fix go get command in README 2021-02-22 15:47:07 -05:00
b952bbfbc4 Fix playlist with links in track notes 2020-02-29 13:29:03 -05:00
d3782204fe Remove more characters from names 2020-02-29 13:28:19 -05:00
b7e276966b Add README 2020-02-29 12:11:51 -05:00
c71c124bcb Fix site on mobile
plus set charset = UTF-8
2020-02-29 11:42:00 -05:00
177f73cb49 Support additional track info in playlist
This allows the user-defined mixtape.tmpl to define track notes for each
individual track. By default, it only shows notes for the
currently-playing track.
2020-02-29 11:25:46 -05:00
9a8150b144 Support next / previous track controls in JS 2020-02-29 11:19:41 -05:00
001589772c Skip renaming tracks with errors 2020-02-29 11:19:04 -05:00
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