Amarok/Archives/HowToDj

From KDE Community Wiki

To DJ for it, perform the following steps. You'll need to obtain the password and permission of Harald Sitter.


  • most likely you need a kernel with realtime patch or at least tuned to low latancy
    • on kubuntu:
sudo apt-get install linux-image-lowlatency
sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
sudo su -c 'echo @audio - memlock 250000 >> /etc/security/limits.conf'
sudo su -c 'echo @audio - nice -10 >> /etc/security/limits.conf'
don't forget to install restricted modules if necessary!!!!
  • reboot
  • install idjc and it's deps
    • on kubuntu:
sudo echo "deb http://aplg.kollide.net/ubuntu feisty main" > /etc/apt/sources.list
wget http://aplg.kollide.net/ubuntu/apachelogger-repo.gpg
sudo apt-key add apachelogger-repo.gpg
rm apachelogger-repo.gpg
sudo apt-get update
sudo apt-get install idjc
  • start qjackctl
  • /usr/bin/jackd -v -R -dalsa -r44100
    • if this doesn't work out for you... use qjackctl to tune the settings
  • start idjc
  • click the server button
Type:   | Icecast 2             |v |
Host:   | audio.radioamarok.com    |
Port:   | 8000                   |||
Mount:  | /NICK.ogg                |
Login:  | source                   |  
Pass:   | ASK HARALD               |
Format: | ogg                   |v |

DJ Name:     | Radio Amarok                                   |
Listen URL:  | http://audio.radioamarok.com:8000/nick.ogg.m3u |
Description: | DJ NICK                                        |
Genre:       | WhatEver                                       |

[x] Make Public

click --> | Server Connect | <-- click

  • close
  • fill the playlists
  • if the bars are hopping after pressing play everything works fine and you're most likely streaming
  • the rest of the GUI is left up to your imagination...
  • there is also documentation on the idjc site