https://github.com/oskarrough/radio-table
nothing to see here
https://github.com/oskarrough/radio-table
Last synced: about 1 year ago
JSON representation
nothing to see here
- Host: GitHub
- URL: https://github.com/oskarrough/radio-table
- Owner: oskarrough
- Created: 2024-06-29T09:40:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T11:25:21.000Z (almost 2 years ago)
- Last Synced: 2025-02-10T08:31:39.962Z (over 1 year ago)
- Language: TypeScript
- Size: 35.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Playing around. There are two things here:
1. A CLI program to manage a Radio4000 channel
2. A React (very configurable) component for rendering a table of tracks
## The CLI
Note, this only works with `bun` for now. Sorry.
```
Usage: bun src/cli.ts [...args]
Options:
--slug Slug of the radio to use
--folder Folder to download the tracks to
--limit Number of tracks to process
--pull Pull tracks from Radio4000
--download Download music files from tracks
```
I've temporarily hardcoded downloaded files to be in .m4a format, but this doesn't work some files. Let's let yt-dlp decide the format and updates track.files accordingly.
We can compile the CLI into a standalone binary like so:
```
bun build --compile --minify --sourcemap ./src/cli.ts --outfile r4
./r4 --slug oskar --folder ~/Music --limit 10 --pull --download
```
## The table component