T
Termux•12mo ago
AIMW

Changing Default Folders

Since my phone is not rooted can I change the default startup directory and the directory termux downloads packages to that way I can be able to access those folders whenever needed to?
59 Replies
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
AIMW
AIMW•12mo ago
Main reason I'm asking is cause I want to use a python script that grabs stuff for me yet I would need to edit a config.toml file to have my login cookies info and so I can set the desired download location
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
AIMW
AIMW•12mo ago
python tool that allows me to download music while using my quobuz account
AIMW
AIMW•12mo ago
this to be more specific: https://github.com/nathom/streamrip
GitHub
GitHub - nathom/streamrip: A scriptable music downloader for Qobuz,...
A scriptable music downloader for Qobuz, Tidal, SoundCloud, and Deezer - GitHub - nathom/streamrip: A scriptable music downloader for Qobuz, Tidal, SoundCloud, and Deezer
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
AIMW
AIMW•12mo ago
i know about that rule
Infu
Infu•12mo ago
I kinda achieve such bit by bit everywhere with some handy scripts, I think you should be able to move things onto internal storage when needed or smth
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Infu
Infu•12mo ago
youre talking about changing whole prefix though, right?
AIMW
AIMW•12mo ago
ye
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Infu
Infu•12mo ago
its possible, but is it comfortable and worth the effott? Im not sure Im talking about moving the whole prefix
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
AIMW
AIMW•12mo ago
i have this set up on my pc just want to have it set up on my phone also for on the go ripping for my server
No description
Infu
Infu•12mo ago
that can be done without moving prefix like you know theres the downloads folder made by Termux right? you dont even have to use it
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Infu
Infu•12mo ago
for example, here's my termux-url-opener, so its triggered by sharing links to Termux: https://github.com/INFU-AV/ChaosCode/blob/main/scripts/termux-url-opener
GitHub
ChaosCode/scripts/termux-url-opener at main · INFU-AV/ChaosCode
Organised chaos of dotfiles and handy scripts of Audio-Visual Zealot - ChaosCode/scripts/termux-url-opener at main · INFU-AV/ChaosCode
AIMW
AIMW•12mo ago
ye but it's having the stuff being stored in /data that needs root access to be able to access the python packages and edit the config.toml file with my account info
Infu
Infu•12mo ago
hmmm
AIMW
AIMW•12mo ago
unless python packages are stored in a non froot location
Infu
Infu•12mo ago
well in Termux you dont have root unless you like root your phone ... huh wait shouldnt it be opposite?
AIMW
AIMW•12mo ago
IK
Infu
Infu•12mo ago
like
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Infu
Infu•12mo ago
They just wanna download shit on Termux, where's breaking the law? unless I missed it - Im bit sleep deprived and stuff lol
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Infu
Infu•12mo ago
wtf is qobuz first time hearing bout it is it like spotify?
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
AIMW
AIMW•12mo ago
technically it is illegal but meh. it's like when i rip my blurays to my pc for backup, sure i break the copyright protection added to the disc but i ain't doing any harm to anyone
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Infu
Infu•12mo ago
Im in a tough place cause Im very "no piracy" person here ( I gotta be, as admin 😩 ) buuuuuut my inner archive/hoarder instinct tells me to help here
AIMW
AIMW•12mo ago
i still have the account with quobuz so as long as i still have that account
Infu
Infu•12mo ago
so youre just risking your account, hope you know that, blah blah okay so why you need root for you shouldnt need that
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Infu
Infu•12mo ago
like, Termux doesnt need root access in most cases have you noticed
AIMW
AIMW•12mo ago
cause i thought the python source i downloaded via the pip3 install streamrip --upgrade command wouldv'e gotten stored in the same root folder the termux packages are downloaded to. and if it is i need to access to be able to edit the config file with my account info
Infu
Infu•12mo ago
compared to your usual WSL, that begs for sudo everytime you sneeze even if it does, you should have perms to edit it
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Infu
Infu•12mo ago
check with the package you downloaded where they store configs usually its somewhere in the home folder but if not, you should be still easily able to edit it no matter where it is only thing you cant fiddle with is Android built-in stuff unless you got actually rooted phone, then its different talk, but you get me
AIMW
AIMW•12mo ago
Isn't this where most termux stuff gets added to?
No description
AIMW
AIMW•12mo ago
Can't see termux folder cause non root obviously
Infu
Infu•12mo ago
hmmm can you check it using Termux? cause thats the usual recent Android bullshit, where apps cannot easily access another apps data scoped storage If you wanna edit stuff in Termux, I recommend some Termux app for it like, Im using Emacs myself
AIMW
AIMW•12mo ago
NGL i'm setting up a bluestack instance with root access to do some digging around. (probably should've done this first before comming here tbh)
Infu
Infu•12mo ago
uhhhh That sounds like fuckton of extra work Checking it up online, looks like your app is looking for config.toml
Infu
Infu•12mo ago
No description
Infu
Infu•12mo ago
you should be able to access it using this command @AIMW is that what you were looking for?
AIMW
AIMW•12mo ago
ye thx
Infu
Infu•12mo ago
In Linux there's usually more than one way to do things - Glad you didnt have to redo entire system to get to your solution 👌 that would be waste of time and energy lol
AIMW
AIMW•12mo ago
no i'm still doing that lol
Infu
Infu•12mo ago
lol why
AIMW
AIMW•12mo ago
cause am bored anyway lol
Infu
Infu•12mo ago
I thought thats all you wanted oh alrighty cant stop you there Have fun lol
AIMW
AIMW•12mo ago
oh it is but neede to check some other things from apps that download/store files in the root of the device
Infu
Infu•12mo ago
you can access phone's storage no problem its the apps data its difficult
AIMW
AIMW•12mo ago
bit a rooting i should be able to see everything anyway
fisher
fisher•12mo ago
oh ive used this before and had the same issue putting this in config should fix it
[downloads]
# Folder where tracks are downloaded to
folder = "/sdcard/Music"
[downloads]
# Folder where tracks are downloaded to
folder = "/sdcard/Music"
fisher
fisher•12mo ago
theres still an archive of my old config if you wanna check it out https://github.com/nathom/streamrip/issues/195
GitHub
[BUG] Video download failed · Issue #195 · nathom/streamrip
Describe the bug this only happens with all tidal videos, meanwhile songs are working fine Command Used rip url https://tidal.com/video/48204106 -vvv Debug Traceback DEBUG:streamrip:Config loaded D...
Want results from more Discord servers?
Add your server