Super-project for the music playing daemon Marietje
Python Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 92 commits behind marietje:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
berthad @ 3de9703
maried @ 7ed8346
mirte @ dfad3bf
pijsmarietje @ 62eb550
py-bertha @ 96c1515
py-joyce @ d19b1d0
pymarietje @ d11ea26
sarah @ 8ef9f59




  1. Clone marietje and all subpackages.

    $ git clone git://
    $ git submodule sync
    $ git submodule update
  2. Install and run MongoDB. MongoDB is used to store metadata.

    $ echo "deb dist 10gen" >> /etc/apt/sources.list
    $ apt-key adv --keyserver --recv 7F0CEB10
    $ apt-get update
    $ apt-get install mongodb-10gen
    $ echo "bind_ip=" >> /etc/mongodb.conf
    $ service mongodb restart

    Nota bene Everyone on the local machine has total access to the mongo server.

  3. Install various python packages.

    $ apt-get install python-pymongo \
                      python-gst0.10 \
                      python-gtk2 \
                      python-yaml \
    $ easy_install poster
  4. Install GStreamer and its plugins. GStreamer is used to play media.

    $ apt-get install gstreamer0.10-ffmpeg \
                      gstreamer0.10-fluendo-mp3 \
                      gstreamer0.10-plugins-bad \
                      gstreamer0.10-plugins-bad-multiverse \
                      gstreamer0.10-plugins-base \
                      gstreamer0.10-plugins-good \
  5. Compile and run berthad. berthad will store the media files.

    $ apt-get install libglib2.0-dev
    $ cd berthad
    $ make
    $ mkdir data tmp
    $ ./berthad-vfs 10819 ./data ./tmp

    Nota bene Everyone on the local machine has total access to the bertha server.

  6. Configure and host pijsmarietje.

    $ cd /srv/default/htdocs # or *your* webdocs root
    $ ln -s /path/to/pijsmarietje pijsmarietje
    $ cp pijsmarietje/config.js{.example,}
    $ vi pijsmarietje/config.js
  7. Add a new admin user

    $ mongo
    > use marietje
    > db.users.insert({_id:'admin', n:"Admin", l:5, a:null, p:"md5ofpassword"})
  8. Set environment, create configuration and run maried.

    $ source # sets PATH and PYTHONPATH
    $ cp py/maried/examples/zuid.mirte mymariedconfig.mirte
    $ vi mymariedconfig.mirte
    $ mirte mymariedconfig