Ultimate solution for streaming radio with IDJC on CrunchBang Linux 10 and Debian Squeeze

After a weekend of struggling with configurations, dependencies, repositories and bugs of different sizes, my ectoplasm mind has suddenly lit up and I managed to solve the perennial problem that users of Debian 6 y Crunch Bang 10 with the only decent and powerful program on Linux for internet radio, streaming and podcasting: Internet DJ Console (IDJC).

The problem I am referring to is that once IDJC 0.8.3 has been installed via repositories correctly (with all its dependencies) en Debian 6 y Crunch Bang Linux 10 when trying to connect to our server to transmit (local or external, icecast or shoutcast) you get the error message that you cannot connect, try 3 more times and suddenly IDJC closes unexpectedly (A total shame in Linux, that the programs crash or crash as loudly as in any vulgar version of Windows ...)

Consulting hundreds of forums I even found out that this bug (error) had already been reported to Debian programmers and on the CrunchBang forums (CrunchBang #! Linux is derived from the "stable" -squezee- and "testing" versions -wheezy, sid- of Debian, so this bug also affects it) but they are still in the process of solving it for IDJC versions 0.8.7 and 0.8.8, leaving those who depend on version 0.8.3, the only one available and that can still be installed from the repository 'debian main -stable '.

I know what you are thinking: Why don't we install the Latest IDJC .deb package from the official Debian website? » Well, for the simple reason that when installing it, it throws us the error message that it lacks dependencies that are not yet supported in kernel 2.6 and 3.0 that use Debian 6 and CrunchBang 10 respectively.

But everything has a solution in the Underworld of Cyberspace. If you have not yet installed IDJC on Debian 6 or CrunchBang 10, follow the instructions to install it from the stable Debian repository without fear (it is version 0.8.3 with bugs, but you still have to install it to be able to fix it later). in a console run:

$ sudo apt-get install idjc

And then install all the necessary dependencies:

$ sudo apt-get install build-essential libc6-dev libglib2.0-dev libjack-dev jackd libvorbis-dev libsamplerate0-dev libsndfile1-dev python-gtk2-dev libmpg123-dev libavcodec-dev libavformat-dev libtwolame-dev libmp3lame-dev libflac-dev python-mutagen libspeex-dev

As soon as I ask you if you want to give the JACK audio server full control of the audio and available memory in real time, say NO (so your system doesn't crash).

Run via JACK Audio console for the first time:

$ jackd -d alsa

Fix the real-time execution conflict:

$ sudo su -c 'echo "@audio - rtprio 99" >> /etc/security/limits.conf

Add the process to your system audio user group:

$ sudo usermod -a -G audio $(whoami)

And finally create the script for IDJC to start with JACK Audio in ALSA at the same time:

$ echo "/usr/bin/jackd -d alsa -r 44100 -p 256" > ~/.jackdrc

And re-log in for the changes to take effect.

When you run and configure the program you will notice (or if you had already installed it before) that you already have the problem that IDJC cannot connect to your server to transmit. But here comes the magic:

  • Fully shut down IDJC and Jack Audio
  • Open the Synaptic Package Manager and search for "idjc"
  • As soon as idjc 0.8.3 appears, right click and mark it to completely uninstall
  • Apply the changes and uninstall it. Go out and close Synaptic
  • Download this .deb package from here: IDJC 0.8.1 x86
  • If you use Debian or CrunchBang in 64-bit version, then download the .deb package from here: IDJC 0.8.1 amd64
  • Double click on the .deb package you downloaded and install it

Exactly, you have to install the previous version of IDJC that DOES WORK, when you run it you will realize that you kept all your settings and that now you can connect to your streaming server and you can transmit your radio over the internet without problems.

When executing IDJC, a message appears stating that it cannot find the vorbistools program "vorbiscomment" - which it doesn't really need - and asks if they want to continue; just click "Yes" and IDJC will start without any conflict.

The Update Manager will probably tell you that you need to update your old version of IDJC; so that it does not bother or you are going to update it by accident, close the Update Manager and open Synaptic again, in the Settings menu choose Repositories and in the "Debian Software" tab uncheck the "Officially supported (main)" box, close and agree to reload repositories to mark the changes and voila, you will always have this version of IDJC that works and connects perfectly to transmit your internet radio.

I hope these instructions are of some use to you, and greetings to all.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   pandev92 said

    Very good but I can't connect it with skype so it's like nothing….

    1.    Wisp said

      Install Pulseaudio (if you only have ALSA) with all its dependencies:

      sudo apt-get install libasound2-plugins pulseaudio paman padevchooser paprefs pavucontrol pavumeter

      Create this script to make it default:

      ~/etc/asound.conf

      Copy and paste the following into it:

      pcm.pulse {
      type pulse
      }

      ctl.pulse {
      type pulse
      }

      pcm.!default {
      type pulse
      }

      ctl.!default {
      type pulse
      }

      Save it, close it and restart your system, then install this add-on:

      sudo apt-get install pulseaudio-module-jack

      and then create this script with your text editor (save it as 'pulseidjc.sh' in your 'home' folder):

      #!/bin/bash
      pacmd suspend true
      pactl load-module module-jack-sink channels=2
      pactl load-module module-jack-source channels=2
      pacmd set-default-sink jack_out
      pacmd set-default-source jack_in

      Run it (you can turn it into a launcher in the OpenBox menu or on the Debian desktop) after starting the JACK Audio server and voila, this module already appears in the connections and will allow you to connect to the inputs of aux _lt and aux_ rt in idjc the outputs Pulse Audio JACK Sink and thus you will send to IDJC all the audio of the system, start Skype and simply click on the Aux button in IDJC (the one with a green jack connector, next to the microphone, NOT the one on the green phone ) so you can broadcast your calls live and your listeners ask for songs or win a nearly new shirt.

      1.    Wisp said

        Hahaha, I don't know if it is allowed to put so much code in the answers; I almost made another post ... hahaha there please fix it if it's not okay.

    2.    Bernat said

      Damn, it's true, it is absolutely necessary to be able to make calls on your radio !!!
      Has anyone solved it? I, in linux, am lost, but I would like to be able to broadcast working on this platform.

  2.   pandev92 said

    Ok, now I have another problem, it turns out that I use the configuration you gave me, but I have usb headphones, which are in the hw 1.0 port or something like that, but the sound comes directly from the speakers and instead the sound comes out. for the headphones, I don't know what to do xddd ...

    1.    Wisp said

      Try with a normal headphone jack and verify that the audio comes out correctly; usb headphones are not registered in Pulseaudio and that is why they are still in ALSA, depending on the usb port you connect them to, you would have to search for them in JackPulseaudio Sink and redirect them to system or idjc depending on the program you are using.

  3.   medina07 said

    Very good, thanks for the info ... now the only thing that is needed in my opinion is a good Karaoke player because the existing ones are too bad.

  4.   karlitux said

    Thank you. A round article. I will apply it with my students.

  5.   Emerson said

    I follow the instructions but it gives me this answer

    The following packages have unmet dependencies:
    libavcodec-dev: Depends: libavutil-dev (= 6: 0.8.4-0ubuntu0.12.10.1) but it will not install
    libavformat-dev: Depends: libavformat53 (= 6: 0.8.4-0ubuntu0.12.10.1) but it will not install
    Depends: libavutil-dev (= 6: 0.8.4-0ubuntu0.12.10.1) but it will not install
    E: Problems could not be corrected, you have retained broken packages.

    Any solution for a newbie interested in leaving the windows on his radio?

    thanks in advance

  6.   Gonza! said

    Hi. i have a usb microphone, especially a behringer c1u. and I don't know how to configure it on the internet dj console, could someone give me a hand? because I don't know how to configure it

  7.   Leonard Auza said

    But you can also use ZaraRadio + Winamp + Shoutcast (all emulated with Winne), it works very well, at least on CentOs. with the Streaming service of: http://www.netyco.com/in/servicios/streaming-de-audio/

    Link to Wine: http://www.winehq.org/download/

    greetings.

    1.    Wisp said

      And as a good windowslerdo, recommending emulating the obsolete Winamp, the horrendous Zara Radio and a mediocre and paid streaming service. No thanks, go back to your beloved Windows and leave CentOS alone, you don't know how to use it.

  8.   jose_rom said

    I don't see the output, prefs, jingles buttons.
    Does version 0.8.7-2 work correctly? Do I solve the problem that you report in this post? Which jack do you recommend?

  9.   Emerson said

    Another Illuminnatti

    The truth is that after YEARS of trying, I have never made IDJC work.
    And when I say "years" I mean that, to periods of 365 days, thousands of hours looking for posts like the one above, written by enlightened people who surely for some reason have managed to broadcast in mp3 with IDJC

    But I, who have been in internet radios for 10 years, have never met ONE that broadcasts with IDJC
    And that the little program, when you see it, you drool, you read the manual and more, but in the end, it only plays music, to broadcast to a server, nothing
    I have installed it in ubuntu, in ubuntu studio, I have even tried it with the latest versions of Ubuntu Studio, which already comes from the "factory" let's say - NOTHING

    Trisquel, Rivendell, Musix, and even Puppy music !!!!! (and long walks through the author's web) and all the configuration posts, which by the way tell you about the mass half, because there is not ONE that tells you how you configure JACK Ports in IDJC,…. Eye, what do I say in IDJC, not in JACK
    It is useless, what you do in windows in 30 seconds from a very simple winamp with shoutcast, to the (expensive) sam broadcaster, in linux you can not, so do not fool people with the copy / paste, in this linux does not work . of the image why speak
    And let it be clear that nothing would make me happier than using linux to broadcast, it's what I like, my hobby, but in the end… .. you have to drop your pants with Redmon's
    to see if I see it before I die
    regards

    1.    Wisp said

      Emerson, apparently you did not read the emails I sent you and you are the only human being in this universe who does not know how to use and has not configured IDJC properly. And if I look like an "enlightened one" maybe I am, my neurons do synapse when I try to figure out or solve something myself. Try, less TV and more brain. You're welcome.

      1.    Emerson said

        Ha, And you don't know how much I appreciate your selfless help, really, really, but this "try this to see how it goes" or "look here to see if you find" that, I've had enough of doing it.
        Surely I'm the only one who doesn't get it, but those who get it "SAY" they get it, but curiously no one tells you to listen to me here, or tell you to configure it like this.
        At the moment the only distro that comes close to making it work is Puppy, (paradoxically a mini linux), but I have already taken it to laugh, I do it like someone who does solitaire, Sam Broadcaster goes to the movies, it is easier to find a medicine to a windows to get into the endless maze of linux.
        And who does not believe me, just ask yourself why there are millions of (different) posts referring to Linux, thousands of different recipes for the same
        If in Linux you get out of what is the simple office work, forget it
        there is nothing that works, and if you do not believe me, try it, hahahahaha
        and they will tell me

    2.    Miguel R. Navarro said

      In my case, I managed to make it work perfectly in Fedora 8, that back in 2009, however, I must say that IDJC is a software that in my opinion is still very green, in terms of features it falls short of other paid options such as SAM Broadcaster or RadioBoss, both of which can be run using Wine's compatibility layer, which sadly doesn't run quite well, but is functional.
      Something that works against me is the use of jackd, that thing in my opinion is very unfriendly with the ordinary user, yes, there is documentation and whatever they like, but many of those times it is in English or various things they are already obsolete in current distributions.
      There is an alternative called Mixx that has a version for GNU / Linux and is more focused on DJs, however it is much friendlier than IDJC.

  10.   Emerson said

    5 years ago I left a post that is as if I wrote it yesterday
    The difference is that I have learned a few things
    1.- Wine is what it is and gives what it gives, which is neither the shadow of what they say it is nor what it gives
    but it is what it is, if you intend to make Radio Boss work with Wine, entrust yourself to the saints
    2. IDJC today is still a mess, complicated, hostile, incomplete, uncomfortable, ... and compared to any of the others is a slop
    But it is the ONLY thing there is, because Mixxx, which is doing quite well, eats up ALL the resources of your machine, -whatever you have of ram memory-
    And be disappointed, Linux is for writing letters, reading mail, watching a movie, browsing and little else.
    FOR EVERYTHING ELSE, it doesn't even look like what you do with windows
    Not to mention that to do the slightest thing, you have to go on a pilgrimage through google hundreds of hours
    And if you see my old post,… it is five years old

    1.    Wisp said

      I'm pissed:
      You are an idiot; a perfect retarded idiot worse than a disabled person, requires that everything you want to do is easy and already digested, if you don't cry like a little girl.
      You are idiot; Years ago you were asked to enter the characteristics of your hardware (which apparently is either Martian or you took it from a garbage can) to determine why it does not work for you with Linux, and you never mentioned it.
      You only know how to use Windows: stay like that, like a pig in its pigsty, wallowing in your ignorance, mediocrity and what I know is a useless, bitter and completely stupid life of an ungrateful sucker.
      You're welcome beast.