News for hackers. Stuff that matters.
Re:Show HN: Lofi.cafe by madars on Wednesday April 14, 2021 @11:59AM (#26808913)
Nice concept, love the aesthetic! It was too CPU intensive for me on a laptop so I sourcedived to find the list of svideos which appear to be the following https://rentry.co/txqrq . I personally use

    mpv --no-video --vo=null --ytdl-format='bestaudio/best'
for listening to such streams. Unfortunately, as "youtube-dl --list-formats" will tell you, the live streams don't have separate audio tracks (which normal YouTube videos do) so this only helps with CPU savings but not bandwidth (you can choose a lower bitrate stream though).
Re:Show HN: Lofi.cafe by kitsunesoba on Wednesday April 14, 2021 @02:41PM (#26811241)
Works under Windows 10 command prompt too after changing the single quotes out for double quotes, very nice. Had been keeping a browser tab with the YouTube stream open, but this is undoubtedly going to be easier on battery.
Re:Show HN: Lofi.cafe by gnosticrose on Wednesday April 14, 2021 @02:27PM (#26811060)
Why --vo=null if --no-video?
Re:Show HN: Lofi.cafe by madars on Wednesday April 14, 2021 @02:31PM (#26811108)
(edit) I think the man page would really imply it is redundant, but when trying with just --no-video and no $DISPLAY (e.g. ssh'd to a machine with speakers but no X server running), it picks up vo=gpu (accelerated video decode) from my mpv.conf and runs with a warning:

    [vo/gpu] Failed initializing any suitable GPU context!
    Error opening/initializing the VO window.