diff --git a/airtime_mvc/application/configs/ACL.php b/airtime_mvc/application/configs/ACL.php index 496492562..3cebd512b 100644 --- a/airtime_mvc/application/configs/ACL.php +++ b/airtime_mvc/application/configs/ACL.php @@ -67,7 +67,6 @@ $ccAcl->allow('G', 'index') ->allow('G', 'setup') ->allow('G', 'embeddablewidgets') ->allow('G', 'feeds') - ->allow('P', 'tracktype') ->allow('H', 'soundcloud') ->allow('H', 'rest:show-image') ->allow('H', 'rest:media') @@ -84,9 +83,10 @@ $ccAcl->allow('G', 'index') ->allow('H', 'showlistenerstat') ->allow('A', 'playouthistorytemplate') ->allow('A', 'user') + ->allow('A', 'tracktype') ->allow('A', 'systemstatus') ->allow('A', 'preference'); - + $aclPlugin = new Zend_Controller_Plugin_Acl($ccAcl); diff --git a/docs/manual/howtos/track-types.md b/docs/manual/howtos/track-types.md index f788da840..7f22d1886 100644 --- a/docs/manual/howtos/track-types.md +++ b/docs/manual/howtos/track-types.md @@ -8,28 +8,32 @@ 1. The default track type is 'Music' 1. Click the drop down menu to select another type -Now when uploading tracks, they will be set with the track type that is selected. This helps organize your track files by the type of audio uploaded. Example, if you have a group of files for commercials that needs to be uploaded, choose "Commercial". Now when uploading that group of files, all your tracks will be set with the "Commercial" type. Commercial is included by default with LT, but you can create your own type in settings. +Now when uploading tracks, you have the option to set a track type. This helps better identify and organize track files. If you have a group of files for commercials that needs to be uploaded, you can "Commercial" in the drop down menu and then upload the files. Commercial is included by default with LT, but you can create your own type in settings. ## Create track types 1. Click **Settings** 1. Click **Track Types** 1. Click **New Track Type** -1. On the "Code" field, type a unique code that can be easily identifiable. Example, for Music use "MUS". If no code is typed, it will use the Track Type ID number instead. If admin prefers using ID numbers, leave this field as it is or blank to automatically add it. +1. On the "Code" field, type a unique code that can be easily identifiable. Example, for Music use "MUS" or for Sound Effects use something like "FX". 1. On the "Type Name" field, type a the name of the type of tracks. Example, "Station IDs". 1. On the "Description" field, enter the description of the type given. -1. On the "Visibility" drop down menu, choose to enable or disable the track type. By default, it is enabled. If disabled, it won't be shown across Libretime, including in the API for developers. +1. On the "Visibility" drop down menu, choose to enable or disable the track type. By default, it is enabled. If disabled, it won't be shown across Libretime or in the API for developers. 1. Click **Save**. -**Audience**: Program Managers and Djs - ## Using track types with the uploaded tracks -1. Click **Dashboard**. +1. Click **Tracks**. 1. Select a track and click **Edit** 1. On "Track Type" drop down menu, select the type you would like use. Only the enabled track types that were added in Settings > Track Types will be shown here. 1. Click **Save**. +## Using track types with advanced search + +1. Click **Tracks**. +1. Click on the down caret **▼** that is to the right inside search box +1. On **Type** select the type of track you're searching for. + ## Using track types in Smart Blocks 1. Click **Smart Blocks**.