Disable track downloading
  • Hi, 

    What would be the best way to disable the ability to download tracks from the library? 

    I don't think my DJs should need to download tracks from airtime, as I want them using airtime to play station content. If they have their own music, they can play that via their show source, etc. 

    I don't want my airtime installation to turn into an avenue for file sharing :)

  • 2 Comments sorted by
  • You could try this to remove the 'Download' option from the context menu:
    Make a backup copy first.

    In file:
    /usr/share/airtime/application/controllers/LibraryController.php

    Around line 222 find:
    $menu["download"] = array("name" => _("Download"), "icon" => "download", "url" => $url);

    Replace line with:
    /* $menu["download"] = array("name" => _("Download"), "icon" => "download", "url" => $url) */;

    See if that works for you (untested).
    Post edited by John Chewter at 2014-01-11 06:21:31
    No longer using Airtime or Libretime.
  • Works! :)
    Post edited by Roger Wilco at 2015-06-23 15:10:58