Changes between Version 3 and Version 4 of Contribute
- Timestamp:
- 04/14/09 11:06:27 (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Contribute
v3 v4 21 21 ==== Overview ==== 22 22 23 All of Deejayd's source code is located in the [source: src/ srcdirectory]. You'll find in there :23 All of Deejayd's source code is located in the [source:/ root directory]. You'll find in there : 24 24 * packaging for some distributions 25 25 * translations … … 36 36 This module holds all of {{{deejayd}}}'s fonctionnality. 37 37 38 First, there is an [source: src/deejayd/interfaces.py interface] which aims at being shared among the client library and the core facade used in the server.38 First, there is an [source:deejayd/interfaces.py interface] which aims at being shared among the client library and the core facade used in the server. 39 39 40 40 The mediadb and the database work together to populate some relationnal database tables according to you media files. … … 44 44 Then there are the Twisted factories for both the net protocol and the web interface. 45 45 46 Those two manipulate [source: src/deejayd/core.py the core facade] which is a frontend to all those components.46 Those two manipulate [source:deejayd/core.py the core facade] which is a frontend to all those components. 47 47 48 48 ==== The {{{pytyxi}}} module ==== 49 49 50 Those are the Python {{{ctypes}}} bindings to {{{xine-lib}}}. To module holds {{{ctypes}}} declarations of the used C functions ({{{ src/pytyxi/_*.py}}} modules) and object-oriented interfaces to {{{xine-lib}}}. See the bottom of [source:src/pytyxi/xine.py the xine bindings] for example usage and [source:src/deejayd/player/xine.py the stuff that glues this to deejayd] for an advanced usage.50 Those are the Python {{{ctypes}}} bindings to {{{xine-lib}}}. To module holds {{{ctypes}}} declarations of the used C functions ({{{pytyxi/_*.py}}} modules) and object-oriented interfaces to {{{xine-lib}}}. See the bottom of [source:pytyxi/xine.py the xine bindings] for example usage and [source:deejayd/player/xine.py the stuff that glues this to deejayd] for an advanced usage. 51 51 52 52 ==== The test suite ==== … … 58 58 }}} 59 59 60 It accepts some options to narrow down which tests it is to run. Those options are documented in the [source: src/tests.py test suite launcher source].60 It accepts some options to narrow down which tests it is to run. Those options are documented in the [source:tests.py test suite launcher source]. 61 61 62 Each test module is a python file named {{{test_*.py}}} which sits in the [source: src/testdeejayd testdeejayd directory]. There are a few helpers for building tests, such as launching a test server or building dummy media files to test the library on real data.62 Each test module is a python file named {{{test_*.py}}} which sits in the [source:testdeejayd testdeejayd directory]. There are a few helpers for building tests, such as launching a test server or building dummy media files to test the library on real data. 63 63 64 There is a special [source: src/testdeejayd/coreinterface.py test module which ensures that the deejayd core and the client library share the same interface (API)]. This way, if you for for instance a python GTK client to deejayd, it can become a full blown media player by only changing one line of code.64 There is a special [source:testdeejayd/coreinterface.py test module which ensures that the deejayd core and the client library share the same interface (API)]. This way, if you for for instance a python GTK client to deejayd, it can become a full blown media player by only changing one line of code. 65 65 66 66 ==== The net protocol documentation ==== 67 67 68 The Deejayd net protocol documentation is generated from the [source: src/deejayd/net/commandsXML.py commands source] using a simple [source:src/docs.py documentation generation script].68 The Deejayd net protocol documentation is generated from the [source:deejayd/net/commandsXML.py commands source] using a simple [source:docs.py documentation generation script]. 69 69 70 70 === Maemo source ===
