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
Doesn't mean I don't still have #ideas and #plans for #CliPlayerQueue though. :)
I want to add a filter interface that scans across all the feeds, so I can quickly find videos for a specific game regardless of #LetsPlay'er for example, or get a recent videos overview similar to #YouTube's subscription list, but then with the option to quickly exclude certain games or topics.
#fzf has a #ripGrep example that will probably be suitable for this.
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 :)
re: CLI Player Queue progress
@FiXato ooh, good job!
re: CLI Player Queue progress
Couldn't resist, and gave the #CliPlayerQueue interface a bit of a #Fallout #PipBoy look. ;)
#CLI #TUI #UI #UserInterface #coding #greenPhosfor