LadioCast 0.12.4 Released – LadioCast Development Notes No.94

in LadioCast
LadioCast Version 0.12.4 has been released on MAS. Changes from version 0.12.3 to 0.12.4 are as follows:
  • Updated libmp3lame library to the version 3.100.
  • Improved event tab to load AppleScript inside which fixes the startup execution error on macOS 10.13.
  • Fixed some minor bugs, including Ogg Opus and Ogg PCM encoding.
May you have happy streaming.

60 Responses to “LadioCast 0.12.4 Released – LadioCast Development Notes No.94”

  1. Hi, I am using LadioCast for my radio station running 24/7, however often have “disconnected” alerts popping up requiring a re connect to the streamers. Can you indicate what is going wrong?
    Thanks in anticipation.

    • kawauso

      Hello Mark,
      The alert is popped up when the current connection gets broken and immediate reconnection also has failed. If you can, test other servers from the same client, especially a server in a local network, for investigation.

  2. Hi, I just started using Ladio Cast and it seems very useful for me.
    I need to know how to auto-connect everytime the app launches. Is this possible, by apple script, or some other method? This is because I’m using airtime pro for playout and it let’s me go live whenever a connection is made (when the connect button is hit), so I need to make the app auto-connect at specific times.

    • kawauso

      Hi Nils,
      AppleScripts like;

      tell application “LadioCast” to connect

      should connect all the streamers, no matter when the app is up or not yet.
      Cheers!

  3. Thomas

    When I use my Pioneer SZ DJ controller, no audio signal goes to LadioCast. When I use rogueamoeba.com/loopback/ audio only comes out the left side of the mixer fader

    • kawauso

      Hello Thomas,
      Many things could be conceivable. Try simple test recording from the same audio input device without Ladiocast.

  4. I need a way to get whats playing from Algoriddm’s djay Pro 2. The file is inside the djay Pro 2 package but easily accessible at /Music/djay Pro 2/djay Media Library.djayMediaLibrary in the NowPlaying.txt file. I have no idea how to script. Does anyone have a script or something to pull the whats playing info and feed it into LadioCast automatically every time the track changes ?

    • kawauso

      Hi Victor,
      I’m not a djay guy but would like to submit some hints for potential implementers there:).

      * LadioCast has an AppleScript interface to update its metadata (song), as you can see the example (from ReadMe):

      tell application “iTunes” to set currentTrack to name of current track
      tell application “LadioCast” to set metadata song to currentTrack

      * You should detect the changes of the NowPlaying.txt file content and call the interface with it ONLY when update needed. LadioCast should simply notify that to the servers every time when called.

      Good luck!

  5. Unfortunately djay pro doesn’t have that. The whats playing is kept in a package file located at /Music/djay Pro 2/djay Media Library.djayMediaLibrary/NowPlaying.txt where djay Media Library.djayMediaLibrary is the package. Ideally it should be possible to point Ladiocast at a freely chosen directory to pull over the information directly.

      • Yes, I appreciate its the Ladioast design. Please take my comment above as a feature request :)

        I can do a lot of things but programming is beyond me. I took a week for a simple “Hello World” in C, and in C++ my “Hello World” totally failed :(

  6. Johan

    When I broadcast in HE AAC under 80 kbps it goes well, without any problems. But when I increase the bitrate above 80 kbps it gives an error “Internal error on encoding values.” All works well when I change ”format” to AAC or mp3. I use osx 10.13.4 Any ideas how to solve this problem and make it possible to broadcast in my preferred HE-AAC 96 kbps? Thank you for all your great work!

    • kawauso

      Hi Johan,
      The error has been caused by Apple Core Audio’s HE AAC encoder which LadioCast uses as well as AAC. IMHO AAC is not so bad in that bitrate, though I don’t know the reason of the error so far.

      • Johan

        Hello Kawauso, okay then I will try out and compare the audio quality between 80 kbs he-aac en 96 aac. Thanks for your reply and greetings,

      • The checkbox works for most people but not special cases. I was not aware you could run more than one LadioCast. LadioCast has 2 possible streams but I think the metadata is the same on both. If you can address separate LadioCast applications running, you would have to use the older method of file publishing from Radiologik DJ and then the NowPlayingChanged AppleScript in order to address the name of each different LadioCast application distinctly. But can LadioCast have multiple instances of the application running and have distinct settings and preferences? Radiologik can with special instructions but most apps don’t.

        • Jay, may be You have some outdated info about LadioCast: Version 000012004 (1918) have 4 Streamers. And each able to set to Icecast, RTMP, SHOUTcast type of server.

          Maybe Mr. kawauso help us with this to determine how send several metadata sets, one per streamer?

          • Yes, You are absolutely right. 8 streamers.
            In next month I doing the test on how number of streamers (both for Icecast2 and SHOUTcast servers, sorry RIP RTMP) affect performance…
            Are You interesting in results ?

  7. Hey there! I’m trying to use event handlers to connect on start up with code:

    tell application id “com.kawauso.LadioCast” to connect

    but I’m getting a script read error in the script file on startup, number -1409.

    using a launchagent to launch the LadioCast at a specific time each day and want it to autoconnect when it launches. Any hints?

    Thank you!

  8. David

    I’m trying to connect Ladiocast to Icecast on OS X 10.13.6. Ladiocast successfully receives my USB audio, and Icecast successfully starts. My problem is finding the proper way to get the parameters for the two to talk to each other, so that I can connect to the computer and hear the audio. There are too many items in the icecast.xml file for me to be sure of the minimum necessary items to do this. I understand about ports, but I’m not sure of mount points, and as I’m the only user, so I don’t really need usernames or passwords. Any suggestions appreciated.

    • kawauso

      Hi David,
      The default Icecast2 streamer parameters of LadioCast should fit also the default setting Icecast server running on localhost. That’s almost what I can say now.
      Cheers!

      • David

        I’ve set up the config with localhost for Ladiocast and Icecast, and it works fine on a browser pointing to localhost. If I try to point to the actual IP of my host on my LAN, I can’t connect. I think it must be a simple problem, but I can’t track it down. Thanks.

      • David

        Sergei, Thanks for your offer but I solved the problem. Kawauso’s question about the firewall made me realize that although it wasn’t a firewall problem, I occasionally get problems from Sophos Anti-Virus. Once I whitelisted the port there all works fine.

  9. Tester123

    Using DDJ-SZ2 when I pull up the mixer in ladiocast and select it as the input device. There is no signal but if I select built in Mic I can see signal

  10. streamy68

    Hi,
    Do you plan to implement Ogg FLAC for streaming, too? This would be great for lossless streaming since some receivers do not work with Ogg PCM but would work with Ogg FLAC.
    Thanks for the great piece of software.

    streamy68

    • kawauso

      Hi streamy68,
      When once requested and considering implementation of FLAC, ALAC etc., I’ve found these losslesses would lose ladiocast audio bit resolution “before” their compression. So I implemented the little known Ogg PCM instead. Nothing lost.
      Cheers.

  11. streamy68

    Thanks for your prompt answer. I’m asking for Ogg FLAC because I want to stream my Macs soundflower2 output locally to Roon’s internet radio input. But Roon only accepts Ogg FLAC or lossy (Mp3, AAC), but not Ogg PCM. I could not find yet any MacOS streaming software that would support Ogg FLAC and I’m not interested in lossy streaming. In Roon I do room correction therefore my interest to stream HQ audio to Roon. Any suggestion?

    Thanks
    streamy68

      • streamy68

        No, AAC is a compressed lossy format like MP3, whereas FLAC is compressed lossless. After decompression FLAC represents 16bit and 24bit content bitperfect same as PCM. https://xiph.org/flac/faq.html#general__native_vs_ogg . Therefore my interest in Ogg FLAC, not to be confused with most other Ogg formats that indeed are lossy. Again like Ogg PCM (real PCM in Ogg container) Ogg FLAC is lossless FLAC in an Ogg container that is better for streaming than FLAC itself.

      • Apple investing a lot of money and time in AAC implementation in last 10 years(!). (Sure. I personally doing R&D in this field).

        Apple’s lossless AAC version (so called “ALAC”, average bitrate 600-700 kbps) is really lossless, like OGG PCM, etc.

        NOTE: I highly recommend before anyone decide investing time/money in some coding routine, note that most of all manufacturers of hardware players (in cars, in home, portable) last years point attention to compatibility with MP3 (due a huge installbase before this time) and AAC/ALAC (due most of modern streaming services broadcasting in AAC/ALAC).

        You may enjoy to playing with old formats, especially if You have a time and a passion to this, or bargain old device from Craigslist/eBay of coarse… :)

Leave a Reply to kishino

Click here to cancel reply.

*