aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Unable to preview files  (Read 2568 times)

Justin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Unable to preview files
« on: March 01, 2007, 12:00:56 PM »

I followed these instructions
Setting up aMule's video preview feature:
-----------------------------------------
You can use a video player like VLC or Mplayer to preview incomplete downloads of video files. To set up aMule properly for this, go to Preferences -> Directories. Under "Video Player", you have to enter "/usr/bin/open -a" together with the path of your video player program.

For example:
/usr/bin/open -a "/Applications/VLC.app"
/usr/bin/open -a "/Applications/vlc-0.8.4a/VLC.app"
/usr/bin/open -a "/Applications/MPlayer OS X 2.0b8r5/MPlayer OS X 2.app"


In my case I entered:
/usr/bin/open -a "/Applications/Media players/VLC.app"

Then clicking on a file and choosing "preview", it said "Please set your prefered video player on preferences. Meanwhile, aMule will attempt to use mplayer and you will get this warning on every preview"
It then did nothing (I don't have mplayer). And, I had already entered that line as instructed, in preferences.
Any ideas?
Thank you!
Justin
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Unable to preview files
« Reply #1 on: March 11, 2007, 12:03:59 AM »

Where are these instructions? A very complicated way of doing such a simple thing. I just fill:

Video player: mplayer.sh

on the Preferences->Directory window. Then I have at ~/bin (which of course is in my PATH):
Code: [Select]
#! /bin/sh

mplayer -vo xv -idx "$@" &> /dev/null </dev/null

EDIT: Hum, I don't know if this works for Mac. But should. Why don't you look for help on the Mac forum?
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Unable to preview files
« Reply #2 on: March 11, 2007, 05:22:34 PM »

Justin, what happens if you open Terminal and type:

/usr/bin/open -a "/Applications/Media players/VLC.app"

there?  (If you have the path right, then VLC should launch.)

If that works, try typing that command but do not hit the Return key.  Instead, type a space at the end.  Then, drag a video file from the Finder and drop it onto the Terminal window.  That will auto-type the path to the file.  Now press return.  That should open the video file in VLC.
Logged