pombreda / pymei Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pymei
License: Other
Automatically exported from code.google.com/p/pymei
License: Other
Installation ============ This project uses distutil to install the package. This should work on python 2.x, but has only been tested on 2.5+. Please let us know if you have problems with installing the package. Installation is not required to use it; you can merely run `./pymei` to start the program. The description below is verbatim what distutil's documentation will tell you, see [distutil's manual](http://docs.python.org/install/) for more information. Dependencies ------------ The project depends on two packages: * [PyGame](http://www.pygame.org) * [PyYaml](http://www.pyyaml.org) Some plugins have dependencies: * For the XKCD-plugin, you need [BeautifulSoup](http://www.crummy.com/software/BeautifulSoup/). * The LIRC input plugin requires [pylirc](http://pylirc.mccabe.nu/) Globally -------- Just run a quick sudo python setup.py install Or omit `sudo` if you're already administrator. Locally ------- To install in your home dir instead of globally, use python setup.py install --home=~ Or possibly python setup.py install --home=~/pymei to not clutter your homedir too much. Configuration ============= In the source dir, there's a pymei.config. setup.py will install this to $prefix/etc/pymei.config (/etc/pymei.config for a global installation), and when you start pymei it will look for it three places. In the current directory (./pymei.config), in your home directory (~/.pymei/config) or in /etc/pymei.config. The first file found will be used. Usually you'll copy /etc/pymei.config to ~/.pymei/config, by doing something like: mkdir ~/.pymei cp /etc/pymei.config ~/.pymei/config Then edit this file using your favorite text editor. The text file is in [JSON](http://json.org) format, and should be fairly human readable. For information about the various configuration options, see our wiki, specifically [this page](http://code.google.com/p/pymei/wiki/Configuration). Plugins ======= Some plugins are installed by default, typically in /usr/lib/python?.?/site-packages/mei/plugins/. These are the *stock plugins*, but you are encouraged to create your own or use user-contributed ones. These go into `~/.pymei/plugins/`, and all the plugins in those two dirs are loaded, but the ones in your `~/.pymei/plugins/` will get priority. See the information in Configuration on how to load/use plugins, or possibly the plugin documentation. :) Reporting problems ================== If you experience a bug or a problem, check if anyone has experienced similar issues [on this page](http://code.google.com/p/pymei/issues/list), and either add your voice to the ones already crying out by posting a comment to the existing issue or add a new issue to the tracker. Contact us ========== You can find the PyMei homepage at [pymei.org](http://pymei.org) and the Google Code project is located at [this link](http://code.google.com/p/pymei/). We accept general email on [[email protected]](mailto:[email protected]), questions on and contributions of themes to [[email protected]](mailto:[email protected]), and questions about donations to ([email protected])(mailto:[email protected]].
If the setting separate_window under mplayer is false, and fullscreen under
application is true, then mplayer doesn't receive the keyboard input, pymei
does.
This renders mplayer unusable in this scenario!
Original issue reported on code.google.com by [email protected]
on 26 Nov 2008 at 10:49
When using large fonts in a theme, the file list becomes way wider than the
screen resolution is.
Got it working with the following fix:
~/pymei-dev/mei/gui$ svn diff filebrowser.py
Index: filebrowser.py
===================================================================
--- filebrowser.py (revision 59)
+++ filebrowser.py (working copy)
@@ -4,7 +4,7 @@
import pygame
-from mei import dirlist, theme, datafiles
+from mei import dirlist, theme, datafiles, config
from mei.gui import util, widgets
class FileBrowser(widgets.Window):
@@ -58,6 +58,12 @@
height += self._font.get_linesize()
width += self._scrollbar.size()[0]
+
+ # prevent the list to go over the screen borders
+ resolutionWidth = config.get('application/resolution')[0]
+
+ if width > resolutionWidth:
+ width = resolutionWidth
return (width, height)
Original issue reported on code.google.com by [email protected]
on 14 Dec 2008 at 2:12
What steps will reproduce the problem?
1. Start pymei with default theme.
What is the expected output? What do you see instead?
You expect a beautiful screen, and see something horrendous.
Original issue reported on code.google.com by [email protected]
on 25 Nov 2008 at 7:38
The attached patch will use /usr/bin/env instead to locate the python
interpreter.
Original issue reported on code.google.com by [email protected]
on 26 Nov 2008 at 10:05
Attachments:
The program is missing a plugin to download & view XKCD comics.
Original issue reported on code.google.com by [email protected]
on 26 Nov 2008 at 12:16
The border width argument is not passed to pygame.draw.lines()
See the attached file for patch
Thanks,
Madis
Original issue reported on code.google.com by [email protected]
on 14 Dec 2008 at 4:00
Attachments:
Attached is a patch to a FreeBSD port, which can be used by any
freebsd-user to install PyMei. Putting it in the official ports repository
would be an idea, but I don't feel like being responsible for maintaining it :)
Original issue reported on code.google.com by [email protected]
on 5 Dec 2008 at 11:52
Attachments:
The attached patch makes sure pymei searches system paths for config, as
well as prints out a message if it can't find the config, instead of dying
with a python trace :)
Original issue reported on code.google.com by [email protected]
on 5 Dec 2008 at 11:50
Attachments:
If the setting separate_window under mplayer is false, then mplayer
stretches the video to fit, possibly changing the aspect ratio.
This is bad, it should preferrably (or configurably) use the original
aspect ratio.
Original issue reported on code.google.com by [email protected]
on 26 Nov 2008 at 10:50
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.