aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Preview doesn't work in latest CVS(20050303-20050228)  (Read 2361 times)

evonski

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Preview doesn't work in latest CVS(20050303-20050228)
« on: March 03, 2005, 10:01:20 PM »

Hello

When downloading, the Preview doesn't work. It used too work( confirmed w/ aMule-cvs-20050206) but the last 2 CVS downloads doesn't (aMule-cvs-20050303 & aMule-cvs-20050302). I don't know when problem started.

Added:
On Debian 3.1 , self-compiled

This is the error it gives in logfile and aMule Log window:
2005-03-03 12:31:50: Command: /usr/bin/vlc "/home/steve/xMule/Temp/383.part"

Also tried to the workaround listed in ID# 0000297
http://www.amule.org/abugs/view.php?id=297
Code: [Select]
#!/bin/bash
#
# amule_player
#
# shell script to get preview working under amule
# 3, 3 2005

1>/tmp/anything /usr/bin/vlc "$@"


And tries way listed in "Preview doesn't work" in Forum, Jacobo221 suggestion:
http://forum.amule.org/thread.php?threadid=4377&sid=&hilight=preview
xterm -T "aMule's preview" -iconic -e vlc

Tries also substituting mplayer and totem, same results.

Did confirm all ways work from command line.


TIA

Steve
« Last Edit: March 03, 2005, 10:12:41 PM by evonski »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Preview doesn't work in latest CVS(20050303-20050228)
« Reply #1 on: March 04, 2005, 04:59:47 AM »

Does work well here with xine and totem.
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: Preview doesn't work in latest CVS(20050303-20050228)
« Reply #2 on: March 04, 2005, 11:02:18 AM »

Works here with mplayer and xine. Also works if calling a script.

Notice that this code has been changed indeed, so it is possible that we have an issue here. But :)
Quote
1>/tmp/anything /usr/bin/vlc "$@"
Does that command work when you type it in the console? Of course, substitute $@ for the file name :P
I'm not sure about the 1> part. Also there could be a problem with the path. So please, test it by hand to confirm we have a problem with aMule.

Cheers!
Logged

evonski

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Preview doesn't work in latest CVS(20050303-20050228)
« Reply #3 on: March 04, 2005, 04:57:55 PM »

Hello,

Yes, every instance I tried works from an xterm directly. I tried the following:
/usr/bin/amule_player path/to/111.part      (amule_player is the script that was posted above)
xterm -T "aMule's preview" -iconic -e vlc path/to/111.part
1>/tmp/anything /usr/bin/vlc path/to/111.part
and of course,
vlc path/to/111.part

I've also tried to add directly into the Video Player choice:
1>/tmp/anything /usr/bin/vlc "$@"
1>/tmp/anything /usr/bin/vlc

Both gave me errors in the aMule Log window of:
2005-03-04 07:49:16: ERROR: Failed to execute external media-player!
2005-03-04 07:49:16: Command: 1>/tmp/anything /usr/bin/vlc "$@" "path/to/111.part"
2005-03-04 07:51:24: ERROR: Failed to execute external media-player!
2005-03-04 07:51:24: Command: 1>/tmp/anything /usr/bin/vlc "path/to/111.part"

I'm really not sure what the purpose of 1>/tmp/anything is, but the file is created with correct permissions, but it is an empty file.


I'm currently running aMule under gdb as I seem to get crashes about every ~10 hours or so. I was just reading about memory leaks w/ regards to the official libwxbase2.4.deb( http://forum.amule.org/thread.php?threadid=5179&sid= ) and will proably rebuild with an updated wxGTK built from source. Don't know if this affects this problem or not.


Doesn't bother me that much(it more of an anoyance then anything), but let me know what else to try to help resolve this,


TIA

Steve
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: Preview doesn't work in latest CVS(20050303-20050228)
« Reply #4 on: March 04, 2005, 10:12:14 PM »

Steve,

Please, report when you are done, changing wxGTK can certainly affect the net result.

BTW, I could not manage to run the binary installation of vlc, it segfaults here. And to install from source, I need a lot of devel packages, and I am too lazy now to install them :) I get:
$ vlc
VLC media player 0.8.1 Janus
*** glibc detected *** malloc(): memory corruption: 0x08cc6b28 ***
Aborted (core dumped)

Cheers!
Logged

evonski

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Preview doesn't work in latest CVS(20050303-20050228)
« Reply #5 on: March 04, 2005, 10:44:23 PM »

Hello,

I'll try and get everything(wxGTK & aMule) (re)compiled this weekend. I'll proably won't be able ot report anything till Monday.

As for getting VLC running, it works decently for me(this is a Debian Sarge(3.1) installed w/ the listed deb) . Reason I use it is becasue I like the UI, and it seems to accept most codec's easliy. Like I said in the first post, I've tried each diffentent way w/ also mplayer and totem(and I've just tested w/ xine), and none worked. So it's not a player problem.


Thanks

Steve
Logged