This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"plan": "mike_free", | |
"appKey": "aZw2eZrZc5MGJWejEzjV5g", | |
"iat": 1595750113, | |
"exp": 1606780800, | |
"iss": "PLAYTOKEN", | |
"sub": "9c2579401117e7208ba900cbd1f9244a", | |
"access": { | |
"deviceId": "c9139919-1811-4306-bf95", | |
"clientId": "e2f1d46c-140a-4f7f-89c4-f62054426b24", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Core Tenants | |
- Component Framework (PlayAction) | |
- accepts cross-platform components (plugins) as children | |
- facilitates communication between those components | |
- Developed for open source | |
- NFL Configuration/Theming/Data layer | |
Talking Points |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Games = require('../models/game'); | |
var controller = function() {}; | |
controller.prototype = { | |
delete: function (id, callback) { | |
Games.findById(id).exec(function (err, game) { | |
if (err) return callback({status: 500, body: err}); | |
game.remove(); | |
return callback({status: 204, body: ''}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function _radio_edit_cron() { | |
$this->_displayTemplate = false; | |
$cacheTtl = Ccomr_Util_Misc_CacheTtl::generate('TTL_NOCACHE'); | |
$this->_cacheTtl = $cacheTtl; | |
header("Cache-Control: max-age={$this->_cacheTtl}, must-revalidate"); | |
$reApi = new Ccomr_Api_RadioEdit(); | |
$streamApi = new Ccomr_Api_Stream(); | |
$old_version = $reApi->get_radio_edit_cron(); | |
if (!$old_version) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function defineStream($scope, result) { | |
$scope.streams = result; | |
_.each($scope.streams, function(resource, idx){ | |
$scope.streams[idx].object.then(function(data){ | |
data['provider_name'] = 'Clear Channel'; | |
data['primary_market_name'] = 'New York'; | |
data['primary_genre_name'] = 'Top 40'; | |
$scope.streams[idx].info = data; | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope.test = []; | |
var q = new Query('/streammanager/stations/**'); | |
q.all().then(function(resp){ | |
$scope.test = resp; | |
}); | |
console.log($scope.test); |