← Back to context Comment by traverseda 6 years ago Barely, although termux makes it a lot more reasonable. It's more a package management issue. 14 comments traverseda Reply 0x38B 6 years ago I can share to Termux from the YouTube app on my Pixel and download an entire playlist to my music folder - Ffmpeg handles any audio.It's quicker than any of the YouTube downloader apps I've tried!How it works: in ~/bin there's a termux-url-opener script that handles what you share:"#!/bin/bashcase "$1" in *youtu*) echo "$1 is a YouTube URL, downloading" sh ~/shortcuts/dl_yt.sh $1 ..." (dl_yt just calls youtube-dl -x)I love it and am still finding new uses for Termux. I've got neovim and all my dotfiles loaded, so in a pinch I can ssh into my phone to do some work. Ycros 6 years ago Ah, nice to see I'm not the only one running youtube-dl on a phone via Termux. chronogram 6 years ago Would it not be nicer to save a whole lot on bandwidth by using "youtube-dl -f bestaudio[ext=m4a]" instead of "youtube-dl -x"? 0x38B 6 years ago Good point! My command line looks like this:youtube-dl -f bestaudio -x --no-progress -o "~/storage/music/YouTube/%(title)s.%(ext)s" "$1"This generally gives me .opus files, which play OK but my player can't change the tags. mike-cardwell 6 years ago I installed Debian in a chroot on my HTC Desire Z in 2011, and proceeded to apt-get install exim on it to tinker. icebraining 6 years ago You can run a full GNU/Linux distro, and apt-get install most stuff: https://f-droid.org/packages/tech.ula/ pjmlp 6 years ago If one roots the device.Modern Android has been locking down access to everything that isn't an NDK public API. icebraining 6 years ago Nope, no root required. 5 replies → gallexme 6 years ago Theres also https://github.com/t184256/nix-on-droid-bootstrap on fdroid for a good package manager
0x38B 6 years ago I can share to Termux from the YouTube app on my Pixel and download an entire playlist to my music folder - Ffmpeg handles any audio.It's quicker than any of the YouTube downloader apps I've tried!How it works: in ~/bin there's a termux-url-opener script that handles what you share:"#!/bin/bashcase "$1" in *youtu*) echo "$1 is a YouTube URL, downloading" sh ~/shortcuts/dl_yt.sh $1 ..." (dl_yt just calls youtube-dl -x)I love it and am still finding new uses for Termux. I've got neovim and all my dotfiles loaded, so in a pinch I can ssh into my phone to do some work. Ycros 6 years ago Ah, nice to see I'm not the only one running youtube-dl on a phone via Termux. chronogram 6 years ago Would it not be nicer to save a whole lot on bandwidth by using "youtube-dl -f bestaudio[ext=m4a]" instead of "youtube-dl -x"? 0x38B 6 years ago Good point! My command line looks like this:youtube-dl -f bestaudio -x --no-progress -o "~/storage/music/YouTube/%(title)s.%(ext)s" "$1"This generally gives me .opus files, which play OK but my player can't change the tags.
chronogram 6 years ago Would it not be nicer to save a whole lot on bandwidth by using "youtube-dl -f bestaudio[ext=m4a]" instead of "youtube-dl -x"? 0x38B 6 years ago Good point! My command line looks like this:youtube-dl -f bestaudio -x --no-progress -o "~/storage/music/YouTube/%(title)s.%(ext)s" "$1"This generally gives me .opus files, which play OK but my player can't change the tags.
0x38B 6 years ago Good point! My command line looks like this:youtube-dl -f bestaudio -x --no-progress -o "~/storage/music/YouTube/%(title)s.%(ext)s" "$1"This generally gives me .opus files, which play OK but my player can't change the tags.
mike-cardwell 6 years ago I installed Debian in a chroot on my HTC Desire Z in 2011, and proceeded to apt-get install exim on it to tinker.
icebraining 6 years ago You can run a full GNU/Linux distro, and apt-get install most stuff: https://f-droid.org/packages/tech.ula/ pjmlp 6 years ago If one roots the device.Modern Android has been locking down access to everything that isn't an NDK public API. icebraining 6 years ago Nope, no root required. 5 replies →
pjmlp 6 years ago If one roots the device.Modern Android has been locking down access to everything that isn't an NDK public API. icebraining 6 years ago Nope, no root required. 5 replies →
gallexme 6 years ago Theres also https://github.com/t184256/nix-on-droid-bootstrap on fdroid for a good package manager
I can share to Termux from the YouTube app on my Pixel and download an entire playlist to my music folder - Ffmpeg handles any audio.
It's quicker than any of the YouTube downloader apps I've tried!
How it works: in ~/bin there's a termux-url-opener script that handles what you share:
"#!/bin/bash
case "$1" in
(dl_yt just calls youtube-dl -x)
I love it and am still finding new uses for Termux. I've got neovim and all my dotfiles loaded, so in a pinch I can ssh into my phone to do some work.
Ah, nice to see I'm not the only one running youtube-dl on a phone via Termux.
Would it not be nicer to save a whole lot on bandwidth by using "youtube-dl -f bestaudio[ext=m4a]" instead of "youtube-dl -x"?
Good point! My command line looks like this:
youtube-dl -f bestaudio -x --no-progress -o "~/storage/music/YouTube/%(title)s.%(ext)s" "$1"
This generally gives me .opus files, which play OK but my player can't change the tags.
I installed Debian in a chroot on my HTC Desire Z in 2011, and proceeded to apt-get install exim on it to tinker.
You can run a full GNU/Linux distro, and apt-get install most stuff: https://f-droid.org/packages/tech.ula/
If one roots the device.
Modern Android has been locking down access to everything that isn't an NDK public API.
Nope, no root required.
5 replies →
Theres also https://github.com/t184256/nix-on-droid-bootstrap on fdroid for a good package manager