#scratchyourownitches — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #scratchyourownitches, aggregated by home.social.
-
CW: Progress on my subtitles/captions retrieval tool (long, about 1350 chars)
Made some more progress on my #YouTubeDL #subtitles / #captions retrieval and formatting server script.
Caching of the video metadata and TTML captions works now, which should reduce the amount of calls to the #YouTube (or other #StreamingMedia service) servers while testing.
I can now prepend a YouTube URL with my own test server's URL, and I'll get a simple text / markdown file with the video's channel name, title, upload and retrieval date, some other metadata I'm interested in, and most importantly: its manual or automatic captions in as legible plain text format as I can get it.
Once I can't think of any more improvements to add, I'll clean up the code, and publish it in a public repository.
I won't run my own public instance of it unfortunately, as I'd rather not risk my IP getting blacklisted for excessive YouTubeDL calls, but hopefully others will run with it and host their own, similar to #Invidious.
In addition to a webserver frontend and its command-line interface, I hope to add a standalone graphical user interface too, so you can just run it straight from your desktop too. Though I might need some help with this.
It currently relies on youtube-dl, but I guess it might also be a good idea to add support for the official #YouTubeData #API.
-
Okay, so I got a rudimentary first version of #TootPortal working, which is yet another #ScratchYourOwnItches #PetProject.
It allows me to create a directory structure with simple #markdown files in it, which will be converted into #HTML, where each list item that refers to a toot URL (for now only Mastodon style URLs with numeric IDs are supported), gets expanded to the bare minimum content of that status, along with (optionally) any replies to it.
-
CW: re: CLI Player Queue progress
got some more #coding done on #CliPlayerQueue, and I can now easily add channels by name and channel id either via a single #CLI command, or by hitting ctrl+n in the #fzf menu and entering the values when asked for.
Existing feeds can be updated from the menu by a single ctrl+u press.
Filtering is also slightly improved.
At this point it's one thing I can cross off the #ScratchYourOwnItches list. :D
-
Okay, instead of #coding on #MSXplayRipper, I ended up doing some more #ScratchYourOwnItches by creating 2 fairly simple #Bash #CLI scripts to help me track and re-open the media I've launched from the command-line: https://github.com/FiXato/cli_player_queue
#CliPlayerQueue basically wraps around #mpv, gets the page title, tracks it in a history file, and launched mpv.
Afterwards I can browse the history file with the same command, or immediately filter it by title or URL.The title retrieval is very simple, and basically only works for YouTube and plain HTML pages atm, but f.e. Twitch support will be added soon.
(There are probably pre-built solutions out there too, but I like #ReinventingTheWheel...) -
Great... 2021 has barely started, and I already have a #coding idea for yet another #PetProject xD
Of course it's also something that fits my #ScratchYourOwnItches set of ideas...Fortunately it should be something that's fairly straightforward. (or so I hope... :P)
-
(and if that isn't enough, or I get tired of each of them, there's plenty more to work on: https://fixato.org/now.html)
#projects #petProjects #PassionProjects #ScratchYourOwnItches
-
Since I haven't had the motivation lately to work on finishing my #blog, I've at least made a separate export of the #Now page I made for it: https://fixato.org/now.html
In it I try to list the various #PetProjects I switch between, as well as films and series I have recently watched or am watching.
-
And with that, the #code for #Mastoffline, my in-development personal #Mastodon client using #MastodonPy and #Kivy, has been published to #SourceHut: https://git.sr.ht/~fixato/Mastoffline
It's far from done, but I felt the code had matured enough from a simple proof of concept to see if Kivy was a suitable #Python #GUI library for me, to one of my #ScratchYourOwnItches #PetProjects that I will slowly work on when I feel like it, to warrant its own repo.
-
right, added the storing as well, while it was still fresh in my mind :)
Will see tomorrow if I'll work on the previously planned write-support, or if I make the display of toots more feature complete, as I am missing cards, profile pics, emoji, and whether it was a boost or (in the case of notifs) favourite, or reply.
Progressing slowly, but slow progress is still progress.
-
If you like the #NSFW #comic #Oglaf, you might enjoy this #UserScript I wrote earlier today: https://gist.github.com/FiXato/b5434f66d2af50514bf84721fa249c22
-
If you like the #NSFW #comic #Oglaf, you might enjoy this #UserScript I wrote earlier today: https://gist.github.com/FiXato/b5434f66d2af50514bf84721fa249c22
-
A minor, but quite useful change to my #FiXaNote #browserExtension for #notes taking, simple filtering based on line-based case-insensitive string comparison:
https://git.sr.ht/~fixato/FiXaNote/commit/18cf771f22a5c58dcaa8b9a3778ec6892d8af80f -
For those unfamiliar with #ScratchYourItches, it's basically when you have a need for a solution (the proverbial 'itch'), and the easiest is to just work on it yourself ('scratch it') because you know best where and how it itches. ;)
Even if no-one else finds a use for the project, it'll still be worthwhile as it fullfilled a need *you* have or had.
Looking back, apparently I already blogged about #ScratchYourOwnItches back in #2013 on my old #blog: https://blogspot.fixato.org/2013/06/scratch-your-own-itches.html
time flies...
-
okay, managed to write a simple #textEditor in #Python using #wxPython and #pyWinhook that will trap any #KeyDown I don't like. It's crude, doesn't handle capitals or altGraph symbols, and is likely #Windows-only for now, but I'll share the #code later tonight. :)
A lucky added benefit of this is that in the process I realised I can use the same principle to temporarily disable the mute key #BeardGrabber keeps hitting. Already wrote a simpler #CLI version of it. 😄
-
okay, managed to write a simple #textEditor in #Python using #wxPython and #pyWinhook that will trap any #KeyDown I don't like. It's crude, doesn't handle capitals or altGraph symbols, and is likely #Windows-only for now, but I'll share the #code later tonight. :)
A lucky added benefit of this is that in the process I realised I can use the same principle to temporarily disable the mute key #BeardGrabber keeps hitting. Already wrote a simpler #CLI version of it. 😄