Put on some #MGS / #MGSDRV / #MGSEL #chiptune files via #WinAmp because that's the only #MediaPlayer that seems to support this #MSX audio format, plugged some headphones in, and getting ready to do a bit of related #coding on my #MSXplayRipper #PetProject. :)
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...)
CLI Player Queue progress
Okay, #CliPlayerQueue can now:
all from a #CLI.
I want to do a bit more cleanup before committing the changes, but my brain's too fried atm to do more #coding.
re: CLI Player Queue progress
Did some more hacking on #CliPlayerQueue, and I can now grab the latest RSS feed of a YouTube user with it, as well as browse all the previously downloaded feeds, and launch MPV with the selected video URL.
Watch the recording of a sample session here:
https://asciinema.org/a/5JW2ctXcoTaDytQEyXtORPlg8
re: CLI Player Queue progress
not to toot my own horn, but I'm actually quite chuffed with how this #CLI tool works already. :D
Sure, it doesn't have any thumbnails (which I guess I could hack in with something like #termimage, but I'd rather wait till my current #terminal emulator (#WindowsTerminalPreview) adds proper image support), but I already noticed I missed its quick sorting and filtering while using the #YouTube app on my phone.
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
re: CLI Player Queue progress
Couldn't resist, and gave the #CliPlayerQueue interface a bit of a #Fallout #PipBoy look. ;)
re: CLI Player Queue progress
@FiXato ooh, good job!
re: CLI Player Queue progress
and I quickly hacked the #ripgrep support in so I can now search across all my #YouTube video feeds with #CliPlayerQueue and pass the result onto #mpv for playback :)
#coding #CLI #MediaPlayer