SoxFarxAway777 commented on a Page, VLC Now Playing  -  Jun 30, 2010

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

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.