Live data from Hacker News

Show HN: Lofi.cafe

lofi.cafe

171–180 of 237 posts

Re: Show HN: Lofi.cafe

#171
post #168
post #108

Earlier quoted context omitted.

For anyone else wondering "what the heck is invidious?", from their github[1]: "Invidious is an alternative front-end to YouTube." Cool! But man, classic open source: the front page of those docs says nothing about what the heck the project is, just a list of URLs to visit, and the main website[2] is just an under-construction page with a link to the github repo. 1 - https://github.com/iv-org/invidious 2 - https://in…

Remaining somewhat illegible probably helps the project survive for the benefit of the cognoscenti.

... and they say security by obscurity doesn't work! /s

Re: Show HN: Lofi.cafe

#173
post #154
post #9

Those background images could really use some artist attributions.

Can't have contributions when the images likely aren't even under a license that would allow use like this. I guess it's better not to say where they are from and hope people don't notice... The image of the girl lying on the floor is a screencap from the "Whisper of the Heart" movie. I doubt it's licensed. Various "lo-fi" YouTube channels used to do that as well, but got copyright strikes and changed to original art…

> a screencap from the "Whisper of the Heart" movie. I doubt it's licensed.

Studio Ghibli did release a lot of screenshots from many of their movies about 6 months ago¹, but this movie is not among those included.

1. https://news.ycombinator.com/item?id=24564775

Re: Show HN: Lofi.cafe

#174
post #131

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 v…

Why --vo=null if --no-video?

Re: Show HN: Lofi.cafe

#175
post #131

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 v…

Why --vo=null if --no-video?

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

Re: Show HN: Lofi.cafe

#176

Nice project :) For my own use, I keep a list of such youtube stations in a file and use a script to play through them (I can specify by srl no., shuffle, play a random station etc). Much more lighter on the system as I use mpv to just play the audio stream. Also, allows me to repurpose the script for various lists for various genre.

I have one too. Is your code open? Ty

Re: Show HN: Lofi.cafe

#177
This is reminiscent of the YouTube channels with slight (ie 10 second) animated loops like Lofi Girl. I have used these videos for deep work sessions and will certainly use your site as well. Congratulations on your work!

Re: Show HN: Lofi.cafe

#178

It's all fun and games 'til you learn that YouTube's terms don't allow you to embed their player in any way that disables/hides their UI and logos. Source: A similar project I made like 8 years ago. Edit: But don't get me wrong, I like it nonetheless!

Do we need YouTube if we can host media (in this case MP3 and animations) ourselves (and through CDNs)?

No, you don't need YouTube. In fact, you almost never need YouTube.

If you just want to host some files (like mp3s and animations) you can toss them on a CDN.

If you need a bit more advanced features, like easy embedding, a premade player, etc. you might wanna use Vimeo.

*HOWEVER* YouTube is fast, easy and takes care of pretty much everything for you. This is not to be underestimated.

Re: Show HN: Lofi.cafe

#179
post #131

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 v…

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

#180

Earlier quoted context omitted.

Unfortunately the only way to get around this is to have agreements in place with independent artists for the site that you could then provide to the RIAA when they come knocking. If you post music by artists signed to a label it's out of the artists' hand even if you attempt to put something in place directly with the artist. The RIAA is aggressive and well funded. Their entire objective is to make sure artists get…

Spotify has a pretty rich API: https://developer.spotify.com/documentation/web-api/referenc...

Interesting.
Post reply on HN