Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

xt7-player

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
35 posts
  • 1
  • 2
  • Next
Author
Message
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

xt7-player

  • Quote

Post by kokoko3k » Fri Nov 14, 2008 10:49 am

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 ... hp?f=7&t=2
Support forums:
http://xt7player.homelinux.org/xt7forum
Ebuild here:
http://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.
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Fri Nov 14, 2008 4:11 pm

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.
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Fri Nov 14, 2008 5:30 pm

@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 ;-)
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Fri Nov 14, 2008 6:15 pm

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.
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
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.
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Fri Nov 14, 2008 7:02 pm

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.

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 ^_^
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: Select all

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/mpl ... 31870.html
or here:
http://alsa.opensrc.org/index.php/Ladspa_(plugin)

If not ladspa, volnorm filter could help you!
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.
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Fri Nov 14, 2008 7:17 pm

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. ;)
Top
loftwyr
l33t
l33t
User avatar
Posts: 970
Joined: Wed Dec 29, 2004 2:51 am
Location: 43°38'23.62"N 79°27'8.60"W

  • Quote

Post by loftwyr » Fri Nov 14, 2008 8:59 pm

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

Code: Select all

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.
Top
gimpel
Advocate
Advocate
User avatar
Posts: 2720
Joined: Fri Oct 15, 2004 10:08 am
Location: Munich, Bavaria
Contact:
Contact gimpel
Website

  • Quote

Post by gimpel » Fri Nov 14, 2008 9:16 pm

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: Select all

# 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
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Mon Nov 17, 2008 11:30 am

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

Code: Select all

# 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
	#
}
Top
gimpel
Advocate
Advocate
User avatar
Posts: 2720
Joined: Fri Oct 15, 2004 10:08 am
Location: Munich, Bavaria
Contact:
Contact gimpel
Website

  • Quote

Post by gimpel » Mon Nov 17, 2008 11:41 am

* For that icon you could use

Code: Select all

newicon "Xt7-Player/Xt7-player.png" "Xt7-Player.png"
(no need for cp, insinto, doins)
* You should specify

Code: Select all

EAPI="2"
for the use dependencies
* I would put the .desktop file in ${FILESDIR}
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Mon Nov 17, 2008 12:21 pm

Ok, done the "newicon" part and added EAPI="2"
I didn't understand well what:
* I would put the .desktop file in ${FILESDIR}
means.
Excuse me, but i'm a noob in writing ebuilds ^^.
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Mon Nov 17, 2008 12:39 pm

kokoko3k wrote:Ok, done the "newicon" part and added EAPI="2"
I didn't understand well what:
* 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/
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Mon Nov 17, 2008 1:47 pm

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.
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Mon Nov 17, 2008 3:43 pm

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.
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Mon Nov 17, 2008 4:16 pm

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: Select all

$ 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()
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Mon Nov 17, 2008 7:07 pm

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: Select all

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: Select all

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.
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Mon Nov 17, 2008 7:52 pm

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: Select all

      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: Select all

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
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.
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Mon Nov 17, 2008 8:15 pm

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: Select all

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: Select all

    '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.
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Tue Nov 18, 2008 8:32 am

Type mismatch: wanted Number, got String instead.
Very, very strange: MainToolbar.Height does not return an integer (?)
I'll pm you :D
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Tue Nov 18, 2008 9:08 am

kokoko3k wrote:
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. ;)
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Fri Nov 28, 2008 1:12 pm

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.
http://bugs.gentoo.org/237497
Top
Krog
Guru
Guru
User avatar
Posts: 355
Joined: Tue Jun 26, 2007 5:00 pm
Location: Roma, Italy

  • Quote

Post by Krog » Thu Nov 18, 2010 12:58 pm

i'm trying to emerge this media player... but there is no gambas ebuild!
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Nov 19, 2010 4:29 am

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"
Top
Krog
Guru
Guru
User avatar
Posts: 355
Joined: Tue Jun 26, 2007 5:00 pm
Location: Roma, Italy

  • Quote

Post by Krog » Fri Nov 19, 2010 6:37 am

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: Select all

 * 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?
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Fri Nov 19, 2010 9:50 am

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: Select all

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"
Top
Post Reply

35 posts
  • 1
  • 2
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic