Save on add and WEBDL-480p on new
This commit is contained in:
parent
2a7f38f03d
commit
8b8d788c1b
Binary file not shown.
|
@ -109,15 +109,16 @@ QualityProfileCollectionView = Backbone.Marionette.CompositeView.extend({
|
|||
Name: '', Cutoff: 0, Qualities: [
|
||||
{ "Id": 0, "Weight": 0, "Name": "Unknown", "Allowed": false },
|
||||
{ "Id": 1, "Weight": 1, "Name": "SDTV", "Allowed": false },
|
||||
{ "Id": 2, "Weight": 2, "Name": "DVD", "Allowed": false },
|
||||
{ "Id": 8, "Weight": 2, "Name": "WEBDL-480p", "Allowed": false },
|
||||
{ "Id": 2, "Weight": 3, "Name": "DVD", "Allowed": false },
|
||||
{ "Id": 4, "Weight": 4, "Name": "HDTV", "Allowed": false },
|
||||
{ "Id": 5, "Weight": 5, "Name": "WEBDL-720p", "Allowed": false },
|
||||
{ "Id": 3, "Weight": 7, "Name": "WEBDL-1080p", "Allowed": false },
|
||||
{ "Id": 6, "Weight": 6, "Name": "Bluray720p", "Allowed": false },
|
||||
{ "Id": 3, "Weight": 6, "Name": "WEBDL-1080p", "Allowed": false },
|
||||
{ "Id": 6, "Weight": 7, "Name": "Bluray720p", "Allowed": false },
|
||||
{ "Id": 7, "Weight": 8, "Name": "Bluray1080p", "Allowed": false }
|
||||
]
|
||||
});
|
||||
|
||||
this.collection.add(newProfile);
|
||||
//Todo: Would be nice
|
||||
this.collection.create(newProfile);
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue