Permalink
Browse files

Set the default Genre to 'Auphonic Production'

  • Loading branch information...
1 parent bd96bcd commit a633274add49c9b05b3a0f68f8d6a4da7143be77 @cpojer cpojer committed Nov 18, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −1 JavaScript/App/Metadata.js
  2. +1 −0 JavaScript/Auphonic.js
@@ -4,6 +4,8 @@ var View = require('View');
var CoverPhoto = require('./CoverPhoto');
+var Auphonic = require('Auphonic');
+
exports.getType = function() {
return 'metadata';
};
@@ -39,7 +41,7 @@ exports.createView = function(store, data) {
var metadata = store.get('metadata');
this.unserialize(Object.append({
'metadata.year': (new Date).getFullYear(),
- 'metadata.genre': 'Podcast'
+ 'metadata.genre': Auphonic.DefaultGenre
}, metadata));
}
});
View
@@ -6,6 +6,7 @@ exports.IssuesURL = 'https://github.com/auphonic/auphonic-mobile/issues';
exports.RegisterURL = 'https://auphonic.com/accounts/register/';
exports.ExternalServicesURL = 'https://auphonic.com/engine/services/';
exports.TeamImage = 'https://auphonic.com/media/pics/AuphonicTeam1_small.jpg';
+exports.DefaultGenre = 'Auphonic Production';
exports.TwitterURL = 'https://twitter.com/auphonic';
exports.FacebookURL = 'https://www.facebook.com/pages/auphonic/217115551651035';
exports.DefaultFileName = 'mobile-recording-{uuid}';

0 comments on commit a633274

Please sign in to comment.