AutoHotkey Community

It is currently May 27th, 2012, 12:49 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 134 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9  Next
Author Message
 Post subject:
PostPosted: August 20th, 2011, 4:49 pm 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
Here's all 12 Epic Rap Battles of History:
Code:
[VideoURL]
2=http://www.youtube.com/v/YHRxv-40WMU&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
3=http://www.youtube.com/v/AFA-rOls8YA&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
4=http://www.youtube.com/v/zj2Zf9tlg2Y&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
5=http://www.youtube.com/v/mhTd4_Ids80&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
6=http://www.youtube.com/v/7rE0-ek6MZA&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
7=http://www.youtube.com/v/UcTLJ692F70&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
8=http://www.youtube.com/v/zn7-fVtT16k&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
9=http://www.youtube.com/v/WA4tLCGcTG4&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
10=http://www.youtube.com/v/AeNYDwbm9qw&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
11=http://www.youtube.com/v/TAaE7sJahiw&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
12=http://www.youtube.com/v/ZIMoQHpvFQQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
13=http://www.youtube.com/v/l3w2MTXBebg&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0


[Channels]

2=Epic Rap Battles of History 1: John Lennon V Bill O'Reilly
3=Darth Vader vs Hitler. Epic Rap Battles of History 2
4=Abe Lincoln VS Chuck Norris Epic Rap Battles of History #3
5=Sarah Palin VS Lady Gaga - Epic Rap Battles of History 4
6=Hulk Hogan and Macho Man VS Kim Jong-il - Epic Rap Battles of History 5
7=Justin Bieber vs Beethoven -Epic Rap Battles of History #6
8=Einstein vs Stephen Hawking -Epic Rap Battles of History #7
9=Genghis Khan vs Easter Bunny. Epic Rap Battles of History #8
10=Napoleon vs Napoleon. Epic Rap Battles of History #9
11=Billy Mays vs Ben Franklin. Epic Rap Battles of History #10
12=Gandalf vs Dumbledore. Epic Rap Battles of History #11
13=Dr Seuss VS Shakespeare. Epic Rap Battles of History #12
Suggestion: it fetches the title for you and makes it default text in the inputbox?
Suggestion2: 'Download Playlist' - give it a playlist and it either: assigns the playlist to a channel, or adds each video in the playlist to a selected range of channels.
Suggestion3: The volume slider uses AltSubmit so you don't have to release the mouse before the volume changes

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 20th, 2011, 6:01 pm 
Offline

Joined: February 20th, 2011, 9:42 pm
Posts: 433
Location: Cache Creek B.C.
nice! rap is not my forte but a good battle is always welcome :)

Suggestion 1: There is a function by Garry that fetches the title, I think it would work for that... that's an awesome idea.

Suggestion 2: Assigning playlists bogs down the system, I think because it attempts to preload all the videos on the list. I've tried both ways, embedding "playlist=___,____,_____" in the URL, and with plain playlist ID numbers from playlist URLs. Downloading a playlist would require the URL of each and every video from the YouTube playlist anyway... but they can be assigned to channels. Big performance hit though.
I think it would be better to make use of the "Play All" button (as soon as I figure out how to use the couple of functions in the example below) as there is no shortage of available channels to assign.
Code:
ytplayer := pwb.document.parentWindow.ytplayer
if (ytplayer.getDuration() = ytplayer.getCurrentTime())
*change channel up one, starts again*


Suggestion 3: I would like that to happen, I've noticed it does not change the volume until the mouse is released... but how?

LOL my contribution: All 89 episodes of The Annoying Orange :D
Code:
[VideoURL]
2=http://www.youtube.com/v/DD5UKQggXTc&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
3=http://www.youtube.com/v/TKpFS9GsInk&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
4=http://www.youtube.com/v/CjAsJfz9dBc&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
5=http://www.youtube.com/v/VlyFs9f1gYA&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
6=http://www.youtube.com/v/Xp9f7Gn4AQw&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
7=http://www.youtube.com/v/zI1aZu1HpmM&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
8=http://www.youtube.com/v/InhbSdcNBZw&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
9=http://www.youtube.com/v/E4GhMYxE2Lc&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
10=http://www.youtube.com/v/VEH3u2Qz4fc&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
11=http://www.youtube.com/v/1JO0-WCEOw4&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
12=http://www.youtube.com/v/cL_qGMfbtAk&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
13=http://www.youtube.com/v/H6IeASZZf1c&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
14=http://www.youtube.com/v/U_ety9JGwRI&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
15=http://www.youtube.com/v/vMxwPgzF4ME&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
16=http://www.youtube.com/v/qOTNdxOKZiQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
17=http://www.youtube.com/v/IcRguMhpQPQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
18=http://www.youtube.com/v/3Z66-cl3ghw&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
19=http://www.youtube.com/v/u9D8Z4SfrXM&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
20=http://www.youtube.com/v/dkHJKakHMpo&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
21=http://www.youtube.com/v/8UaZ9gHr0UQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
22=http://www.youtube.com/v/4VInSCDVnP0&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
23=http://www.youtube.com/v/wkfDAnW8ZbA&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
24=http://www.youtube.com/v/BE-KFNO6pE0&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
25=http://www.youtube.com/v/HFZtOk42ets&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
26=http://www.youtube.com/v/0rQ6d6xnJow&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
27=http://www.youtube.com/v/dr9QmTl5v48&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
28=http://www.youtube.com/v/DYnz_06hcUI&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
29=http://www.youtube.com/v/0EiM8Pa91SQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
30=http://www.youtube.com/v/bp_qq22rpng&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
31=http://www.youtube.com/v/3xon1c9a1Ms&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
32=http://www.youtube.com/v/D7IXiXxENEA&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
33=http://www.youtube.com/v/l3WPKznFvfk&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
34=http://www.youtube.com/v/C41IBSKGF4w&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
35=http://www.youtube.com/v/QTiFml51wWI&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
36=http://www.youtube.com/v/jvnKybI7fzU&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
37=http://www.youtube.com/v/sGJK5xFqm7Q&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
38=http://www.youtube.com/v/yfoaszc0H_0&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
39=http://www.youtube.com/v/pRvTCu9Ej-8&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
40=http://www.youtube.com/v/6Cad53S2LkQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
41=http://www.youtube.com/v/g_h9isVGcE8&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
42=http://www.youtube.com/v/ont3Mq0DARE&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
43=http://www.youtube.com/v/nk-A7xPciyQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
44=http://www.youtube.com/v/qVdh0wel-Yo&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
45=http://www.youtube.com/v/ud4YnLT1vWk&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
46=http://www.youtube.com/v/fJAbH4UdciM&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
47=http://www.youtube.com/v/sL80m2yvwrY&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
48=http://www.youtube.com/v/gFn1cLZ3m7E&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
49=http://www.youtube.com/v/hiOfQ8dRKbE&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
50=http://www.youtube.com/v/pezdRcVe04c&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
51=http://www.youtube.com/v/OKI-5MHUkKY&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
52=http://www.youtube.com/v/9ITTyIjYJvs&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
53=http://www.youtube.com/v/k8ZRrhXoXtQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
54=http://www.youtube.com/v/pEAoPswuorU&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
55=http://www.youtube.com/v/WLStid2uW0Q&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
56=http://www.youtube.com/v/87UVT_jhUPE&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
57=http://www.youtube.com/v/LAmKx7e_dzI&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
58=http://www.youtube.com/v/AyXX1ltl94E&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
59=http://www.youtube.com/v/enl-UGhXJ0w&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
60=http://www.youtube.com/v/hKg7Ronhq00&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
61=http://www.youtube.com/v/fq4Eebc7aMQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
62=http://www.youtube.com/v/56SA_C9o9VU&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
63=http://www.youtube.com/v/zBFVPI76Z9Y&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
64=http://www.youtube.com/v/h0GqRx3BhIE&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
65=http://www.youtube.com/v/4UG1g13wvLY&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
66=http://www.youtube.com/v/cOx49nX9dnw&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
67=http://www.youtube.com/v/n7sJyL4WMXY&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
68=http://www.youtube.com/v/eETWLVAlqT4&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
69=http://www.youtube.com/v/u4usQWXc1yQ&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
70=http://www.youtube.com/v/ULWRoU9DUSo&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
71=http://www.youtube.com/v/XrN1MLdyMM0&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
72=http://www.youtube.com/v/ZpKzTdMSaJs&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
73=http://www.youtube.com/v/yYsOnfN5tIU&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
74=http://www.youtube.com/v/0XrRwruU8DE&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
75=http://www.youtube.com/v/Q3M8whx1gj4&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
76=http://www.youtube.com/v/meQ8oIOuUqg&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
77=http://www.youtube.com/v/JHa6RHelvns&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
78=http://www.youtube.com/v/QsQo2Gvzt8I&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
79=http://www.youtube.com/v/MkCyVId3KY8&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
80=http://www.youtube.com/v/JIxhbXSeGjw&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
81=http://www.youtube.com/v/Fbf-_ZDb8YI&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
82=http://www.youtube.com/v/lnn2k8BkhLs&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
83=http://www.youtube.com/v/sqx5bpsjKGM&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
84=http://www.youtube.com/v/rg8jISMx4dk&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
85=http://www.youtube.com/v/r5HWzwa3KOo&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
86=http://www.youtube.com/v/TLLRo5895ZY&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
87=http://www.youtube.com/v/xJzBpA-gXtI&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
88=http://www.youtube.com/v/JLAG77f_Xzo&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0
89=http://www.youtube.com/v/by0tQMgrjJc&version=3&border=0&controls=1&modestbranding=1&iv_load_policy=3&showsearch=0&autoplay=0&autohide=1&showinfo=1&rel=0

[Channels]
2=Annoying Orange: The Annoying Orange
3=Annoying Orange: Plumpkin
4=Annoying Orange: TOE-MAY-TOE
5=Annoying Orange: Sandy Claus
6=Annoying Orange: More Annoying Orange
7=Annoying Orange: Super Bowl Football
8=Annoying Orange: Passion of the Fruit
9=Annoying Orange: Orange gets Autotuned
10=Annoying Orange: A Cheesy Episode
11=Annoying Orange: Luck o' the Irish
12=Annoying Orange: Annoying Orange Wazzup
13=Annoying Orange: Annoying Orange Saw
14=Annoying Orange: Prank Call #1: Tanning Salon
15=Annoying Orange: Super Mario
16=Annoying Orange: Muddy Buddy
17=Annoying Orange: Excess Cabbage
18=Annoying Orange: The Annoying Trailer
19=Annoying Orange: The Onion Ring
20=Annoying Orange: Wasssabi
21=Annoying Orange: Pain-apple
22=Annoying Orange: Pacmania
23=Annoying Orange: Picture Contest
24=Annoying Orange: Grapefruit's Revenge
25=Annoying Orange: Grandpa Lemon
26=Annoying Orange: Picture Contest Winners!
27=Annoying Orange: Back to the Fruiture
28=Annoying Orange: Mystery Guest
29=Annoying Orange: Annoying Orange vs. FRED!!!
30=Annoying Orange: Orange of July
31=Annoying Orange: The Orange Cup
32=Annoying Orange: Teenage Mutant Ninja Apples
33=Annoying Orange: Lady Pasta
34=Annoying Orange: Cruel as a Cucumber
35=Annoying Orange: Crabapple
36=Annoying Orange: Million Clones
37=Annoying Orange: Close Encounters of the Annoying Kind
38=Annoying Orange: The Sitcom
39=Annoying Orange: Going Walnuts
40=Annoying Orange: Wazzup 3: Bonsai Tree
41=Annoying Orange: Saw 2: Annoying Death Trap
42=Annoying Orange: No More Mr. Knife Guy
43=Annoying Orange: Happy Birthday!
44=Annoying Orange: The Exploding Orange
45=Annoying Orange: Frankenfruit
46=Annoying Orange: Theme Song Attack!
47=Annoying Orange: Annoying Pear
48=Annoying Orange: Viral Vote
49=Annoying Orange: Orange After Dentist
50=Annoying Orange: Kitchen Intruder
51=Annoying Orange: Sneezing Marshmallow
52=Annoying Orange: Annoying Orange meets Charlie the Unicorn
53=Annoying Orange: Equals Annoying Orange
54=Annoying Orange: Full Kitchen Intruder Song
55=Annoying Orange: Mystery of the Mustachios
56=Annoying Orange: Jalapeno
57=Annoying Orange: Wishful Thinking
58=Annoying Orange: The Amnesiac Orange
59=Annoying Orange: Rap-berry
60=Annoying Orange: Food Court
61=Annoying Orange: Wazzup Blowup
62=Annoying Orange: Best Fiends Forever
63=Annoying Orange: Annoying Valentines
64=Annoying Orange: Annoying Valentines Surprise
65=Annoying Orange: It Takes Two to Mango
66=Annoying Orange: Annoying Orange vs. Gecko
67=Annoying Orange: ZOOM!!!
68=Annoying Orange: Annoying Orange Through Time
69=Annoying Orange: Kung Fruit
70=Annoying Orange: Fortune Cookie
71=Annoying Orange: April Fruits Day
72=Annoying Orange: Kitchen Carnage
73=Annoying Orange: Rolling in the Dough
74=Annoying Orange: Nyan Nya Orange
75=Annoying Orange: Comedy Clubbing
76=Annoying Orange: Annoying Orange Through Time #2
77=Annoying Orange: Mommy and Me
78=Annoying Orange: Fruit For All
79=Annoying Orange: Juice Boxing
80=Annoying Orange: Flower Power!
81=Annoying Orange: Be a star!
82=Annoying Orange: First Person Fruiter
83=Annoying Orange: Meteortron
84=Annoying Orange: YouTubers
85=Annoying Orange: Trollin'
86=Annoying Orange: Orange Potter and the Deathly Apple
87=Annoying Orange: The Voodoo You Do!
88=Annoying Orange: Orange Goes Hollywood
89=Annoying Orange: In The Dark


I think #1 is still my favorite.

_________________
Some of my scripts :).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 21st, 2011, 3:44 am 
Offline

Joined: March 11th, 2010, 7:29 am
Posts: 177
Location: glendale, az
play all sounds cool, seems like shuffle, and repeat would be nice too.

if you could have channel groups where each channel can be added to a group and channel groups can also be assigned to other groups that would be really nice for users like me.

for the .ahk version:

if you're having a tough time with it i should be able to write some functions to create and modify a database and some functions that'll use the database to make it select the right channel while handling grouping, play all, repeat, and shuffle.

should be fun for me and anyways i feel bad for giving you too many suggestions that add to your work load. i'm a programming novice but as it just so happens i think i can handle that, maybe better than anyone else, 'casue for a lot of it i should be able to just modify some code i've already written and spent 1,000's of hours on.

you're on your own for the web stuff though, sounds like a lot of fun but i've got no experience there, my hats off to anyone who can pull that off!

_________________
2+2 does not equal 3, and 9/11 was a big fat inside job!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 21st, 2011, 7:43 am 
Offline

Joined: February 20th, 2011, 9:42 pm
Posts: 433
Location: Cache Creek B.C.
I've gotten some help with "Play All" so far... there's a set of javascript commands that are called, which detect when the video is finished by calling "current time" and "total time". If they are equal, well, the video is over.
Grouping sounds like an advanced function... for hardcore users, but an awesome idea! I'd hide advanced options like that in a drop-down menu somewhere, and every new chunk of advanced capabilities can go there.
Yah man 100% into some help with the grouping thing as well as the "Shuffle" function (which would obviously be built off of the "Play All" code). I do have someone helping with the "Play All" function though. Thanks! :D

UPDATED to version 2.2.0.9
- Default channel title is now shown as default text in "Download" InputBox
- AltSubmit is functional as part of the volume slider, for real-time volume sliding! Thanks nimda, that one was bugging me :)

@nimda: I should have read Suggestion 1 more carefully... It was easy to use the INI to grab the channel's display name as the default text.
I forgot to mention that URLs which contain the following text (playlist id) will work:
Code:
&playnext=1&list=*18-digit code here*
User must be signed in to YouTube to create a playlist like that, but after a playlist is created it will play on the TV regardless of if the User is signed in or not.
"...add each video in the playlist to a selected range of channels" is an excellent idea! Looks like I have some help with that... very grateful for all the help, guys, thank you.

_________________
Some of my scripts :).


Last edited by aaronbewza on September 6th, 2011, 3:01 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 6th, 2011, 2:35 pm 
Offline

Joined: February 20th, 2011, 9:42 pm
Posts: 433
Location: Cache Creek B.C.
Updated to version 2.2.1.0

- Video title is now retrieved from parent webpage when a chosen video is added to the TV...
it is shown as the default choice in the 'Choose Display Name' InputBox.

- I changed the icon to a nicer one

- I added G-Labels to buttons '<' and '>' for reliability ('ChannelUp' and 'ChannelDown')

There seems to be a bug on x64 systems that causes a crash while exiting
the program... I am looking into this, thank you for your patience.
In the meantime, use Task Manager to kill the process if it crashes.
:)

_________________
Some of my scripts :).


Last edited by aaronbewza on September 8th, 2011, 5:32 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject: Updated to v2.2.1.3
PostPosted: September 8th, 2011, 5:15 am 
Offline

Joined: February 20th, 2011, 9:42 pm
Posts: 433
Location: Cache Creek B.C.
(I'm not sure what happened earlier, the power went out and the posting got mangled)

Updated to version 2.2.1.3 (download links in top post)

- added buttons to skip down or up to the first available empty channel, add new videos easily
- all input boxes now open up directly over the TV, even if the TV is not on the primary monitor
- added more instructions to the 'About' message box and extended the height of the volume slider

_________________
Some of my scripts :).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2011, 9:04 am 
Offline

Joined: March 11th, 2010, 7:29 am
Posts: 177
Location: glendale, az
hey arron,

i just got the latest version and it's awesome! everything works great for me.

volume works great now, very nice to have the larger volume control and it responds automatically now.

icon looks great,

channel buttons are all great. all my pre-set channels from the last version worked on the new version so i didn't have to do anything to setup and start using the new one other than pin it to my taskbar.

i was curious and thought it was cool that i was able to play both the old version and the new version at the same time and they both seemed to work perfectly.

if i were you i'd put it in the top post that updated versions work independently of old versions and won't mess them up. and that they'll be ready to go so people who like the old versions aren't afraid to try the new ones or afraid that they'll have to reset things up. might help keep the interest in your project up.

thanx again!

**edit:

i just had an idea, it might be nice to have it turn on to the same channel you were last on when you turned it off. and if possible, i'm not sure, but it also might be cool to have it autostart to play that channel, maybe even have it start at the exact spot you left off at in the video. just some ideas i thought you might like, please feel free to disregard them. i hope you keep up the good work, no matter what you do i'm sure it'll be great and i can't wait for a web version i can use for my website!**

_________________
2+2 does not equal 3, and 9/11 was a big fat inside job!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2011, 12:25 pm 
Offline

Joined: February 20th, 2011, 9:42 pm
Posts: 433
Location: Cache Creek B.C.
Updated to version 2.2.1.7 (download links in top post)

- added display text to the bottom of the volume slider, it shows current volume level in real-time.
...setting is saved to INI and restored next time TV is opened

- added 'Always on top' checkbox which lets User toggle the window between always on top or not.

...setting is saved to INI and restored next time TV is opened

I also added information in the first post about how Users will not lose any saved channels from upgrading the TV.
People that still may have version 1+ (the retro green TV) can also upgrade without losing their channels,
unless it is the original version 1.0.0.0 - then you are definitely going to lose your channels.

@luffy:
Thank you very much for your kind words, and in fact I would like to use all those ideas, except the "autoplay" one I think I'll leave out.
I thought about that one a lot, and decided the performance hit (from every video trying to open while flicking through channels) was
not worth the inconvenience of having to click "Play" on each channel.

Although, at the moment I'm trying to complete a "Play all as playlist" function, the button is already there but I'm having trouble sending and receiving
commands to the YouTube player. I think I will use your "Open Last Channel" idea in the form of a checkbox,
and save the last viewed channel to the INI, but not tonight as I'm too tired.

I was inspired enough by your ideas, luffy, to add the save functions described in this update :) and BTW:

Frankie has a web-based version of this TV, built in PHP, check it out here, it's pretty cool: http://apps.aboutscript.com/tubetv

_________________
Some of my scripts :).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2011, 5:08 pm 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
Nitpick: Use
Code:
Gui +LastFound
instead of the title, for lines like this:
Code:
WinGetPos, guiX, guiY,,, Aaron's YouTube Television ; Retrieves screen coordinates for upper-left corner of TV
because this thread has the same title as your television :wink:


Nitpick 2:
Code:
  If ErrorLevel = 1
    {
      MsgBox, You did not enter a channel.
      Return
    }
Of course I know I didn't enter a channel :P
take out that MsgBox


Rather large idea: I'd like to remove the dependency on COM.ahk altogether. Give me a while.
That was easy :D
Modified to use current ActiveX syntax and remove COM.ahk dependency as well as simplify code
See comments at the top of the script

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2011, 8:01 pm 
Offline

Joined: February 20th, 2011, 9:42 pm
Posts: 433
Location: Cache Creek B.C.
wow nimda that's too cool! I clunked away at that for a while, about two days ago, but I was unsuccessful. I had the
syntax all wrong in the pwb.* lines, thank you so much for solving that, it is very nice to get away
from dependencies on other items.

I fixed nitpick 1 and nitpick 2 no problem!
Awesome job! Your input is always very much appreciated.

Before I post this new version with your changes, I need to finish figuring out a way to
extract the video ID number from the URL in a reliable way. I've noticed that the URLs are not always in the same 'order'
and the video ID number can sometimes be in a different location in the URL. This makes 'StringLeft' unreliable. I've got this so far:
Code:
IfInString, URLvar, v= ; Looks for 'v=' in the URL
RegExMatch(URLvar, "im)v=(.*)`&", VideoID) ; Everything between 'v=' and '&' is sent to 'VideoID' variable
 ; other stuff to plant the videoID number into its proper spots

... it is almost ready to try out :)
I need to know if this method will work if the video's ID number is the last thing in the URL (with no '?' after it, or anything else)
so I'll be back with the update as soon as I nail it :)

awesome, this thing is really shaping up with everyone's excellent help, it is very inspiring.

_________________
Some of my scripts :).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2011, 8:21 pm 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
Code:
RegExMatch(URLvar, "im)v=(.*?)&", VideoID) ; Everything between 'v=' and '&' is sent to 'VideoID1' variable

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2011, 9:39 pm 
Offline

Joined: February 20th, 2011, 9:42 pm
Posts: 433
Location: Cache Creek B.C.
There is not always an ampersand after the video's ID number, which stumped me for a bit lol.
This works so far and it seems to work no matter what arrangement of URL text I throw at it:
Code:
; Extracts the video's ID number and properly places it into an embed-compatible format
    IfInString, ShareURL, http://www.youtube.com/watch? ; From URL in browser's main address bar
      {
        RegExMatch(ShareURL, "v=(.*)", VideoID) ; Everything after 'v=' is sent to 'VideoID' variable
        StringReplace, VideoID, VideoID, v=,, All ; Removes 'v=' from 'VideoID' variable
        StringLeft, VideoID, VideoID, 11 ; Uses only the first 11 characters, which is the pure video ID number
        CorrectedURL = http://www.youtube.com/v/%VideoID% ; Creates a standard URL with the video ID and is now embed-compatible
      }
    IfInString, ShareURL, http://youtu.be ; URL from 'Share' button (video ID number does not need to be searched as it is the only data in this URL)
      StringReplace, CorrectedURL, ShareURL, http://youtu.be, http://www.youtube.com/v, All ; URL is now embed-compatible
    IfNotInString, CorrectedURL, http://www.youtube.com/v ; If nothing good resulted from the above commands then there has been some type of problem
        MsgBox, The chosen URL appears to be incorrect. Please try again.`nTry the URL from either the`naddress bar or the 'Share' button. ; ...Message shown


...it effectively grabs the video ID number from anywhere in the URL, which makes it way more compatible and reliable.

I want to pound on this a while longer, on XP and Win7x64, before I post the updated version.
There is still a problem on x64 systems, because I have invalid characters in the INI (in the URLs)
and they need to be replaced with valid characters as the script is closed (before the INI is written).
Still working on that :)

_________________
Some of my scripts :).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2011, 9:51 pm 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
Actually, I find it's easiest to percent-encode everything in an ini file :P
Here's some really ugly code which demonstrates the point perfectly :lol:
Code:
thisIsTerrible = I have @#$`%^'ing newlines`nall over the &*)(+= place;incompatible with ini
SetFormat, Integer, Hex
Loop Parse, thisIsTerrible
   If A_LoopField is not alnum
      thisIsOK .= "%" . SubStr("0" . SubStr(Asc(A_LoopField), 3), -1)
   else thisIsOK .= A_LoopField
iniwrite, %thisIsOK%, OK.ini, section, OK
run OK.ini
iniread, thisIsOK, OK.ini, section, OK
i := 0
While l := SubStr(thisIsOK, ++i, 1)
   If l =`%
      done .= Chr("0x" . SubStr(ThisIsOK, i+1, 2)), i += 2
   else done .= l
MsgBox % done
does that get rid of your illegal characters problem or am I just rambling? :o

Edit: got it down to 15 lines so now the code box doesn't scroll. It also runs very fast even without SetBatchLines -1

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2011, 11:51 pm 
Offline

Joined: February 20th, 2011, 9:42 pm
Posts: 433
Location: Cache Creek B.C.
whoa! I wish I'd seen that sooner... I've been plugging away at this:
Code:
FileRead, IniContents, %IniFile% ; Reads UrlList.ini
MsgBox, Raw content from saved INI:`n`n%IniContents%
  StringReplace, IniContents, IniContents, _dashezzzzzzzzzzzzzz_, `-, All ; Replaces _dashezzzzzzzzzzzzzz_ with dashes
  StringReplace, IniContents, IniContents, _dotcomdotcomdotzzzz_, `., All ; Replaces _dotcomdotcomdotzzzz_ with periods
  StringReplace, IniContents, IniContents, _xxxxxxxxxxxxxxxxxxx_, `/, All ; Replaces _xxxxxxxxxxxxxxxxxxx_ with forward-slashes
  StringReplace, IniContents, IniContents, _yyyyyyyyyyyyyyyyyyy_, `:, All ; Replaces _yyyyyyyyyyyyyyyyyyy_ with semicolons
  StringReplace, IniContents, IniContents, _zzzzzzzzzzzzzzzzzzz_, `&, All ; Replaces _zzzzzzzzzzzzzzzzzzz_ with ampersands
FileDelete, %IniFile%
FileAppend, %IniContents%, %Inifile%
MsgBox, Repaired INI contents`, good to go:`n`n%IniContents%

...that is at the top of the script and this is now the exit section:
Code:
GuiClose:
  Gui, Hide ; Hides the main window
  FileRead, IniContents, %IniFile% ; Reads UrlList.ini so invalid characters can be removed below
    MsgBox, Current INI contents in use:`n`n%IniContents% ; Contents of INI are displayed
  StringReplace, IniContents, IniContents, `-, _dashezzzzzzzzzzzzzz_, All ; Replaces dashes with _dashezzzzzzzzzzzzzz_
  StringReplace, IniContents, IniContents, `., _dotcomdotcomdotzzzz_, All ; Replaces periods with _dotcomdotcomdotzzzz_
  StringReplace, IniContents, IniContents, `/, _xxxxxxxxxxxxxxxxxxx_, All ; Replaces forward-slashes with _xxxxxxxxxxxxxxxxxxx_
  StringReplace, IniContents, IniContents, `:, _yyyyyyyyyyyyyyyyyyy_, All ; Replaces semicolons with _yyyyyyyyyyyyyyyyyyy_
  StringReplace, IniContents, IniContents, `&, _zzzzzzzzzzzzzzzzzzz_, All ; Replaces ampersands with _zzzzzzzzzzzzzzzzzzz_
  FileDelete, %IniFile%
  FileAppend, %IniContents%, %Inifile%
    MsgBox, Altered INI contents for compatible saving to INI:`n`n%IniContents% ; New contents of INI are displayed, which should now be compatible with the below commands on x64 systems (??? not tested yet)

  RIni_Read(1,Inifile) ; Loads the INI into memory
  RIni_DeleteBlankKeys(1) ; Deletes any blank keys entirely
  RIni_SortKeys(1,"VideoURL","N") ; Sorts out INI's contents into numerical order --->>
  RIni_SortKeys(1,"Channels","N") ; -------------------------------------------------<< 
  RIni_Write(1,IniFile) ; Writes the new INI without blank keys in it and in order
  RIni_Shutdown(1) ; Unloads UrlList.ini from memory
  IniWrite, %Volume%, %IniFile%, VideoURL, 1 ; Writes current volume level onto key 1 in [VideoURL] section for easy reference
  IniWrite, %OnTopCheckboxSetting%, %IniFile%, VideoURL, 0 ; Writes 'OnTopCheckboxSetting' status onto key 0 in [VideoURL] section for easy reference
  Gui, Destroy ; Completely closes and unloads the main window
ExitApp


Where does the one you made go? I'm not sure how I would put that in, it's awesome looking and
is sure a lot shorter than the stuff I came up with :)
But rseding91's Fast Ini Library functions are also at work here... it is what I need the compatibility for... is it possible?
His INI function does such a bang-up job of processing very large INI files, very very quickly,
but all the characters need to be valid, all the way throughout the INI.

_________________
Some of my scripts :).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 9th, 2011, 12:13 am 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
As long as "valid characters" includes the regex class [a-zA-Z0-9%] (or "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789%")
then it should play nicely with the ini library.
That said, I'll wrap the encoding and decoding for you.

Edit: here you go, percent_encode and percent_decode:
Code:
thisIsTerrible = I have @#$`%^'ing newlines`nall over the &*)(+= place`n//incompatible with ini\\

MsgBox % thisIsTerrible
MsgBox % encoded := Percent_Encode(thisIsTerrible)
MsgBox % Percent_Decode(encoded)

; Encodes ("escapes") illegal characters in text
; by nimda - modify, reuse, sell, I don't care
Percent_Encode(text){
   f := A_FormatInteger
   SetFormat, Integer, Hex
   Loop Parse, text
      If A_LoopField is not alnum
         thisIsOK .= "%" . SubStr("0" . SubStr(Asc(A_LoopField), 3), -1)
      else thisIsOK .= A_LoopField
   SetFormat, Integer, %f%
   return thisIsOK
}

; Decodes / unescapes text
; Licensed void of all warranty under the WTFPL as published by Sam Hocevar
Percent_Decode(text){
   i := 0
   While l := SubStr(text, ++i, 1)
      If l =`%
         done .= Chr("0x" . SubStr(Text, i+1, 2)), i += 2
      else done .= l
   return done
}
Notice that it even handles the % character.

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 134 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Bon, bowen666, Yahoo [Bot] and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group