API to update Airtime?
  • Hi,

    I have a requirement to have a simple process for adding content to scheduled programme and updating this. Is there an API I can use?

    The main reason for this is I have some DJ's that find the Airtime UI difficult to use.

    Thanks
    Post edited by Craig Osborne at 2016-01-25 13:54:08
  • 4 Comments sorted by
  • Hey Craig,
       Here is a link to the API documentation. https://wiki.sourcefabric.org/display/CC/API+Documentation
    As you can see there are significantly more functionality associated with the Airtime.pro - but even these are all mainly read based.

      The Airtime.pro UI has been improved a lot but I think there is still room for improvement in terms of usability for the process of adding tracks etc.

       I have an idea about how to improve it but I'm not sure the best path to contributing to the project is at this point because of the SAAS slant the dev team is focusing on at the moment. Significant amount of work has been taking place behind the scenes and so it seems unlikely that there will be another release of 2.5.x especially considering the lack of an upgrade path from 2.5.1 for people who only install via debian packages.

       Do you know what the exact steps they find difficult are ? I've seen a number of obstacles encountered by DJs at my station just curious as to where they are stumbling.

       Thanks,
           Robbt
  • Robbt

    I have seen the documentation but wondered if I'd missed something. I agree it is read based which is useful but isn't quite what I'm after.

    They seem to find the process of adding media and then applying that to a show difficult, I have tried to write instructions but there are a few that just lack interest to learn. I can understand that the UI isn't the most user friendly. If you have any ideas that may help please let me know.

    My aim is to automate as much of the workflow as I can and make things simple. Looks like I'll have to look at the project and see if I can build something that would work.

    Craig
  • So what is not clear here is

    The main reason for this is I have some DJ's that find the Airtime UI difficult to use.


    • if you are talking about dj's in the sense of those requiring some sort of mixing and cueing then your option is to use the integrated approach to Airtime ,whereby the djs would use mixxx ,virtualdj ,idjc tracktor  or any such software .
    • most of these have an autodj and can repeat and shuffle tracks
    • scheduling is handle by someone with responsibility like a program manager and connections could be made by scheduling a show or directly via the master
    You can use nicecast,butt or liquidsoap itself to use like hardware mixers and console
    refer here


    • If you are talking about dj in the sense of a Radio host then this  Airtime tutorial should help them and you
    But here is how I schedule my show fast

    • prepare your media
    lets say djjohn ,use some tagging  tools like easytag to put djjohn in the comment section
    you could also label a folder djjohn

    airtime-import --watch-add $HOME/djjohn/Music

    • now create the show in two step
    1. name it
    2. give it a time and save it
    3. left click an add contents by searching for djjohn

    you can do that for every dj even creating ftp uploads http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/automated-file-import/

    what Airtime team should have also a question in the installation script is to ask for a watch folder.

    The Api is mostly use to provide information externally (not editing and adding) and also to store information to assist internal processing.

    Most RestfulApi are like that its only of late I am seeing Api making database calls rather than direct core calls to database  








    Post edited by Voisses Tech at 2016-01-28 05:08:03
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.
  • Voisses,

    I mean DJ's have difficulty uploading and scheduling pre-recorded content. I understand the Airtime workflow is that you have others that schedule the content but I want an automated process so me doing this all the time isn't an option.

    I do think that your scheduling workflow would work with some modification to fit my setup. Thanks