[MPlayer-dev-eng] [PATCH] GUI and playtree - Just sending to show the work in progress ...

Fabian Franz FabianFranz at gmx.de
Thu Jan 30 03:27:41 CET 2003


Hi,

just sending this patch to not loose this data ;-), to be able to work in 
school on it, and to show you that I not only said, hm I'll look into it, but 
did sth ...

It almost works ... (However, because it always appends now, pl can get very 
big ;-))

I do gmplayer ~/test.pl and it adds them to gui-pl and I can play with it ...

However test.pl remains in list, and this is one problem ... If I go back, 
it'll just add the entrys again .. I think GUI-PL needs for that a function: 
"remove current entry"

Btw. Playlistcode is really not easy to understand, I had to revert almost all 
of my first try, because it was all so messed up (experimenting mesed up my 
code) ...

But as I rewrote it, 2nd try, you get now is much more clean ... :-))

I can also do: gmplayer ~/*.avi and it adds them ...

And I can do:

gmplayer and use the playlist or load a playlist or some file or, whatever 
:-))

There is one strage error, (that will hopefully fix itself, by fine-tweaking 
GUI-PL-Code): If I stop the movie, then select a playlist in the gui-playlist 
and then click on play, it adds the contents twice ...

Hm ...

Ok, another fine-tweaking is needed, as one wants to play not the first entry 
of playlist, but the last one, one added :-)). Also GUI-Finetweaking ...

Ok, so long ...

cu

Fabian

PS: Another issue is, what about programs like an plugin, that wants to use 
the gui (an minimalized, whose windows cannot be moved btw.) but doesn't want 
to mess up the users PL, how should this be resolved ? (if it uses gui, it 
has to use Gui's PL else it won't work ...)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-gui-pt.diff
Type: text/x-diff
Size: 3608 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030130/ef02ce2d/attachment.diff>


More information about the MPlayer-dev-eng mailing list