Schedule export not working
  • New install Airtime 2.4 on Debian 7.1 Wheezy.  The installation so far functions as expected however I have two issues:

    1.  Schedule export not working out to other web pages.  If go to the site from the server desktop the program schedule appears as expected; however, if I access the same schedule page from a Windows machine elsewhere the schedule information does not appear.   I suspect the java script variables have something to do with the issue.  Should they be set for http://www.FQDN.com instead of localhost? 

    I have tried to run dpkg-reconfigure airtime but won't run. It says airtime not installed.

    2.  Second issue is that in multiple test installations I cannot log in.  I have not found a way around it.  The password reset doesn't give the email password reset either.  I end up having to uninstall airtime and reinstall, a reinstall alone won't put me back into the reconfigure script.

    Comments are appreciated.

    Woodleg
  • 4 Comments sorted by
  • Addendum to above post:  The schedule export script looks like this:

    <head>
    <script src="widgets/js/jquery-1.6.1.min.js" type="text/javascript"></script>
    <script src="widgets/js/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
    <script src="widgets/js/jquery.showinfo.js" type="text/javascript"></script>
    <link href="widgets/css/airtime-widgets.css" rel="stylesheet" type="text/css" />
    <script>
    $(document).ready(function() {
        $("#headerLiveHolder").airtimeLiveInfo({
            sourceDomain: "http://localhost",
            text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"},
            updatePeriod: 20 //seconds
        });
        $("#headerLiveTrackHolder").airtimeLiveTrackInfo({
            sourceDomain: "http://localhost",
            text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"},
            updatePeriod: 20 //seconds
        });
        $("#onAirToday").airtimeShowSchedule({
            sourceDomain: "http://localhost",
            text: {onAirToday:"On air today"},
            updatePeriod: 5, //seconds
            showLimit: 10
        });
        $("#scheduleTabs").airtimeWeekSchedule({
            sourceDomain:"http://localhost",
            dowText:{monday:"Monday", tuesday:"Tuesday", wednesday:"Wednesday", thursday:"Thursday", friday:"Friday", saturday:"Saturday", sunday:"Sunday"},
            miscText:{time:"Time", programName:"Program Name", details:"Details", readMore:"Read More"},
            updatePeriod: 600 //seconds
        });
        var d = new Date().getDay();
        $('#scheduleTabs').tabs({selected: d === 0 ? 6 : d-1, fx: { opacity: 'toggle' }});

    });
    </script>
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Yes, you are right, localhost should be replaced.
    Not quite sure your second question. But you should purge the database if you want to fully re-install.
    Cloud Radio -> http://airtime.pro
  • Tried replacing localhost with the FQDN and didn't help.  Schedules works on the server's browser but not on any other workstation. It acts like the localhost in the script doesnt' work across the wire, but other attempts haven't worked either.  I am wondering if an alias work tell the remote browser to read the schedule data. I have researched the docs but out of ideas. 
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Try to use http://airtime-dev.sourcefabric.org to see if it works. 
    Cloud Radio -> http://airtime.pro