Discussion:
[Gtk-sharp-list] MPlayer Slave Mode in GTK#
Finalspace
2011-12-13 08:49:38 UTC
Permalink
Hi,

i am trying to create an MPlayer Frontend, which was working fine in VStudio
2010 (C#) but with GTK# it does not. I am rewriting the application i was
working now in Mono.

There are several issues am facing:

- First: Passing the window handle from a GTK# window as -slave parameter
does simply not work. With Windows Forms it worked, maybe i am missing
something?

Here are the simple code:



- Second: Is a bit compilicated

--
View this message in context: http://mono.1490590.n4.nabble.com/MPlayer-Slave-Mode-in-GTK-tp4189547p4189547.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
Finalspace
2011-12-13 08:57:52 UTC
Permalink
Has been solved with Sockets.

--
View this message in context: http://mono.1490590.n4.nabble.com/MPlayer-Slave-Mode-in-GTK-tp4189547p4189572.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
Andres G. Aragoneses
2011-12-13 10:46:37 UTC
Permalink
Post by Finalspace
Hi,
i am trying to create an MPlayer Frontend, which was working fine in VStudio
2010 (C#) but with GTK# it does not. I am rewriting the application i was
When you say VisualStudio, I guess you mean "Windows.Forms" or WPF?
Post by Finalspace
working now in Mono.
- First: Passing the window handle from a GTK# window as -slave parameter
does simply not work. With Windows Forms it worked, maybe i am missing
something?
As you seem to already have resolved the issue, may I ask a more general
question? Are you sure you want to start working on such an endeavor? I
mean, there is already a pretty good and existing GTK# mediaplayer
frontend out there: Banshee. You could just create an MPlayer backend
along with the GStreamer one, for your specific needs?

Maybe this is not the right forum to discuss this anyway :)

Cheers
Finalspace
2011-12-13 19:45:30 UTC
Permalink
Normally i use XBMC media center, but XBMC is really slow and in the current
state really buggy.

But the main reason to write a frontend myself is, the media content i have
is too specific and there are no good addons for the existing frontends.

I tried writing an addon for xbmc, but this was a pain in the ass and in the
end i decided to write a frontend myself.

Its not really that hard to write a frontend for mplayer with C#, i have
done it already and currently making a simple user interface for that which
handles my specific media content.

Also i checked existing banshee extensions and there was no ones which suit
my needs.

--
View this message in context: http://mono.1490590.n4.nabble.com/MPlayer-Slave-Mode-in-GTK-tp4189547p4191701.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

Loading...