Poster | Thread |
GrumpyOldMan
| |
Re: www.youtube.com on OS4 Posted on 9-Oct-2006 22:43:02
| | [ #41 ] |
|
|
|
Cult Member |
Joined: 3-Nov-2003 Posts: 675
From: Haukipudas, Finland | | |
|
| @Ferry
Yes, the '%l' is set. Looking at T: , I can see a 'log' called 'Command-T2-0' containing: --- FailAt 10
rx Work:IBrowse/Arexx/play_youtube.rexx http://www.youtube.com/watch?v=A9JXQowEAUI ---
So it seems the URL is passed to the rexx script, but for some reason it does not work. Any ideas why? _________________ "Those are my principles, and if you don't like them... well, I have others." (Groucho Marx) |
|
Status: Offline |
|
|
Bobsonsirjonny
| |
Re: www.youtube.com on OS4 Posted on 9-Oct-2006 22:58:48
| | [ #42 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2003 Posts: 2880
From: Unknown | | |
|
| Google just bought YouTube - for 1.8 billion!!!
They plan to use it as a big advertising stream - and are planning to share profits with its users, so if you generate a #### load of hits, you'll get some pennies for it.
This is mental. Another great idea gone before I had a chance to think of it bugger
|
|
Status: Offline |
|
|
Ferry
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 0:14:16
| | [ #43 ] |
|
|
|
Cult Member |
Joined: 26-Aug-2003 Posts: 696
From: Valencia, Spain | | |
|
| @GrumpyOldMan
"Winston the Wiener Dog", hehe
Recheck you didn't modify nothing else than the required lines, for some reason the URL is not passed to wget. Single and double quotes are the usual suspects...
Saluditos,
Ferrán. _________________ Amiga user since 1988 AOS4 Betatester Member of ATO Spain A1 Cfg OS4 SCR A1200 |
|
Status: Offline |
|
|
scabit
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 2:17:12
| | [ #44 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @BrandonLee
Can't get this to work with MPlayer Experimental #3 and Aweb 3.5.08 beta. Aweb will save the .flv files, and Mplayer will play the .flvs when I use mplayerGUI, but when I try the following shell command:
C:Execute web:web/Flayer/LaunchMPlayer c:mplayer -framedrop -quiet -vc ffflv -vo cgx_vmem::ALWAYSBORDER videodive.flv
all I get is the error "Option -vo needs a parameter at line 1"
That's all I get when I try to play from AWeb as well.
Any idea what I'm doing wrong?
Thanks,
Scott
_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|
Dandy
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 7:56:44
| | [ #45 ] |
|
|
|
Elite Member |
Joined: 24-Mar-2003 Posts: 3049
From: Cologne * Germany | | |
|
| @rhino
Quote:
Does your script also work under OS 3.x?
On an A4000PPC with Voodoo4 and OS 3.9 / WarpOS 16.1???
I'm asking this as I appearently will still have to wait a while until I can have OS4 for my classic..._________________ Ciao
Dandy __________________________________________ If someone enjoys marching to military music, then I already despise him. He got his brain accidently - the bone marrow in his back would have been sufficient for him! (Albert Einstein) |
|
Status: Offline |
|
|
afxgroup
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 8:29:39
| | [ #46 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| @scabit
you can avoid to pass -vo cgx_vmem::ALWAYSBORDER since is default in the exp #3 _________________ http://www.amigasoft.net |
|
Status: Offline |
|
|
rhino
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 9:58:42
| | [ #47 ] |
|
|
|
Regular Member |
Joined: 11-Mar-2003 Posts: 280
From: Unknown | | |
|
| @scabit
Quote:
C:Execute web:web/Flayer/LaunchMPlayer c:mplayer -framedrop -quiet -vc ffflv -vo cgx_vmem::ALWAYSBORDER videodive.flv
all I get is the error "Option -vo needs a parameter at line 1"
|
When you try do you definitely have the command all on one line? If you're pasting it into a shell and the line contains a newline then it will execute only the first part and give the error you describe.
HTH
Robert_________________ Total Amiga (Archive) http://www.totalamiga.org |
|
Status: Offline |
|
|
rhino
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 10:01:24
| | [ #48 ] |
|
|
|
Regular Member |
Joined: 11-Mar-2003 Posts: 280
From: Unknown | | |
|
| @Dandy
Quote:
Does your script also work under OS 3.x?
On an A4000PPC with Voodoo4 and OS 3.9 / WarpOS 16.1???
|
The script itself should work with no problems (although I haven't tested it) and download the .flv file. However the only Amiga program that can play FLV (that I know of) is MPlayer and there is no OS 3.x port. Therefore while the script will work it's not much use on OS 3.
Robert_________________ Total Amiga (Archive) http://www.totalamiga.org |
|
Status: Offline |
|
|
PR
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 11:14:46
| | [ #49 ] |
|
|
|
Super Member |
Joined: 1-Sep-2004 Posts: 1961
From: Suomi-Finland | | |
|
| Can't understand "Definable" when in IBrowse FabMenus.
Quote: goto GUI>FABMenus , drag&drop a 'Definable' element into 'Link' section in order to create a new context menu entry.
What should I drag there to get a new line?
|
|
Status: Offline |
|
|
GrumpyOldMan
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 11:22:15
| | [ #50 ] |
|
|
|
Cult Member |
Joined: 3-Nov-2003 Posts: 675
From: Haukipudas, Finland | | |
|
| @PR
I dragged the 'custom' element to the 'link' section.
edit: corrected typo
Last edited by GrumpyOldMan on 10-Oct-2006 at 12:40 PM.
_________________ "Those are my principles, and if you don't like them... well, I have others." (Groucho Marx) |
|
Status: Offline |
|
|
PR
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 15:46:07
| | [ #51 ] |
|
|
|
Super Member |
Joined: 1-Sep-2004 Posts: 1961
From: Suomi-Finland | | |
|
| @GrumpyOldMan
Thanks, nearly tried everything similar;) But now got output from IB: EXECUTE: Key too long. Dope! |
|
Status: Offline |
|
|
Ferry
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 16:01:21
| | [ #52 ] |
|
|
|
Cult Member |
Joined: 26-Aug-2003 Posts: 696
From: Valencia, Spain | | |
|
| @GrumpyOldMan
Quote:
@PR
I dragged the 'custom' element to the 'link' section.
|
Damn... My IB has the Spanish locale installed, so I didn't know exactly what the word was. Corrected now.
Saluditos,
Ferrán._________________ Amiga user since 1988 AOS4 Betatester Member of ATO Spain A1 Cfg OS4 SCR A1200 |
|
Status: Offline |
|
|
GrumpyOldMan
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 21:01:23
| | [ #53 ] |
|
|
|
Cult Member |
Joined: 3-Nov-2003 Posts: 675
From: Haukipudas, Finland | | |
|
| @Ferry
Still a no-go - it seems the 'http_get_params' does not return the parameters as adding 'say params' after 'params = http_get_params(url)' only outputs word 'PARAMS' to the IBrowse Output window.
BTW is arexx case sensitive?
I am calling the arexx script from 'youtube_play' script with:
rx Work:IBrowse/Arexx/play_youtube.rexx {URL}
is this correct?
_________________ "Those are my principles, and if you don't like them... well, I have others." (Groucho Marx) |
|
Status: Offline |
|
|
Ferry
| |
Re: www.youtube.com on OS4 Posted on 10-Oct-2006 23:44:14
| | [ #54 ] |
|
|
|
Cult Member |
Joined: 26-Aug-2003 Posts: 696
From: Valencia, Spain | | |
|
| @GrumpyOldMan
I can't see what's going wrong, since I cannot see if you have done any other modification in the script, even if you didn't want to... I would recommend you to do it again from the start, and look twice at any modification you do.
Saluditos,
Ferrán. _________________ Amiga user since 1988 AOS4 Betatester Member of ATO Spain A1 Cfg OS4 SCR A1200 |
|
Status: Offline |
|
|
pjs
| |
Re: www.youtube.com on OS4 Posted on 11-Oct-2006 4:38:46
| | [ #55 ] |
|
|
|
Member |
Joined: 2-Jan-2006 Posts: 68
From: VA, USA | | |
|
| Hey guys,
Thanks to Ferry's assistance, I just got his evolution of the script working on IB & YourTube too.
An additional option for everyone: you can use the same script(s) with the "Page" FAB menu, if you're already on the YourTube page containing the video you want to play.
Just add another "Custom" element to the Page FAB menu as Ferry described, but set the script argument to "%u" (WebPage URL).
Once configured, you just right-click on the page and you'll have your new menu item to download/view the video on that page.
Thanks Ferry, Fab, Toaks and all the guys that worked on getting this working.
PJS
|
|
Status: Offline |
|
|
The_Editor
| |
Re: www.youtube.com on OS4 Posted on 11-Oct-2006 11:21:16
| | [ #56 ] |
|
|
|
Elite Member |
Joined: 7-Mar-2003 Posts: 7629
From: 192.168.0.02 ..Pederburgh .. Iceni | | |
|
| @Bobsonsirjonny
Google has dropped a boll0ck buying Youtube it would seem.
Quote:
YouTube has no revenue stream. Cuban's argument is simple. Much of YouTube's content is copyright clips, and the company has built its business on the back of someone else's creative works.
--------------
No one has sued YouTube yet because without any assets or revenue there's nothing to be gained except closing the site down. |
Read comment in correct context
HERE _________________ ****************************************** I dont suffer from Insanity - I enjoy it
****************************************** |
|
Status: Offline |
|
|
BrandonLee
| |
Re: www.youtube.com on OS4 Posted on 11-Oct-2006 12:42:26
| | [ #57 ] |
|
|
|
Super Member |
Joined: 15-Dec-2003 Posts: 1355
From: Lisbon, Portugal | | |
|
| @Bobsonsirjonny
Just now that we managed to use it on OS4, Google buys the damn thing! I bet it will change and we'll be stuck again... :((( |
|
Status: Offline |
|
|
AmigaManiac
| |
Re: www.youtube.com on OS4 Posted on 11-Oct-2006 13:21:42
| | [ #58 ] |
|
|
|
Regular Member |
Joined: 19-Jul-2006 Posts: 104
From: Australia | | |
|
| |
Status: Offline |
|
|
GrumpyOldMan
| |
Re: www.youtube.com on OS4 Posted on 11-Oct-2006 20:32:51
| | [ #59 ] |
|
|
|
Cult Member |
Joined: 3-Nov-2003 Posts: 675
From: Haukipudas, Finland | | |
|
| @Ferry
I downloaded the scripts again (just to be sure I don't have a corrupted files). Unarchived the package to separate directory and opened the 'youtube.rexx' file with NotePad.
I then deleted the line:
address command 'wget -O "'title'.flv" 'location
then I cut and pasted the two lines from your text in this thread:
address command 'wget -O "t:temp.flv" 'location address command '{path:}mplayer >nil: -ao sdl -vo cgx_vmem::TINYBORDER "t:temp.flv"'
and changed the latter line:
address command 'c:mplayer >nil: -ao sdl -vo cgx_vmem::TINYBORDER "t:temp.flv"'
I have MPlayer installed in C:
Nothing more was changed in the script. I then saved the script into C: with name "youtube_play.rexx".
Next, I created a new file with Notepad, and copied the text directly from your description in this thread:
.key URL/A,Opt .bra { .ket }
FailAt 10
rx {path:}youtube_play.rexx {URL}
and changed the last line to
rx c:youtube_play.rexx {URL}
then saved this file to C: under name "play_youtube". From DOpus, I set the 'script' bit to this file
7.OS4:C> list pl* play_youtube 70 -s--rwed Today 21:42:25
Finally I created the new custom item ("Play_YouTube") in IBrowse Settings/GUI/Fab Menus, following your instructions - Action: 'Command', c:play_youtube, %l
I then save the settings, closed IBrowse, rebooted the machine, started the IBrowse again, went to www.youtube.com, selected the same "Winston the Viener Dog" movie, put the cursor over 'Play next' link, chose the Play_YouTube from FAB menu and waited. Nothing happened for several minutes, then I get the text in IBrowse Output window:
TITLE http:// wget: missing URL Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options. MPlayer 1.0pre8.007 (C) 2000-2006 MPlayer Team CPU: PowerPC
93 audio & 210 video codecs
Playing data:TITLE.flv.
Exiting... (End of file) --------------------------
So, no success again. Don't really know what goes wrong. I can see the movie in Aweb, so it should be visible in IBrowse too.
_________________ "Those are my principles, and if you don't like them... well, I have others." (Groucho Marx) |
|
Status: Offline |
|
|
scabit
| |
Re: www.youtube.com on OS4 Posted on 11-Oct-2006 23:07:50
| | [ #60 ] |
|
|
|
Super Member |
Joined: 8-Jan-2005 Posts: 1667
From: Satellite Beach, FL USA | | |
|
| @rhino
Quote:
When you try do you definitely have the command all on one line? |
Yes...I've verified this. I'll try removing the -vo cgx_vmem::ALWAYSBORDER entirely and see how it flies.....
Scott_________________ AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible! Check my blog AmigaOne Computing |
|
Status: Offline |
|
|