Is there a way that you could make it differentiate between audio and video files? I'm playing an AVI, but it still says "[Type] Audio". Also, maybe this doesn't mean anything to anyone else, but I added a little touch of my own to change the script. But I don't understand regex, so I couldn't code it to work differently for each file type. I can only make it work for one filetype at a time. >_< But I'm sure anyone who likes my idea, and knows how to script, can add if's of their own to implement it. But I changed line:
if ($regex(%v,/<title>(.+)<\/title>/)) { set %v.n $hf($regml(1)) }
to
if ($regex(%v,/<title>(.+)<\/title>/)) { set %v.n $remove($hf($regml(1)),.avi) }
I'm not sure if there's a simpler way to do it, I just thought I'd give input regardless.
Great script though! :D
I really only wrote this to upload scripts to the scripts section of my website xP Honestly, I'm posting it because I'm looking for some help. This is only my second dialog, and I'm still not so good with them. When I hit the "send" button, it uploads the title fine, but only uploads one line of the script. Anyone know how to help? The FTP script was taken from [M]ike's Simple File Uploader (FTP);..
@azy :P I wanted to avoid writing a file, because that would be much more simple. I script as a means of passing time, so I don't always search for the most logical way. :)
Thanks for using the script! :)