Mailing List Archive

New Plugin MythPython and two new MythUITypes for libmythui
Dear list,

l am developing a plugin for MythTV which I call MythPython.
MythPython is a plugin, which allows you to create other
gui-based plugins for mythtv using the script-language python.
This plugin makes it possible to create much easier plugins to watch for
example videos from youtube or form the apple trailer database.
XBoxMediaCenter shows us, how successful such a plugin can be:
http://www.xbmcscripts.com has a gigantic collection of user-contibuted
scripts for many different tasks.

MythPython is totally based on libmythui (see task #12) and has two new
MythUITypes on board (which are in an early stage at this point):
MythUIManagedTreeList and MythUILineEdit.

To build MythPython you need cmake, python with development files and MythTV
SVN. (MythTV 0.20 may also work, but is not tested).

Download Mirrors:
> http://rapidshare.com/files/56810825/mythpython.tar.bz2
> http://www.megaupload.com/de/?d=YGY7OYDD
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
Soo. it would be able to run python programs like Miro (formerly
democracy player) as a plugin to myth?
> Dear list,
>
> l am developing a plugin for MythTV which I call MythPython.
> MythPython is a plugin, which allows you to create other
> gui-based plugins for mythtv using the script-language python.
> This plugin makes it possible to create much easier plugins to watch for
> example videos from youtube or form the apple trailer database.
> XBoxMediaCenter shows us, how successful such a plugin can be:
> http://www.xbmcscripts.com has a gigantic collection of user-contibuted
> scripts for many different tasks.
>
> MythPython is totally based on libmythui (see task #12) and has two new
> MythUITypes on board (which are in an early stage at this point):
> MythUIManagedTreeList and MythUILineEdit.
>
> To build MythPython you need cmake, python with development files and MythTV
> SVN. (MythTV 0.20 may also work, but is not tested).
>
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
Not directly. You have to write a python layer to access the function written
in Miro. Btw: thx for the info. I try if I can integrate some functions of
miro into MythTV.
Here is a sample of a simple Hello World Plugin written in MythPython:
> testdialog = MythScriptCustomThemedDialog();
> testdialog.show();
> testText=MythScriptUITextType(testdialog)
> testText.move(0,0,300,300);
> testText.setText("Hello World");
> testText.show();

On Wednesday 19 September 2007 19:06:01 hendrixski wrote:
> Soo. it would be able to run python programs like Miro (formerly
> democracy player) as a plugin to myth?
>
> > Dear list,
> >
> > l am developing a plugin for MythTV which I call MythPython.
> > MythPython is a plugin, which allows you to create other
> > gui-based plugins for mythtv using the script-language python.
> > This plugin makes it possible to create much easier plugins to watch for
> > example videos from youtube or form the apple trailer database.
> > XBoxMediaCenter shows us, how successful such a plugin can be:
> > http://www.xbmcscripts.com has a gigantic collection of user-contibuted
> > scripts for many different tasks.
> >
> > MythPython is totally based on libmythui (see task #12) and has two new
> > MythUITypes on board (which are in an early stage at this point):
> > MythUIManagedTreeList and MythUILineEdit.
> >
> > To build MythPython you need cmake, python with development files and
> > MythTV SVN. (MythTV 0.20 may also work, but is not tested).


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
On Wednesday 19 September 2007 12:39:50 pm Johannes Leupolz wrote:
> Dear list,
>
> l am developing a plugin for MythTV which I call MythPython.
> MythPython is a plugin, which allows you to create other
> gui-based plugins for mythtv using the script-language python.
> This plugin makes it possible to create much easier plugins to watch for
> example videos from youtube or form the apple trailer database.
> XBoxMediaCenter shows us, how successful such a plugin can be:
> http://www.xbmcscripts.com has a gigantic collection of user-contibuted
> scripts for many different tasks.
>
> MythPython is totally based on libmythui (see task #12) and has two new
> MythUITypes on board (which are in an early stage at this point):
> MythUIManagedTreeList and MythUILineEdit.

Looks like a good start, and I do like that it's based on libmythui rather
than the old code. =)

However, you're porting over the old UIManagedTreeListType, correct? I would
really prefer it if the basic tree type in libmythui were more like the old
UIListTreeType (and so the new code would live on top of MythListButton),
instead. The API's much nicer/easier to use, and the intention was to
deprecate the old ManagedTreeListType and not port that over to mythui.

Isaac
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
On Wednesday 19 September 2007 22:39:58 Isaac Richards wrote:
The UIListTreeType was my next target to port. But my MythUITypes are really
very buggy at this state of development. I tried to get viewable results as
fast as possible. The UIManagedTreeListType was in my eyes more attractive to
port, because it is used in many parts of MythTV. I rewrote much of its code
but tried to keep its api. MythUIType has many disadvantages if you want to
delete one child. I want to finish MythUILineEdit first. Is it still your
main idea to port to the new MythUIType? I like how to use it, but it isn't
easy to reimplement UITypes at places, where QT already does a really good
job and to get results, where a new MythUITypes would do a job as good as QT
from a quality point of view. I would appreciate any suggestions how to
continue my work.

On Wednesday 19 September 2007 22:39:58 Isaac Richards wrote:
> However, you're porting over the old UIManagedTreeListType, correct? I
> would really prefer it if the basic tree type in libmythui were more like
> the old UIListTreeType (and so the new code would live on top of
> MythListButton), instead. The API's much nicer/easier to use, and the
> intention was to deprecate the old ManagedTreeListType and not port that
> over to mythui.
>
> Isaac
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
Johannes Leupolz wrote:
> Dear list,
>
> l am developing a plugin for MythTV which I call MythPython.
> MythPython is a plugin, which allows you to create other
> gui-based plugins for mythtv using the script-language python.

That's great news! Marion Limonciello created mythbuntu-control-centre
[1] to make it easier to configure Mythbuntu. Since it's written in
Python, it might be possible to recreate some of the functionality using
your Python bindings to integrate it better with MythTV.



[1] http://www.mythbuntu.org/image/tid/1

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
Johannes Leupolz wrote:
> l am developing a plugin for MythTV which I call MythPython.

Just a small message of support. This would really help create lots of
funky little plugins for Myth which I think would really help :)

Col


--

+------------------------+
| Colin Guthrie |
+------------------------+
| myth(at)colin.guthr.ie |
| http://colin.guthr.ie/ |
+------------------------+
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
Johannes Leupolz wrote:
> Dear list,
>
> l am developing a plugin for MythTV which I call MythPython.
> MythPython is a plugin, which allows you to create other
> gui-based plugins for mythtv using the script-language python.
> This plugin makes it possible to create much easier plugins to watch for
> example videos from youtube or form the apple trailer database.
> XBoxMediaCenter shows us, how successful such a plugin can be:
> http://www.xbmcscripts.com has a gigantic collection of user-contibuted
> scripts for many different tasks.
>
> MythPython is totally based on libmythui (see task #12) and has two new
> MythUITypes on board (which are in an early stage at this point):
> MythUIManagedTreeList and MythUILineEdit.
>
> To build MythPython you need cmake, python with development files and MythTV
> SVN. (MythTV 0.20 may also work, but is not tested).
>
> Download Mirrors:
>
>> http://rapidshare.com/files/56810825/mythpython.tar.bz2
>> http://www.megaupload.com/de/?d=YGY7OYDD
>>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
is there a web site?
could we use the wiki as a place to document it, post scripts, etc?
i had always wanted to write something like this, but never had the
time/skill/...

keep up the good work.
--
simon
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
>> l am developing a plugin for MythTV which I call MythPython.
>> MythPython is a plugin, which allows you to create other
>> gui-based plugins for mythtv using the script-language python.
>>
> That's great news! Marion Limonciello created mythbuntu-control-centre
> [1] to make it easier to configure Mythbuntu. Since it's written in
> Python, it might be possible to recreate some of the functionality using
> your Python bindings to integrate it better with MythTV.
>


Xbox Media Center has a wealth of creativity because people can write
python scripts (which are easy) and make really amazing things.
Lowering the barrier of entry for contributors has made it a success
story. Problem is Microsoft has deemed the project illegal, and they
work hard to make sure that every firmware update destroys peoples mods.

MythPython would solve this by allowing for people to make amazing mods
to mythtv just as easily as they can for the amazing xboxMC project, but
won't drive those contributors underground, and won't destroy their
stuff with each firmware update. We would start to see people defect
from the xboxMC project to "Mythtv Media Center".

The next problem xbox_media_center has is the difficulty of installing
this crap. Nobody wants to hack a proprietary box and then copy and
paste python scripts just to add new features. What if there were a
control centre through which anybody (even the technologically
challenged) could click a button and install their choice of the latest
hot mods?

I think the mythbuntu-Control-Centre (with a little work) can do that.
It has the ease of install of Ubuntu, and it can already enable/disable
existing plugins plus mythstream. In the future it will have to expand
support to the better unofficial plugins that currently exist plus for
mature mods from mythpython.


To summarize:
xboxMC = ease of creating new mods
MythPython = freedom and ease to create mods

XboxMC = hard for non-mod'ers to use
mythBuntu = easy for non-moders to use

Mythpython + mythBuntu = Wealth of new mods available for anybody to use

I hope somebody else who's thinking about this is jumping up and down
with excitement as well.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
The whole reason Microsoft would have deemed XBMC illegal is the very
fact that it needs _STOLEN_ software to build it. You can't get the
XDK from legitimate sources unless you're an accredited MS software
developer. That's why XBMC is illegal. There's also the fact that you
can only run XBMC on an xbox with hacked firmware, something else
which isn't 100% legal either.

I'm going to stay out of the whole python vs 'proper code' debate, but
I don't think this is going to lower the bar for contributors very
much at all.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
On 9/22/07, Justin Hornsby <justin.hornsby@gmail.com> wrote:
> The whole reason Microsoft would have deemed XBMC illegal is the very
> fact that it needs _STOLEN_ software to build it. You can't get the
> XDK from legitimate sources unless you're an accredited MS software
> developer. That's why XBMC is illegal. There's also the fact that you
> can only run XBMC on an xbox with hacked firmware, something else
> which isn't 100% legal either.

That's not true. I have no hardware modchip or hacked firmware
(Softmod), yet I run XBMC as my dashboard.

Oh, and XBMC can also be compiled under Windows and Linux without
using a "Stolen XDK".

> I'm going to stay out of the whole python vs 'proper code' debate, but
> I don't think this is going to lower the bar for contributors very
> much at all.

I don't think this will help much either. Unless it's made compatible
with XBMC, or some other engine like it.
--
Robert "Anaerin" Johnston
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: New Plugin MythPython and two new MythUITypes for libmythui [ In reply to ]
On Sat, Sep 22, 2007 at 04:05:52PM -0400, hendrixski@storsint.com wrote:
> The next problem xbox_media_center has is the difficulty of installing
> this crap. Nobody wants to hack a proprietary box and then copy and
> paste python scripts just to add new features. What if there were a
> control centre through which anybody (even the technologically
> challenged) could click a button and install their choice of the latest
> hot mods?

And at this juncture, as one of the people who dives into the user
support pool, I'd like to recommend to whomever might implement this
good sub-idea that they make sure there's a knob to temporarily turn
off any such script (or at least all installed scripts) so that people
providing such support can make sure of what they're debugging by
remote control. :-)

Cheers,
-- jra
--
Jay R. Ashworth Baylink jra@baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev