Airtime 2.2 Beta1
  • https://sourceforge.net/projects/airtime/files/2.2.0-beta1/?

    We are pleased to announce the beta for Airtime 2.2. The UI is incomplete at the moment - it will be now our main focus before the Release Candidate.

    Some new features for the 2.2 release:

    -Smart Playlists
    -Webstream rebroadcasts
    -Replaygain support
    -FLAC + WAV support (AAC if you compile your own Liquidsoap)
    -Huge performance increase on library import
    -User ownership of files
    -Stereo/mono streams
    -Rescan watched folders button (useful for network drives where keeping in sync is more difficult)

    Please try out the new features and help us towards a bug-free release :)


    Airtime Pro Hosting: http://airtime.pro
  • 38 Comments sorted by
  • BOW FAT FAT FAT... it's a year since I use Airtime and I dreamed about those features!
    Keep up the good work!
    Listen to Ness Radio LIVE
    NESS RADIO
  • Can you guys redirect me to a safe upgrading procedure from 2.1.3 using the beta file? 

    (and downgrade if things go bad..;)
    Post edited by Guytrance at 2012-09-06 09:20:13
  • Vote Up1Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    @Guytrance: this version is not for use in production
    anyway you have all installation informations here : http://www.sourcefabric.org/en/products/airtime_manuals/
    Post edited by Albert FR at 2012-09-06 10:45:58
  • Vote Up1Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator

    did have a look at this release last night...

    i have had just about 150 tracks in the watched media folders and stor-sub-folders.

    so after recognizing a cpu-usage of up to 20% for liquidsoap-service, i let airtime spend the night with analyzing replaygain. but nothing really changed. still a high cpu-load without being able to display the "Library". It always stucks in "Processing".

    So i thought about deleting the watched media folders and adding an empty one. but no changes at all.

    Airtime-Liquidsoap Service is still using CPU about 20% but no Library accessible and adding a new track also fails.

    should i just reset the track database in this case? and if yes, how to do that?

    and another question of replaygain, because i got thousands of files with ReplayGain-Values in ID3Tags written with foobar in the ID3Tags "REPLAY_GAIN_TRACK_GAIN" and "TRACK_PEAK" or somewhat like that.

    Does Airtime/Liquidsoap read and use this tags when available?

    Does Airtime/Liquidsoap write ReplayGain-Infos as an id3tag or in its database?

    I'm really overwhelmed of the new features and cannot wait to test more.

    nice greetz, hoerich

    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • sudo ~/airtime-2.2.0/install_minimal/airtime-install

    Debian package of Airtime detected. Please use the debian package to upgrade.

    Where to go from here? 
  • BTW, I'm still getting that utf8 decoding error and media monitor crash for the watched directory, and that trick of forcing the "replace" parameters (see here) is not working too anymore! :(
  • Vote Up1Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator
    I don't exactly know which stream-types will be supported,
    but for now I cannot get any BBC World Service Stream to run.
    http://www.bbc.co.uk/worldservice/institutional/2009/10/091029_internetradiomobilelinks.shtml
    This is essential for community radios like us. so it would be nice, if you consider this.

    anyways, I thought of a second airtime-server only for re-broadcasting, which would give me the possibility to re-broadcast BBCWS via Line-In from Satellite-Source, since our Studio occupies the Line-In of the Airtime-Server. (since I guess it is not possible to run a second instance of airtime on the same machine) just a thought.
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • This is great! :)

    One small bug and one idea:

    bug: the airtime-check-system script reports that all services are down (FAILED), even if everything is running fine. The web interface reports running status OK but can not read uptime and CPU / memory usage. I've installed this beta on an Ubuntu 12.04, from which I have purged airtime 2.1.3, manually removed ad reinstalled monit/rabbitqm/liquidsoap, manually purged airtime database.

    idea: Smart Block are great, but now I want more! ;) If I have a recurring show, I have to edit each show instance to insert the smart block, which is in that very moment expanded as a list of songs. Wouldn't be nice to be able to associate a smart block to all show instances with one click, and let Airtime expand them the day (or some hours) before the show executes?

    Thank you, Airtime is becoming more and more amazing with every release!




    What is the output of "sudo monit status" ? Also we will have lots of improvements to Smart Playlist post 2.2 release :) 

    Airtime Pro Hosting: http://airtime.pro
  • Reply to @hoerich:

    I just looked into this, and we should be able to support the bbc .pls streams. The .asx ones will defn not be supported. Will post any updates on this here.
    Airtime Pro Hosting: http://airtime.pro
  • Reply to @Francesco+P.+Sileno:

    Please post the logs as an attachment and we'll resolve this.


    Airtime Pro Hosting: http://airtime.pro
  • Vote Up1Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator

    1. which 3rd party app is used for ReplayGain analyzing?

    2. if I try to change the background-color-style of a recurring show, it denies with the message: "Cannot schedule overlapping shows".

    3. thanks for the good news about streaming BBC

    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • Reply to @hoerich:

    1) Utilities called "mp3gain", "vorbisgain" and "metaflac"

    2) Nice catch! Created ticket here: http://dev.sourcefabric.org/browse/CC-4382


    Airtime Pro Hosting: http://airtime.pro
  • Reply to @Francesco+P.+Sileno:

    Please post the file /var/log/airtime/media-monitor/media-monitor.log as attachment, we will try to fix before next beta.
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up1Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    one more thing
    when I'm try to repeat a show whit its content, content is not pasted. not really cool for the webstream (for example) or smart block
    Post edited by Albert FR at 2012-09-08 11:26:59
  • Hi Martin!

    Here they are, media-monitor.log and the whole airtime log directory, after a fresh start.

    If you want, I can enable back your SSH access. It is the same machine you already checked. :)
  • Vote Up1Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
     @Martin+Konecny:copy/paste of contents from webstream and smart block are really mandatory.
    Are they available in the final release ?
  • How unstable this beta really is if i want to use it on a production server? (the smart playlists is extremely important feature) :(

    is there any detailed guide on the smart playlists?
    Post edited by Guytrance at 2012-09-10 10:56:32
  • Vote Up1Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    We need copy/paste entire show :D
  • Reply to @hoerich:

    Liquidsoap service will always use about 20% CPU (it is not doing the Replay Gain calculations), because it is always streaming even if nothing is scheduled (it streams inaudible random noise so that clients do not disconnect if there is a gap in your schedule).

    If you want to check whether your ReplayGain values were calculated, you can run the following command:

    sudo -u postgres psql -c "select track_title, replay_gain from cc_files" airtime

    For the next beta, we will make these values visible in the Library.


    Does Airtime/Liquidsoap read and use this tags when available?

    We use a third party tool to calculate the gain, and reading the documentation, this appears to be the case.

    Does Airtime/Liquidsoap write ReplayGain-Infos as an id3tag or in its database?

    We store the calculated values in the Airtime database to prevent modification of the original files.


    Airtime Pro Hosting: http://airtime.pro
  • Reply to @Guytrance:

    You have a previous version of Airtime installed (which we do not recommend), and you cannot mix and match debian and tarball packages. 

    You can *completely* remove the old Airtime (Warning: Airtime database will be reset) , if you want to try this beta:

    sudo apt-get purge airtime 

    Then try installing this tarball.
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator
    Ok, thanks for now, Martin! You're the Man!
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • This is great! :)

    One small bug and one idea:

    bug: the airtime-check-system script reports that all services are down (FAILED), even if everything is running fine. The web interface reports running status OK but can not read uptime and CPU / memory usage. I've installed this beta on an Ubuntu 12.04, from which I have purged airtime 2.1.3, manually removed ad reinstalled monit/rabbitqm/liquidsoap, manually purged airtime database.

    idea: Smart Block are great, but now I want more! ;) If I have a recurring show, I have to edit each show instance to insert the smart block, which is in that very moment expanded as a list of songs. Wouldn't be nice to be able to associate a smart block to all show instances with one click, and let Airtime expand them the day (or some hours) before the show executes?

    Thank you, Airtime is becoming more and more amazing with every release!

  • hoerich said:

    I don't exactly know which stream-types will be supported,
    but for now I cannot get any BBC World Service Stream to run.
    http://www.bbc.co.uk/worldservice/institutional/2009/10/091029_internetradiomobilelinks.shtml
    This is essential for community radios like us. so it would be nice, if you consider this.

    anyways, I thought of a second airtime-server only for re-broadcasting, which would give me the possibility to re-broadcast BBCWS via Line-In from Satellite-Source, since our Studio occupies the Line-In of the Airtime-Server. (since I guess it is not possible to run a second instance of airtime on the same machine) just a thought.



    This problem is now solved, and will be available for beta2.
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator
    nice one! thx
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • Reply to @Martin+Konecny:

    When i try to schedule a show that is exactly after another one..(7-9,9-11) it says "Cannot schedule overlapping shows". even if i change the first show to start on 9:01...
  • Yep agree with Albert. Copy paste shows please. 
  • Albert FR said:

    one more thing
    when I'm try to repeat a show whit its content, content is not pasted. not really cool for the webstream (for example) or smart block



    These will not be in the final 2.2 release.
    Airtime Pro Hosting: http://airtime.pro
  • Guytrance said:

    How unstable this beta really is if i want to use it on a production server? (the smart playlists is extremely important feature) :(

    is there any detailed guide on the smart playlists?


    I would not recommend this for production. You may not have any way to upgrade to the final release.
    Airtime Pro Hosting: http://airtime.pro
  • Guytrance said:

    Reply to @Martin+Konecny:


    When i try to schedule a show that is exactly after another one..(7-9,9-11) it says "Cannot schedule overlapping shows". even if i change the first show to start on 9:01...


    Thanks, filed a bug.

    Airtime Pro Hosting: http://airtime.pro
  • Hi Martin!

    Here they are, media-monitor.log and the whole airtime log directory, after a fresh start.

    If you want, I can enable back your SSH access. It is the same machine you already checked. :)


    Hi Francesco it seems like you have encoding issues with your file system. Can you take a look at this thread http://forum.sourcefabric.org/discussion/14344/update-database-media-is-failed/p1 and tell me if it helps.
  • Reply to @Guytrance

    Are you still able to recreate the overlapping show error message? If so, can you provide more details. 


  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    @Martin+Konecny: for your information, it's impossible to create webstream with the last snapshot from airtime
  • @Rudy, Martin already pointed me to that discussion and I tryed that trick, see:

    http://forum.sourcefabric.org/discussion/14321/force-reindex-of-media-files

    However I'll try again, who knows. :)

    riprovatamente,
    Francesco P.



  • Maybe you already knew, but:
    root@microserver:~# airtime-import
    Traceback (most recent call last):
      File "/usr/lib/airtime/utils/airtime-import/airtime-import.py", line 32, in <module>
        api_client = apc.api_client_factory(config)
    AttributeError: 'module' object has no attribute 'api_client_factory'
    riportatamente,
    Francesco P.

  • Can anybody give a quick lowdown on what the new Smart Playlists feature is all about? Can't find any documentation on it - and I can't install the beta at this point.
  • Hey guys... I have a bug, but it might be an upstream debian issue.

    Running on debian squeeze, I pulled an update for rabbitmq from the upstream debian repositories the night after installing the beta.

    This caused the following symptoms:

    1) 'Showbuilder' page would not render
    2) login page worked
    3) all other pages rendered but some with errors including the library page
    4) airtime-check-system reported rabbitmq failed
    5) monit.log wrote continuous errors until disk was full!
       -disk is only 10GB VM image and /srv/airtime/stor is an NFS mount
       -monit.log and monit.log.1 were 5.6GB combined

    Restarting rabbitmq and monit did not solve problem. I had to do a complete removal of airtime, including /etc/airtime, and do a fresh full-install to fix. When I installed the beta I did a complete removal of the existing airtime install including /etc/airtime and /srv/airtime/stor

    While things are now functioning ok with airtime and airtime-check-system reports all is well, there is still an issue. monit.log is still being filled with the following error...

    [CDT Sep 17 08:16:27] error    : monit: Error reading pid from file '/var/run/rabbitmq.pid'

    This is because the pid is no longer written to that file, but rather to /var/run/rabbitmq/pid

    We have had other mission crit issues this past two weeks so I haven't had time to troubleshoot further and file a ticket.

    Todd

    Todd Fisher Wallin, Operations Coordinator - WDRT-FM Viroqua, WI
  • Martin, Rudy, I've somehow solved the problem I had with filenames and UTF-8.

    After some test, I realized that some file names were so messed up that even mvconv went puzzled - even if it was saying that they were renamed, in fact they weren't!

    So after two runs I've been able to identify these bad files and move them away.

    I still think that media-monitor should just skip this files insted of crashing, but thanks again for the tricks and sorry for my inattention!
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    @Martin+Konecny:

    for information, on the latest snapshot, crossfade not working between the songs, blocks, playlists, webstream