FiXato · @FiXato
393 followers · 9413 posts · Server toot.cat

Made some more progress on my / retrieval and formatting server script.

Caching of the video metadata and TTML captions works now, which should reduce the amount of calls to the (or other 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 .

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 .

#youtubedl #subtitles #captions #youtube #streamingmedia #invidious #YouTubeData #api #coding #ScratchYourOwnItches

Last updated 4 years ago

FiXato · @FiXato
393 followers · 9413 posts · Server toot.cat

Okay, so I got a rudimentary first version of working, which is yet another .

It allows me to create a directory structure with simple files in it, which will be converted into , 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.

#TootPortal #ScratchYourOwnItches #PetProject #markdown #html #coding #dataMassaging #dataliberation

Last updated 4 years ago

FiXato · @FiXato
393 followers · 9413 posts · Server toot.cat

got some more done on , and I can now easily add channels by name and channel id either via a single command, or by hitting ctrl+n in the 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 list. :D

#coding #CliPlayerQueue #cli #fzf #ScratchYourOwnItches

Last updated 4 years ago

FiXato · @FiXato
393 followers · 9413 posts · Server toot.cat

Okay, instead of on , I ended up doing some more by creating 2 fairly simple scripts to help me track and re-open the media I've launched from the command-line: github.com/FiXato/cli_player_q

basically wraps around , 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 ...)

#coding #MSXplayRipper #ScratchYourOwnItches #bash #cli #CliPlayerQueue #mpv #ReinventingTheWheel

Last updated 4 years ago