 Every once in a while I find a script that is just so cool. I can't help but share I found one that allows you to listen to low-fi tunes in the background now as It is by itself. It's cool enough and I was gonna share as part of the top five apps of next month but Since I've been using it. I realized that it can be expanded to pretty much listen to anything that streams So that's what I'm gonna be showing you today Let's go ahead and jump in So the first thing I'm going to do is show you the script itself now This is called Rofi beats or Rofi beats whichever way you want to say it and Basically what it does is it gives you an array of things to listen to so if I open up this as it is you'll see Rofi pops up and It gives me several different streams that I can listen to including the most popular ones and you just hit enter and it plays the tunes now Ignore the things at the bottom because those are the things that I added one through six or things that you get out of the box If you just install this app this script and I will link to the script below in the video description You can go through and just hit enter and it'll play in the background There's no like pop-up window or anything It just plays indefinitely until you hit the key binding to stop it and the key binding to stop Is the same when it is to start it so it's really easy It's very very simple the script itself if we go through right here Just sends out a notification that says it's now playing it has an array here of the sources that you can choose and Then it has another array here that allows that tells it where to get the stream from and then it feeds that into Rofi now this as I said this works with MPV so Basically the stock version of this script is bringing Streams from a place called stream Africa net or Xeno FM and it's a couple other ones and Basically anything that's not YouTube. You know what I mean? Most of the streams that it's getting are actually legal streams because most of those streams Will actually allow you to use their music however you want even for commercial reasons So it's not as if you're breaking the law here or anything In terms of copyright infringement if you use this I'm assuming the reason why they don't use YouTube is because they don't want to risk YouTube actually taking those things away Because YouTube likes breaking things all the time when it comes to this kind of stuff So using a different source for the stream means that this script this script will last longer I guess is one way to look at it. So The first six are like I said things that will come to you if you just install the script itself and Like I said in and of itself. It's awesome. You know, it's just a way to listen to lo-fi music However, you want to and it's just plays in the background and as good as you can and it will go on forever because these streams play 24-7 Well, what I found is cool Was if you wanted to you could find any stream out there that you want and put that right into this script But there's no reason why you can't so I've gone through and done that now This is where I'm going to transition to saying from YouTube to YT so if I say YT I don't want this video to get demonetized because I say stream something from YT But that's what I've done the seventh and eighth entries here I've added myself and one of them is a jazz channel that goes through and streams jazz 24-7 and It works with MPV the same way the others work for MPV only it's Taking the video stream of those and then just playing the audio. So I use the no video Flag here and that just means that it plays in the background I did the same thing for some rain sounds so that you can have I can have rain sounds in the background if I want to as well and I you could do this pretty much with anything that works with MPV and It's just really all that simple. It's really really cool. There's not much to the script All you'd have to do to add something to it is Add it into the first array and give it a number and make sure if it's not the last one here That it gets a new line character backslash n that way it stays You know each on a new line. There is a better way of doing this But I just left it the way the author had it And then make sure you just add it the same way down here as an entry like I did here And that's how you'd add pretty much anything in MPV as far as I'm aware will work with pretty much anything that is streaming In a certain codec, so you could get it from pretty much any source as long as it's streaming all the time It doesn't even have to be music It could be like a new radio or something as long as you have access to the stream And it's not like paywall or something you can go through and put the URL in here And it should work with MPV now obviously there may be exceptions on that I'm not aware of But the things that I've tried at least so far specifically ones on YT Work perfectly fine. Now. I did notice that the ones that use the Sources from YT are a little bit slower because they have to go MPV has to go through and kind of pull it away from the video port and just stream the audio But it's not so much slower that you it really mattered. It just takes a few minutes a few extra moments to start streaming so that is Rofi beats and it's really cool. Like I said the link will be in the video description And I like adding things to it I'm gonna add a whole bunch more to it and will allow me to go through and just listen to whatever stream I want to listen to and I won't have to you know go to Whatever website I normally go to in order to listen to it. It just will stream in the background. I really like it I think that you will too if you are interested in it leave a comment below If you have any other Scripts that you would like me to check out you can also leave those in the comments below But remember don't put links in the YouTube comments YouTube will automatically delete those and I won't even ever see them. You can also follow me on Twitter at the Linux cast You can send me Recommendations there as well. You can support me on patreon at patreon.com slash linus cast before I go like to take one with thing my current patrons Devon Chris east coast web gen 2 is fun to Patrick L Marcus Meglin Sven Jackson Steve a Mitchell Arts Center Merrick camp J doc and the BSD's rock. Thanks everybody for watching. See you next time