Just can't stay away
Joined: 2006/11/24 18:52 Last Login
: 2021/9/26 20:59
From Gloucestershire, UK.
Group:
Registered Users
|
@zzd10h
A few glitches...
ini file... envarc: is a bad choice, better in smtube/amiga/ Using a root download path for downloader does not work and if in a drawer it must end with a / unlike in your 'default' prefs eg.
Downloads: fails Downloads:smtube fails Downloads:smtube/ works
Download script: I changed: filename = translate(filename,"_________"," /:!?\'#*") to: filename = translate(filename,'_________',' /:!?"#*')
because some idiots are putting double quotes in their titles. a single quote is fine but a doulbe will break the download
You can always add: filename = translate(filename,"_","'"') as the next line to filter out both.
This section: ADDRESS COMMAND 'WHICH SMTube > T:SMTube_Location.txt' call open('smtube_location','T:SMTube_Location.txt','R') DOWNLOADER_DEFAULT_PATH = readln('smtube_location') call close('smtube_location') ADDRESS COMMAND "DELETE T:SMTube_Location.txt"
could be simplified to something like (untested): ADDRESS COMMAND 'RXSET where "WHICH SMTube"' DOWNLOADER_DEFAULT_PATH = getclip('where')
|