Installing Flashless
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    Ok thought this was rather interesting can anyone tell me how your meant to install flashless as the install guide is'nt that clear!

    Quote:

    HOW TO INSTALL:

    -------------- Unpacking Flashless.lha you have got the 'Flashless' and 'Libs' dirs.
    'Libs' contains 2 files that must be used to integrate the Python interpreter resources, as follows:

    - ALL USERS: move 'Libs/python2.4/site-packages/BeautifulSoup.py' into same path in your system.

    - MORPHOS 2.x USERS ONLY: move 'Libs/python2.4/lib-dynload/_socket.pym' into same path in your system.

    Now you can delete the 'Libs' dir from this archive and move the 'Flashless' dir with all its contents wherever you prefer. At this point the installation is finished


    First step was to download python (Python 2.5.4 R42, Beta-2 Edition ) so put them in there places, downloaded flashless (from aminet) and flashess 0.15 and unpacked and just got a bunch of files and devel folder. (so created the folder system:flashless/ and put all flashless files in there

    Could'nt find the BeautifulSoup.py anywhere, so download it from another site, but where are these files meant to be placed? (i've tryed them in libs/ python 2.5) in the flashless directory and even in my system directory.

    then came the time to configure OWB, so what is the path meant to be to be:

    read me
    Code:
    python <your path>/Flashless/Flashless 0 "%l"


    so I tryed

    python Sys:Flashless/Flashless 0 "%l"

    sys:Flashless/Flashless 0 "%l"

    then moved flashess to libs/python2.5

    sys:libs/python2.5/Flashless/Flashless 0 "%l"/

    And result ends up in nothing or a cd error message (can't remember what it said)

    so any help would be great :-)
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »25.11.09 - 09:18
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    Hi!
    I'm using Python 2.4.4 7a final and when unarchived the lha file I found a lot of directories. One of them is called "site-packages": in that dir you have to place the "BeautifulSoup.py" file. The second dir is "lib-dynload" and in this you have to put "_socket.pym" file. Unfortunately, I noticed that those files are no more in the Flasheless 0.15 release (the "libs" directory isn't present) so you have to recover the version before.
    You wrote you did it so the second step is to place the whole Flashless directory wherever you like (I placed mine in "Tools" f.e.) then open OWB prefernces and:

    Go to Settings/Preferences/Contextual Menus.

    Add these 2 entries in 'Link' category:

    1)

    Label (Name): Flashless PLAY
    Command (Action): python <your path>/Flashless/Flashless 0 "%l"

    2):

    Label (Name): Flashless SAVE
    Command (Action): python <your path>/Flashless/Flashless 1 "%l"


    Add these 2 entries in 'Page' category:

    1):

    Label (Name): Flashless PLAY
    Command (Action): python <your path>/Flashless/Flashless 0 "%u"

    2):

    Label (Name): Flashless SAVE
    Command (Action): python <your path>/Flashless/Flashless 1 "%u"

    Then you are ready to see the movies opening the menu directly on the loaded page with video (right mouse and select play or save) or opening the menu on the video link (right mouse, same as above).



    [ Edited by Jambalah on 2009/11/25 11:51 ]
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »25.11.09 - 10:45
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    Python 2.5.4 on MOS is more featured than 2.4.x.
    I've not tested, but Paolo Germano is aware about the release and I think Ihe can release an update.

    BeautifulSoup (http://www.crummy.com/software/BeautifulSoup/) is available for 2.4 to 2.6 Python series.

    Paolo: if you can give us something? have you tested Flashless on 2.5.4?

    Note: yes, place all Python thirdparties in LIBS:pythonX.Y/site-packages/
    The "sys.path" python list variable is pre-configured on this path.

    [ Edited by Yomgui on 2009/11/25 12:40 ]
    And now... next project!
  • »25.11.09 - 11:36
    Profile Visit Website
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    Thank you for the reply Jambalah, guess i'm just going to give up with flashless. I added the required files to python directorys and moved flashless to tools. used the following command

    Code:
    python System:Tools/Flashless/Flashless 1 "%u"


    And it still does nothing! i've had a quick look around and everywhere has updated to flashless 0.15 and the link to python2.4.4 7a final is dead.
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »25.11.09 - 11:40
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    I'll give a try to new Python and I will let you know! Thanks Yomgui!!

    @TGR:

    never give up!!
    Check your PM ;-)
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »25.11.09 - 13:03
    Profile
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    Thank you, I replyed :-)
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »25.11.09 - 13:42
    Profile
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    Ok small update.

    I went to youtube on on the homepage there was a video (videos being watched just now) so i right clicked and selected flashless play and got this message:
    Code:
    Traceback (most recent call last):
    File "SYS:Tools/Flashless/Flashless", line 11, in <module>
    mode = int(sys.argv[1])
    ValueError: invalid literal for int() with base 10: '0"http://www.youtube.com/watch?v=qZ5DfWN3fWU&feature=popular"'


    So I opened the video in a new tab ( http://www.youtube.com/watch?v=qZ5DfWN3fWU ) and right clicked selected flashless play and got a format selector, so picked my format and got this error message:
    Code:
    Traceback (most recent call last):
    File "SYS:Tools/Flashless/Flashless", line 44, in <module>
    _play.play(url)
    File "System:Tools/Flashless/_play.py", line 70, in play
    f.close()
    IOError: [Errno 5] Input/output error


    also get the same error on megavideo

    [ Edited by TGR on 2009/11/25 16:07 ]
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »25.11.09 - 16:05
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    Ok, works perfectly with Python 2.5.4 and BeautifulSoup 3.0.7a.

    Nothing special:

    Prerequist: install Python 2.5.4 using archive and install documentation here.

    1) Download BeautifulSoup here (lastest version worling with 2.x series)
    2) Thank to Ambient: just double click on the archive name until the directory and drag its name in RAM:
    3) Open a new Shell, 'cd' inside the beatutifulsoup directory (where there is a 'setup.py' file) and type.

    python setup.py install

    4) download Flashless.lha on Aminet and install it inside a new directoy at anyplace.
    5) inside your flashless directory, edit the file 'Flashless.conf' and change the Mlayer binary path with your setup.
    6) to test Flashless before to setup OWB, in a Shell, 'cd' inside the flashless directory and type:

    python Flashless 0 "http://www.youtube.com/watch?v=DkeF7gfyM-U"

    (It's a zero after Flashless and before the URL)
    A popup should open to ask inwich format the dl should start. Select one and let the show!

    ;-)

    [ Edited by Yomgui on 2009/11/25 20:52 ]
    And now... next project!
  • »25.11.09 - 19:23
    Profile Visit Website
  • TGR
  • Butterfly
    Butterfly
    TGR
    Posts: 100 from 2009/10/26
    From: Scotland
    Thank you Yomgui, its all up and running now and i learnt afew new tricks. and thank you again Jambalah for your help
    8-)

    [ Edited by TGR on 2009/11/26 0:50 ]
    Mini Mac G4 1.25, 1gb ram, 40 gig hdd, Registered Morphos 2.6.
  • »26.11.09 - 00:50
    Profile
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 602 from 2004/11/27
    @ Yomgui

    thanks for tutorial, it works fine. I testet it with OWB having set-up already flashless.

    Regards

    Christoph
  • »26.11.09 - 06:00
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    maurensen
    Posts: 358 from 2003/10/3
    From: Padova - Italy
    I'm resuming this very thread because I'm at home for 2 days of holydays and I'm playing a little more with my PowerMac (I booted OSX 1 time in this week only to update my IPod:-)) and I'm trying to set up flashless follwing YomGui's tutorial. I've installed everything but i get this error message in all the pages I've tried:

    Sorry it was not possible to identify any direct media access inside this html document

    Someone could help me please?
    thanx in advange!
    -------------------
  • »02.01.11 - 19:22
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Flashless is probably obsoleted by the multiple Youtube changes that happen every now and then. :)
    You might need a current version of Flashless (assuming it's maintained), or use getvideo instead.
  • »02.01.11 - 21:14
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    maurensen
    Posts: 358 from 2003/10/3
    From: Padova - Italy
    Ok, thanx Fab, I downloaded getvideo that works flawlessy :-)
    I'm having more phun everyday using MorphOS, installing manually and configuring progams, knowing exactly what every file means on my hd! :-)
    Maybe I'm crazy but this is the Amiga-way of doing things and I like it so much :-)
    Hola
    -------------------
  • »03.01.11 - 08:00
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    Quote:

    maurensen wrote:

    installing manually and configuring progams, knowing exactly what every file means on my hd. Maybe I'm crazy but this is the Amiga-way of doing things and I like it so much


    I firmly believe this is the correct way to use a computer, even if the rest of the world prefers doing things without knowing how they work at all.

    Regular people don't like learning.
  • »03.01.11 - 14:26
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Raf_MegaByte
    Posts: 430 from 2004/10/10
    From: Nella grande r...
    I re-up again this thread to ask a favour to you all.

    I downloaded flashless 0.15 to make some experiments with streaming sites.

    Unfortunately version 0.15 lacks of two python scripts7libraries present in previous versions 0.10 and 0.14.

    Also on Amiga repositories there are no more copies of elder flashless versions.

    Author Paolo Germano seems disappearing from Amiga scene. I sent him a mail request, but he never answered.

    Fikes missing in 0.15 are:

    beautifulsoup.py

    _socket.pym

    I found on internet a recent version of Beautifulsoup but I can't find _socket.pym nowhere.

    Is there any of you who still owns an old copy of flashless.lha in order to get _socket.pym.

    If someone still owns one, I'll be glad to him if he could send me file _socket.pym or elder flashless.lha version.

    Thank you in anticipation.

    [ Edited by Raf_MegaByte 01.05.2015 - 18:47 ]
    Bill Gates "Think!", Steve Jobs: "Think different!" So... Let these guy continue blabbering thinking and enjoy computing! We are on Amiga!
  • »01.05.15 - 17:45
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 416 from 2003/2/24
    From: Berlin
    I found v0.14, send me a pm with your email address, if you want it!
  • »02.05.15 - 12:12
    Profile Visit Website