klog
youtube-cue
Our great sponsors
klog | youtube-cue | |
---|---|---|
6 | 3 | |
516 | 14 | |
- | - | |
7.4 | 6.4 | |
21 days ago | 5 months ago | |
Go | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
klog
-
Ask HN: What apps have you created for your own use?
I came up with a file format for time-tracking, which lets me store the data in plain-text files in a human-friendly notation. I also built a corresponding CLI tool for evaluating the files on the terminal.
I’ve been using it almost daily for the past couple of years, and so far it has served me quite well.
Project site / docs: https://klog.jotaen.net
File spec: https://github.com/jotaen/klog/blob/main/Specification.md
- klog: time tracking in plain text
- Show HN: Time tracking with plain text files
- Klog: Time tracking with plain text files
youtube-cue
-
Ask HN: What apps have you created for your own use?
> CLI: I wanted to download songs from youtube, but they were often stitched as complete albums - so I wrote a youtube-cue generator that generates cuesheets that can then be used to split and tag the yt-dlp downloaded audio file. (https://github.com/captn3m0/youtube-cue)
Thanks for this! I need to do some testing, this might automate the last manual step of my own script for converting YT mixes into distinct tracks. The problem I faced is that often the timestamps are not in the description, but instead in a comment, sometimes not even the pinned/top voted comment. That is why I paste it in via stdin for now.
As this fits the thread topic, a short description of this script. I enjoy YT mixes and wanted to listen to them in my car. I can use an USB stick with media files and playlists which are displayed decently by the infotainment system. I wrote a script that takes in a YT URL (or anything supported by yt-dlp), downloads & converts it to mp3, splits the mp3 file based on a list of timestamps, recognizes (tries to anyway) the songs via SongRec [0], tags & names the files correctly and finally generates an M3U playlist in the format recognized by my car. I use song recognition instead of parsing out the names from the timestamped list as the format of Artist - Title is nearly always slightly different. It was easier to use SongRec instead and get everything I need for tagging with >90% hit rate.
The heavy lifting is done by calling out to yt-dlp, ffmpeg and SongRec. I just glued them together with Python. I like your approach of a do one thing well and might add youtube-cue to the toolset.
[0] https://github.com/marin-m/SongRec
-
Beets is the media library management system for obsessive music geeks
Beets is amazing and comes with great defaults. I wrote code recently to generate CUE sheets from YouTube mixes[0] and beet imports it nicely and easily.
[0]: https://github.com/captn3m0/youtube-cue There is a bash snippet in readme to show the Beets integration.
What are some alternatives?
server - self-hosted tag-based time tracking
picard - A cross-platform music tagger powered by the MusicBrainz database. Picard organizes your music collection by updating your tags, renaming your files, and sorting them into a folder structure, exactly the way you want it.
clj-org-analyzer - Fun with org data
stag - public domain utf8 curses based audio file tagger
textnote - Simple tool for creating and organizing daily notes on the command line
full-text-tabs-forever - Full text search all your browsing history
txt_book - Standard format for ebooks in plain txt files. Including book metadata and bookmarking.
BeetsPluginStructuredCommen
timetrap - Simple command line timetracker
stag - STag: A Stable Fiducial Marker System
CCTime - Simple, unobtrusive time tracking utility for Windows
BeetsPluginStructuredComments