[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/tech/ - Technology

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Flag
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 3 per post.


File: 1458065333008.png (101.67 KB, 450x443, 450:443, 1447028157730.png)

 No.543731

>laptop connection: metered, throttled, expensive, slow

>insert compliance wand into anus, squeeze for 1-bits, relax for 1-bits

>phone connection: super fast (during work hours), unmetered

>wasted potential

>unwatched videos

>wat do, /tech/ ?

laptop# youtube-dl -g -f 43 "youtube playlist url" | tee urls.txt

phone# v=0; for x in $(cat urls.txt); do curl -k "$x" > $v.webm; v=$((v+1)); done

urls.txt has an expiry of 2 days or so. plenty of time to move the file and then get the videos when downloads are fast.

all that I installed on the phone was a terminal emulator -- the basic one that everyone uses.

you can make that oneliner an alias for easier typing, or write an app to invoke it or do similar.

this was my first "will this even work" attempt. youtube-dl has a "--get-filename" that prints the filename that youtube-dl would've used. That should be used get names for the files on the phone.

>mfw when you're all neets who live under the floorboards of a major datacenter

 No.543739

>>543731

Use Newpipe from f-droid. Kinda does the same thing.


 No.543746


 No.543753

how the fuck do you have an unmetered phone?

i would root the phone, install a minimal OS on a chroot (alpine maybe), put youtube-dl and openSSH (to call youtube-dl and transfer files from phone -> laptop) on that. not exactly the most elegant approach, but probably work fine. plus you have a real distro if you need it for some other reason.


 No.543773

I use youtube-dl a lot from android with termux, from the fdroid repos


 No.543808

Am i the only one who downloads from youtube with savefrom.net by changing the url from www.youtube..... to www.ssyoutube..... ?


 No.543834

File: 1458075204727.jpg (4.64 KB, 109x102, 109:102, IMG_20160313_073119.jpg)

>>543808

Low effort bait

2/10 apply yourself


 No.543873

OP this is what I do,

On my laptop I use mps-youtube to search it, it uses youtube-dl and opens with mpv.

On my phone I use NewPipe to stream music and WebTube to stream video


 No.543948

File: 1458083905816.png (181.26 KB, 497x448, 71:64, 1443923816408.png)

Why not put a chroot on your phone and just run youtube-dl from the chroot?

Better yet, why don't you just tether your phone to your laptop with bluetooth or whatever? Far easier that way.


 No.544070

>>543753

In the US, T-mobile and Sprint both have unlimited data plans (and more limited, separate tethering options). I've heard that Sprint isn't great. T-mobile used to be consistently OK but recently they pushed 'Binge On' and now the network is at carrier pigeon speeds for most of the day.

Binge On removes the meter from tethered video streaming. If the network were better it would be my actual solution to watching youtube. it also reencodes video to limit the quality, and I dunno if it even helps anything but youtube

I've settled on generating a bash script and running that with an alias. This is actually less trouble than using youtube-dl on the phone when you consider using the phone UI to get a URL to youtube-dl.

If I went farther and tried to use youtube-dl on the phone, I would fall into Charybdis and start reimplementing it in Forth, to run it from the gforth app instead. And I browsed through youtube-dl's source to see how much help it would be and it's an unreadable mess. Which is pure coincidence, because muh readable Python. I could've clearly read any individual line of code, easy, and that should mean that the program is readable too. Pure coincidence that it's not in this isolated case.


 No.544088

>having an ISP that throttles and meters you

kek


 No.544157

>>544088

>hurr hurr im so lucky durr hurr

Use dialup, faggot.


 No.544479

>>544070

tfw have t-mobile and can tether for free

all you need is a custom rom, it's not that hard


 No.544482

>>543739

Yes Newpipe is my phenomenal. The only thing it can't play are the age requirement videos and live videos. Other than that, fantastic. Also, I use an external play with it, and while Vlc is shit, it seems to buffer enough to play YouTube content. Better than MX player.


 No.544487

>>543773

How did you install youtube-dl in Android? I was trying to do so unsuccessfully some months ago.


 No.544621

>>544487

He said a chroot linux install

Linux Deploy can automate a install




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]