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.

#coding #ScratchYourOwnItches

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.

#coding #DataMassaging #DataLiberation

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...)

FiXato/cli_player_queue

A set of scripts to retrieve the title of the media launched with the CLI tool, track it in a history file, browsing and filtering the player history using fzf (command-line fuzzy finder), and laun...

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

What is FiXato currently doing?

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.

#personal #coding #ScratchYourOwnItches #NowPage

What is FiXato currently doing?

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.

#coding #PetProject

~fixato/Mastoffline - sourcehut git

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.

#mastoffline #coding #ScratchYourOwnItches

Tweaks for the (NSFW) comic "Oglaf", such as visible alt and title texts, adding ctrl+left/right keyboard shortcuts for previous and next comic, and prefetching prev/next link documents.

Tweaks for the (NSFW) comic "Oglaf", such as visible alt and title texts, adding ctrl+left/right keyboard shortcuts for previous and next comic, and prefetching prev/next link documents. ...