Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xt7-player
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Fri Nov 14, 2008 10:49 am    Post subject: xt7-player Reply with quote

I started to develop an opensource gui for mplayer in gambas some time ago, Xt7-Player
I tried to expose most of mplayer options keeping them usable.


Some relevant features:

  • Video controls and video area attached within a single window.
  • Support for local,network and 'exotic' protocols, as mplayer does.
    (ftp,http,smb,tv,radio,pvr and so on)
  • Pan&Scan features via mouse buttons/gestures
  • Speed tweaks
  • Local and global hotkey managment, with freedom to bind actions to mouse and/or keyboard buttons.
  • High configurable subtitles language and aspect with support for plain and ssa styles.
  • Ability to choose audio and video codecs priority
  • Support for a wide range of audio and video drivers with their own sub-options with the ability to prioritize them via drag'n drop.
  • "Stackable" Audio and video filters managed via drag'n drop.
  • Every single audio and video filter has it's own options to configure, strictly following mplayer style.
  • Mplayer has toons of filters, if you need something which hasn't been implemented in Xt7, you can use the "custom" filter to write your own.
  • Support for multiple audio And subtitle streams.
  • Fullscreen interface with "popup" controls
  • Per window and application wide settings load/save.
  • Profiles managment
  • Media library syncronization with media tags and playlist support as long as configurable Inline search.


Screenshots:
http://xt7player.homelinux.org/xt7forum/viewtopic.php?f=7&t=2
Support forums:
http://xt7player.homelinux.org/xt7forum
Ebuild here:
https://bugs.gentoo.org/237497

If you like this project, please contact me, it need to be translated and it won't take much time.

Cheers!


Last edited by kokoko3k on Wed Nov 26, 2008 1:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Fri Nov 14, 2008 4:11 pm    Post subject: Reply with quote

I have been playing with it, and it seems like a reasonable alternative to kaffeine, it seems also to be lighter in ram usage (even counting the mplayer process), however I seem to be having some problem with the fullscreen feature (or maybe I am not using it correctly).

I use xmonad as my wm (it's a tiling wm, if that matters). When I click the fullscreen button the window maximizes, but I can still see the menu and the toolbars at the top and the bottom. Is there a way to hide those completely while the movie is playing? Forgive me if this is something trivial but I can't seem to figure it out by myself.

I also wanted to volunteer for a spanish translation though I can't be sure when will I have the time to complete it.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Fri Nov 14, 2008 5:30 pm    Post subject: Reply with quote

@i92guboj: yep, probably it's a wm issue, and i thank you for spotting out that thing.
There should be nothing to be done apart of click the fullscreen button, so it's not your fault.
I'll try to use that tiling manager to reproduce the bug and keep you informed.
By the way, translation through gambas is a speedy process, think about it ;-)
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Fri Nov 14, 2008 6:15 pm    Post subject: Reply with quote

kokoko3k wrote:
@i92guboj: yep, probably it's a wm issue, and i thank you for spotting out that thing.
There should be nothing to be done apart of click the fullscreen button, so it's not your fault.


Thanks. I tested it on flux and it works without any problem. I am using nvidia twinview, though I don't think it matters (as said, it runs ok in flux).

When I click that button I can see the window blinking for -I estimate- less than one second (the window disappears, and I can see my whole wallpaper). Then it reappears maxed filling my screen, but I can see all the controls.

Quote:
I'll try to use that tiling manager to reproduce the bug and keep you informed.


Xmonad is a pain to install if you don't use haskell for developing purposes, because it needs haskell and a bunch of other related stuff to run. Not to mention the pain of using a tiling wm if you have no previous experience with that :p So, if I can do anything to ease your bug hunting process, just let me know. For now, I have dumped the xprop output for the Xt7 window under xmonad, and you can get it here:

http://jesgue.homelinux.org/other-files/xt7-xmonad.txt

Quote:
By the way, translation through gambas is a speedy process, think about it ;-)


Yep, I installed gambas and I looked around a bit. It's amazingly easy and intuitive to use. So, if you agree I will start the translation to spanish, and send it to you once it's complete. I really see some potential in Xt7, I particularly like the chains concept. I've never seen an easier way to manage filters and stuff like that, congratulations about that. I really like it. Do you know if it's possible to use ladspa stuff in there? I am looking for a way to dynamically adjust the volume (in a way that actually works), so the occasional bomb/motorbike/screaming kung fu fighter doesn't hurt my ears.

Mplayer has some sort of support for ladspa, though sincerely I never managed to get this stuff working correctly. A big part of that is that I am not the most knowledgeable person about the ladspa stuff.

Another question, not an important one but it would be nice to know anyway. Is there any plan for qt4 in the future or is that a gambas thing? Forgive for the noobish question, but I never used gambas before.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Fri Nov 14, 2008 7:02 pm    Post subject: Reply with quote

Quote:

Xmonad is a pain to install if you don't use haskell for developing purposes, because it needs haskell and a bunch of other related stuff to run. Not to mention the pain of using a tiling wm if you have no previous experience with that :p So, if I can do anything to ease your bug hunting process, just let me know. For now, I have dumped the xprop output for the Xt7 window under xmonad, and you can get it here:

http://jesgue.homelinux.org/other-files/xt7-xmonad.txt

Well, maybe i will be luckier in installing Xmonad with arch linux, or in reproducing the same bug with another tiling wm like awesome, i've to investigate.


Quote:

If you agree I will start the translation to spanish, and send it to you once it's complete.

Of course, apart from people downloading it, i've not had much feedback on this project, you're welcome.

If you're going to translate it, there are a few thing you should know first.
- I already made an italian translation, you'll see;
if a string hasn't been translated to italian, it's because it could cause program malfunctionality (my fault, i'll correct)
- some comboboxes has values like: "keywork - option","keyword2 - Another option".
the first value (or word) in those boxes, the first space and " - " hasn't to be changed (again, follow the italian scheme)
- when you'll have done (or just now, to let people know), it would be fine if you'll post on the project forum ^_^

Quote:
Do you know if it's possible to use ladspa stuff in there? I am looking for a way to dynamically adjust the volume (in a way that actually works), so the occasional bomb/motorbike/screaming kung fu fighter doesn't hurt my ears.

In the past i experimented with mplayer+ladspa filters, until someone wrapped it out from mplayer ebuild, i don't know if they are back (you can still edit ebuild to re-enable them, i remember about a commented use flag), but as long as mplayer gives support via -af filter, you can use them.
This is the kind of thing i expected to see in "tips and tricks" section on xt7 forum ^_^
By the way, i didn't implemented yet a ladspa filter in xt7, so you have to use the "custom" audio filter in chains window, enable a slot and fill it with something like:
Code:
ladspa=fast_lookahead_limiter_1913:fastLookaheadLimiter:0:-16:0.8,ladspa=amp_1181:amp:16

which is a chain of ladspa filters which will compress and amplify back the sound.
...Save to a profile and live happy :) (i don't know if it actually works, and maybe it will introduce some A/V desync, but you can correct it)
Also take a look here:
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2004-December/031870.html
or here:
http://alsa.opensrc.org/index.php/Ladspa_(plugin)

If not ladspa, volnorm filter could help you!

Quote:
Another question, not an important one but it would be nice to know anyway. Is there any plan for qt4 in the future or is that a gambas thing? Forgive for the noobish question, but I never used gambas before.

Benoit Minisini (gambas author) is doing something, but i don't think it will happen shortly, he is a kde3.x fan and gtk component is still far to be complete.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Fri Nov 14, 2008 7:17 pm    Post subject: Reply with quote

Thanks for the detailed response. I will register in your forum and post a note there, just to let the people know and to prevent any useless duplication of effort. ;)
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Fri Nov 14, 2008 8:59 pm    Post subject: Reply with quote

It won't build for me. I'm running kde4 and this happens when I build gambas with and without the kde flag.
Code:

checking whether build environment is sane... yes                                                                                                               
checking for a thread-safe mkdir -p... /bin/mkdir -p                                                                                                             
checking for gawk... gawk                                                                                                                                       
checking whether make sets $(MAKE)... yes                                                                                                                       
checking for gambas2 binaries... Ok                                                                                                                             
checking for gambas2 components path... Ok                                                                                                                       
checking for gb.qt component... Ok                                                                                                                               
checking for gb.form component... Ok                                                                                                                             
checking for gb.desktop component... Ok                                                                                                                         
checking for gb.form.dialog component... Ok                                                                                                                     
checking for gb.form.mdi component... Ok                                                                                                                         
checking for gb.net component... Ok                                                                                                                             
checking for gb.qt.kde component... No                                                                                                                           
configure: error: Failed to find gb.qt.kde component !


Perhaps we need a few flags on the Xt7-Player ebuild.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Fri Nov 14, 2008 9:16 pm    Post subject: Reply with quote

You need kde-3. I also wanted to try it, as is looks really cool, but I refuse to install kdelibs-3 again as long smplayer does its job.
The gambas ebuild is buggy here, as it doesn't pull in kdelibs:3.5

Maybe better ebuild:
xt7-player-0.8.1.ebuild
Code:
# Copyright 1999-2008 Gentoo Foundation                                                   
# Distributed under the terms of the GNU General Public License v2                       
# $Header: $                                                                             

EAPI="2"

inherit eutils base

MY_PN="${PN/xt7-p/Xt7-P}"

DESCRIPTION="Yet another gui for mplayer."
HOMEPAGE="http://www.kde-apps.org/content/show.php?content=86197"
SRC_URI="http://wpage.unina.it/aorefice/xt7player_dist/${MY_PN}-src-${PV}.tar.gz"

RESTRICT="mirror"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="enca flac global-hotkeys"

RDEPEND=">=media-video/mplayer-1.0_rc2[enca?]
        >=dev-util/gambas-2.6[kde]
        flac? ( media-sound/audiotag )
        global-hotkeys? ( x11-misc/xbindkeys )"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${MY_PN}-${PV}"

DOCS="ChangeLog README"

src_install() {
        base_src_install
        doicon "Xt7-Player/Xt7-player.png"
        make_desktop_entry "${MY_PN}" "${MY_PN}" "${MY_PN}" "AudioVideo;Video;Player"
}

Might fail after above error message, as said. If it works, you could post it on b.g.o.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Mon Nov 17, 2008 11:30 am    Post subject: Reply with quote

Thanks for your suggestions, by now i've to deal with some uppercase letters, so here's the new ebuild:
Code:

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

MY_KDEAPPS="86197"

DESCRIPTION="Yet another gui for mplayer."
HOMEPAGE="http://xt7player.altervista.org/xt7forum/"
SRC_URI="http://wpage.unina.it/aorefice/xt7player_dist/${PN}-src-${PV}.tar.gz"

#enca is used to autoguess subtitles charset from language
#flac will pull in audiotag for flac tagging
#global-hotkeys will pull in xbindkeys to manage global hotkeys
IUSE="enca flac global-hotkeys"
LICENSE="GPL-2"
SLOT="0"
#RESTRICT="fetch"
KEYWORDS="~amd64 ~x86"

RDEPEND="kde-base/kdelibs:3.5
   >=media-video/mplayer-1.0_rc2[enca?]
        >=dev-util/gambas-2.6[kde]
        flac? ( media-sound/audiotag )
        global-hotkeys? ( x11-misc/xbindkeys )"

DEPEND="${RDEPEND}"


src_unpack() {
        unpack ${A}
        cd "${S}"
}

src_install() {
   emake DESTDIR="${D}" install || die "emake install failed."
        dodoc ChangeLog README
   #Create and install .desktop file:
      echo "[Desktop Entry]" >Xt7-Player/Xt7-Player.desktop
      echo "Encoding=UTF-8" >>Xt7-Player/Xt7-Player.desktop
      echo "Name=Xt7-Player" >>Xt7-Player/Xt7-Player.desktop
      echo "Comment=Yet another gui for mplayer" >>Xt7-Player/Xt7-Player.desktop
      echo "Exec=/usr/bin/Xt7-Player.gambas" >>Xt7-Player/Xt7-Player.desktop
      echo "Icon=/usr/share/pixmaps/Xt7-Player.png" >>Xt7-Player/Xt7-Player.desktop
      echo "Terminal=false" >>Xt7-Player/Xt7-Player.desktop
      echo "Type=Application" >>Xt7-Player/Xt7-Player.desktop
      echo "StartupNotify=true" >>Xt7-Player/Xt7-Player.desktop
      echo "Categories=Application;AudioVideo;Audio;Video;Player;" >>Xt7-Player/Xt7-Player.desktop
      echo "MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-theora;video/x-matroska;" >>Xt7-Player/Xt7-Player.desktop
      dodir /usr/share/applications
      insinto /usr/share/applications
      doins Xt7-Player/Xt7-Player.desktop
   #

   #Create and install pixmap file:
      cp Xt7-Player/Xt7-player.png Xt7-Player/Xt7-Player.png
      dodir /usr/share/pixmaps
      insinto /usr/share/pixmaps
      doins Xt7-Player/Xt7-Player.png
   #
}
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Mon Nov 17, 2008 11:41 am    Post subject: Reply with quote

* For that icon you could use
Code:
newicon "Xt7-Player/Xt7-player.png" "Xt7-Player.png"

(no need for cp, insinto, doins)
* You should specify
Code:
EAPI="2"

for the use dependencies
* I would put the .desktop file in ${FILESDIR}
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Mon Nov 17, 2008 12:21 pm    Post subject: Reply with quote

Ok, done the "newicon" part and added EAPI="2"
I didn't understand well what:
Quote:
* I would put the .desktop file in ${FILESDIR}

means.
Excuse me, but i'm a noob in writing ebuilds ^^.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Mon Nov 17, 2008 12:39 pm    Post subject: Reply with quote

kokoko3k wrote:
Ok, done the "newicon" part and added EAPI="2"
I didn't understand well what:
Quote:
* I would put the .desktop file in ${FILESDIR}

means.
Excuse me, but i'm a noob in writing ebuilds ^^.


There can be a directory called files/ under the ebuild directory, you can check that in many of the portage ebuilds. That directory can be referenced from the ebuild as "${FILESDIR}", and it is often used to store small files that are not shipped within the main upstream tarball, like patches, .desktop files and so on. It's usage is only recommended for small files (not to add a significant weight to portage), and your desktop file would fit into that category.

I guess he mean that you should take the contents of the .desktop file out of your ebuild, and put it into files/
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Mon Nov 17, 2008 1:47 pm    Post subject: Reply with quote

Got it, thanks.
Yep, i understand that all of that "echoes" are a bit lame, i already made a ('precompiled') .desktop file ready for the next release.
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Mon Nov 17, 2008 3:43 pm    Post subject: Reply with quote

i92guboj wrote:
I use xmonad as my wm (it's a tiling wm, if that matters). When I click the fullscreen button the window maximizes, but I can still see the menu and the toolbars at the top and the bottom. Is there a way to hide those completely while the movie is playing? Forgive me if this is something trivial but I can't seem to figure it out by myself.

I installed xmonad under archlinux, all default settings, started xt7 and hitted alt/space several times, until xt7 become the only application in the screen.
Then i clicked the fullscreen button and i wasn't be able to reproduce your observation, i didn't see upper and bottom panel as you said, and they correctly hide and show following mouse position.
Haven't tried with twinview.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Mon Nov 17, 2008 4:16 pm    Post subject: Reply with quote

It's strange. I have tried a clean default config and it didn't help.

So I guess that there might be some problem in my version of xmonad or maybe it's twinview what's causing the problem. I guess I will have to try without twinview just to check.

UPDATE: I did a quick check in Xephyr with xinerama disabled into it and I have the same problem. However later I will try disabling twinview truly.

I also attach the output of Xt7 when launched from a terminal window. The message that is repeated many times is spitted each time that I press the fullscreen button, I don't know if that tells you something or not, but I post it just in case.

Code:

$ Xt7-Player.gambas                                                                                                           

Xt7-Player 0.8.1
Usage: Xt7-Player.gambas [Options] Mediafile
Options:
.-append (add a media to the playlist)


Debug: MplayerClass: do_play(): commandline=mplayer -identify -slave -wid 27263551 "/tmp/gambas.1000/694/_AnImLoGo_.avi.tmp"         -sub '_NuLl_nUlL' -input conf=/tmp/FakeInput.conf:file=/home/i92guboj/.config/gambas/Xt7-Player/.InputPipes/Xt7Input-1638
Debug: PlaylistClass: Load() at: 17:37:54.702
Debug: PlaylistClass: Load() at: 17:37:54.704
Debug: Hotkeys: RestartXbindKeys()
Debug: Fmain: FullScreenBtn_MouseDown(): SplitterLayout=
Debug: Fmain: FullScreenBtn_MouseDown(): SplitterLayout=
Debug: Fmain: FullScreenBtn_MouseDown(): SplitterLayout=
Debug: Hotkeys: RestartXbindKeys()

_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Mon Nov 17, 2008 7:07 pm    Post subject: Reply with quote

Those debug informations don't help me, i bet the problem lies in a combination of xmonad+twinview and the way xt7 get information on where the mouse pointer is, this is the relevant code:
Code:

DIM AttachZone1 AS Boolean = (Mouse.screeny > Desktop.H - 16) 'bottom
DIM AttachZone2 AS Boolean = (Mouse.screeny = 0) 'top
DIM ReleaseZone1 AS Boolean = (Mouse.screeny < ControlFrame.screeny - 32) 'bottom vbox
DIM ReleaseZone2 AS Boolean = (Mouse.screeny > MainToolbar.Height + 32)  'top

When on a ReleaseZone, the panels should disappear, if you are a bit into language programming, you could change the code in the sub: TimerFullScreen_Timer() to look like:
Code:

DIM AttachZone1 AS Boolean = (Mouse.screeny > Desktop.H - 16) 'bottom
DIM AttachZone2 AS Boolean = (Mouse.screeny = 0) 'top
DIM ReleaseZone1 AS Boolean = (Mouse.screeny < ControlFrame.screeny - 32) 'bottom vbox
DIM ReleaseZone2 AS Boolean = (Mouse.screeny > MainToolbar.Height + 32)  'top
print "mouse.screeny= " & mouse.screeny
print "ControlFrame.screeny - 32= " & ControlFrame.screeny - 32
print "MainToolbar.Height + 32" & MainToolbar.Height + 32

That way, your console should output some interesting values which will reveal if the problem is the mouse position reads or the way xt7 hide those panels.

We could continue this discussion in private, if you wish.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Mon Nov 17, 2008 7:52 pm    Post subject: Reply with quote

First thing, thanks for all the assistance.

I have added the lines, but they didn't seem to do anything. So I searched the source for a string that was echoed each time I press the offending button. And added the lines below that part instead:

Code:

      IF NOT (Hsplit1.Layout LIKE "0,*") THEN SplitterLayout = Hsplit1.Layout
      PRINT "Debug: Fmain: FullScreenBtn_MouseDown(): SplitterLayout= " & SplitterLayout

PRINT "mouse.screeny= " & mouse.screeny
PRINT "ControlFrame.screeny - 32= " & ControlFrame.screeny - 32
PRINT "MainToolbar.Height + 32" & MainToolbar.Height + 32


This time I can see an additional line when I press that button. Which says:

Code:

mouse.screeny= 181


It seems that there's some problem with subsequent lines. A transient dialog window appears letting me know that there's a

Quote:

Type mismatch: wanted Number, got String instead.


I then have to kill Xt7 because when I click ok on that dialog the program seems to hang. I'll try to get a quick tour on gambas and see if I can find something.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Mon Nov 17, 2008 8:15 pm    Post subject: Reply with quote

Ok, I've modified the thing slightly and it seems to be doing the proper data type cast now, the output is these (I pressed it many times):

Code:

Debug: MplayerClass: do_play(): commandline=mplayer -identify -slave -wid 33555007 "/tmp/gambas.1000/14307/_AnImLoGo_.avi.tmp"         -sub '_NuLl_nUlL' -input conf=/tmp/FakeInput.conf:file=/home/i92guboj/.config/gambas/Xt7-Player/.InputPipes/Xt7Input-31484
Debug: PlaylistClass: Load() at: 21:11:44.419
Debug: PlaylistClass: Load() at: 21:11:44.427
Debug: Hotkeys: RestartXbindKeys()
Debug: Fmain: FullScreenBtn_MouseDown(): SplitterLayout=
mouse.screeny= 175
ControlFrame.screeny - 32= 458
MainToolbar.Height + 3260
Debug: Fmain: FullScreenBtn_MouseDown(): SplitterLayout=
mouse.screeny= 39
ControlFrame.screeny - 32= 638
MainToolbar.Height + 3260
Debug: Fmain: FullScreenBtn_MouseDown(): SplitterLayout=
mouse.screeny= 43
ControlFrame.screeny - 32= 638
MainToolbar.Height + 3260
Debug: Hotkeys: RestartXbindKeys()


I hope that is odd enough to confirm your theory.

This is the modified source I used:

Code:

    'Fmain.show
  ELSE '(fit fullscreen mode)
    'save layout for later restore
      IF NOT (Hsplit1.Layout LIKE "0,*") THEN SplitterLayout = Hsplit1.Layout
      PRINT "Debug: Fmain: FullScreenBtn_MouseDown(): SplitterLayout= " & SplitterLayout
PRINT "mouse.screeny= " & mouse.screeny
PRINT "ControlFrame.screeny - 32= " & (CInt(ControlFrame.screeny) - 32)
PRINT "MainToolbar.Height + 32" & (CInt(MainToolbar.Height) + 32)


The last three lines are the ones I added and above them you can see the context where I added them.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Tue Nov 18, 2008 8:32 am    Post subject: Reply with quote

Quote:
Type mismatch: wanted Number, got String instead.

Very, very strange: MainToolbar.Height does not return an integer (?)
I'll pm you :D
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Tue Nov 18, 2008 9:08 am    Post subject: Reply with quote

kokoko3k wrote:
Quote:
Type mismatch: wanted Number, got String instead.

Very, very strange: MainToolbar.Height does not return an integer (?)
I'll pm you :D


So it seems, or gambas somehow things otherwise for some reason. With an explicit type cast it seemed to work. I just did some guessing exercise there. I know nothing about gambas and I use vb only briefly on the faculty like 8 years ago. I responded the pm as well. ;)
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
kokoko3k
n00b
n00b


Joined: 06 May 2005
Posts: 72

PostPosted: Fri Nov 28, 2008 1:12 pm    Post subject: Reply with quote

gimpel wrote:
You need kde-3. I also wanted to try it, as is looks really cool, but I refuse to install kdelibs-3 again as long smplayer does its job.
The gambas ebuild is buggy here, as it doesn't pull in kdelibs:3.5

Kde:3.5 dependancy has been removed in 0.8.6, because i rewrote some components, while qt3 is still needed.
https://bugs.gentoo.org/237497
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 330
Location: Roma, Italy

PostPosted: Thu Nov 18, 2010 12:58 pm    Post subject: Reply with quote

i'm trying to emerge this media player... but there is no gambas ebuild!
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Fri Nov 19, 2010 4:29 am    Post subject: Reply with quote

Krog wrote:
i'm trying to emerge this media player... but there is no gambas ebuild!

There are gambas ebuilds at b.g.o.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 330
Location: Roma, Italy

PostPosted: Fri Nov 19, 2010 6:37 am    Post subject: Reply with quote

keenblade wrote:
Krog wrote:
i'm trying to emerge this media player... but there is no gambas ebuild!

There are gambas ebuilds at b.g.o.


Code:
 * Messages for package dev-util/gambas-2.7.0:

 * Please fix your ebuild to not inherit the deprecated qt3.eclass

which ebuild is the right one?
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Fri Nov 19, 2010 9:50 am    Post subject: Reply with quote

Krog wrote:

which ebuild is the right one?

I suggest to trying from the latest one (2.21.0). Read the comment#37. Also don't forget the patches at comment #39.
Anyway, I am trying to install it, too. But without kde3 things if possible. I haven't succeeded, yet, with the following error:
Code:

gbi2: warning: component gb.xml.rpc not found

Edit: gambas-2.21.0 emerges with "-xml" useflag fine. And gives the "deprecated qt3.eclass" message, too.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum