Readit News logoReadit News
Ch00k commented on Ask HN: What are you working on? (February 2025)    · Posted by u/david927
Ch00k · 6 months ago
A web app that extends the capabilities of Spotify. You can create artists' discographies (all albums in a single playlist), merge multiple playlists into a new one with the ability to watch those playlists for new tracks, track live events for artists you follow or artists from a playlist.

I have been working on it for about a year now. It is not yet public because I am yet to apply for Spotify API quota extension, but I'd be happy to allow access manually if anyone wanted to take a look.

https://mottle.it/

Ch00k commented on FFmpeg by Example   ffmpegbyexample.com/... · Posted by u/piyushsthr
zahlman · 7 months ago
>Its CLI has a certain logic to it... it's order dependent (not all unix CLIs are).

Which is appropriate. A Unix pipeline is dependent on the order of the components, and complex FFMpeg invocations entail doing something analogous.

>I ended up using ffmpeg-python which composes the command line from this

A lot of people like this aesthetic, but doing "fluent" interfaces like this is often considered un-Pythonic. (My understanding is that ffmpeg-python is designed to mirror the command-line order closely.) The preference (reinforced by the design of the standard library and built-in types) is to have strong https://en.wikipedia.org/wiki/Command%E2%80%93query_separati... . By this principle, it would look something more like

  ffmpeg(global_args=..., overwrite_output=True).process_async(piped_input(...), output(...))
where using a separate construction process for the input produces a different runtime type, which also cues the processing code that it needs to read from stdin.

Ch00k · 7 months ago
Similar, arguably simpler, Python library that provides an interface to FFmpeg command line is ffmpy [0], of which I am the author.

[0] https://github.com/Ch00k/ffmpy

Ch00k commented on ContainerScript: Firefox Addon for programmatically assigning URLs to containers   github.com/icholy/Contain... · Posted by u/0x696C6961
Ch00k · 9 months ago
Does it support regular expressions to match parts of a URL? I have two different GitHub accounts, that I need to be able open in different containers based on the organization name (https://github.com/<org>). I am currently using https://addons.mozilla.org/en-CA/firefox/addon/containerise/, but it is a bit of a pain. I would much prefer defining my rules in code.

u/Ch00k

KarmaCake day275October 17, 2013View Original