[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Just thought I would share something with you /g/. It's

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 36
Thread images: 6

File: comfyplayer.png (14KB, 668x331px) Image search: [Google]
comfyplayer.png
14KB, 668x331px
Just thought I would share something with you /g/. It's babbie's first batch script.

This is how I play those 24/7 youtube audio streams on Windows without having to open JewTube in a browser.

You need mpv and youtube-dl.

@echo off
echo Now playing: "lofi hip hop radio - beats to relax/study to" by ChilledCow
echo.
echo Controls:
echo space: play/pause
echo 9: vol-
echo 0: vol+
echo m: mute
echo.
mpv https://www.youtube.com/watch?v=xrbrQhpvn8E --no-video --volume=25


Save this as a .bat file and double click it to start.
>>
Just install gentoo
>>
File: 1407731073963.jpg (611KB, 2301x1834px) Image search: [Google]
1407731073963.jpg
611KB, 2301x1834px
>>60384778
>hip hop
>>
Why did you write a script? Mpv has been able to do this for ages so just make an alias instead of a script
>>
>>60384778
What's wrong with opening youtube?
>>
>>60384797
why are white people such dumb niggers
>>
>>60384815
https://psmag.com/social-justice/classical-music-linked-to-high-intelligence-27959

preference for rap music is significantly negatively correlated with intelligence
>>
>>60384797
It's just instrumentals... Come on man. Also I can't study to classical music.
>>
>>60384810
Because I find it comfyer to double click a pre-made .bat file instead of having to go to youtube and copy the url and feed it to mpv.
>>
File: b27.gif (968KB, 227x221px) Image search: [Google]
b27.gif
968KB, 227x221px
>>60384822
>playstation magazine
>reliable source
>>
>>60384880
It's the Pacific Standard reporting on a scientific paper published in the Journal of Behavioral Decision Making.
>>
>>60384778
Dumb as shit desu
>>
>>60384778
it's nice OP. thank you and don't listen to 1337 haxxxor NEETs ITT.
>>
>>60384822
I don't see how any intelligent being would listen deprecated music.
>>
>>60384894
Of which neither you nor the journalist read.
>>
File: 1491811854278.png (87KB, 333x282px) Image search: [Google]
1491811854278.png
87KB, 333x282px
>>60384778
Pretty cool desu
>>
File: wannacry_05.png (133KB, 1182x893px) Image search: [Google]
wannacry_05.png
133KB, 1182x893px
>>60384778
yo wtf is this shit anon? do NOT run this code
>>
>>60384778
You made Spotify.

Nice!
>>
>>60384778
>not being able to remember controls
>not saving oneliners for this in shell historu and just pressing up until you find it
brainlet detect

>>60384994
>spotify is one radio stream
>>
>>60384778

mine

shortcut key : Ctrl+Alt+m
Command : mpv --no-video --ytdl-format 96 https://www.youtube.com/watch?v=gmv54pfxk0Q
>>
>>60385155
sorry

command : xfce4-terminal -e 'bash -c "mpv --no-video --ytdl-format 96 https://www.youtube.com/watch?v=gmv54pfxk0Q; read line"'
>>
>>60384797
Fuck off forever.
>>
File: hampushere.png (3MB, 2301x1834px) Image search: [Google]
hampushere.png
3MB, 2301x1834px
>>60385369
>>
>>60384778
>babbie's first batch script
baby's first batch script
>>
>>60385813
>baby's first batch script
babbie's first batch script
>>
>>60384797
>Lumping music into sub and microgenres to limiting yourself from experiencing anything out of your comfort zone.
>Meme chart
It's making sense
>>
>>60384778
How much money do you make out of this if any?
>>
>>60384778
why do you use 0 and 9 instead of + and -?
>>
Actually made something similar, just with global hotkeys and direct audio manipulation by pinvoking into libav
>>
:code: shieeeeeeeeeet :stopcode:
>>
>>60387748
????
>>
>>60386953
Standard MPV controls. / and * also works.
(super secret live hack - you can remap controls in input.conf)
>>
>>60384872
But then you can't change the music. It would be the same thing over and over and over.

At the very least make a list of urls and just play one at random.
>>
>>60385106
You don't get it
>>
>>60387916
just load a playlist
>>
>>60387916
it's a 24/7 live channel lad
Thread posts: 36
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.