Update entry command
This commit is contained in:
parent
a2b6847325
commit
16299feced
8 changed files with 62 additions and 3 deletions
|
|
@ -5,6 +5,7 @@ import {mediaDbTag} from '../utils/Utils';
|
|||
|
||||
export class MusicReleaseModel extends MediaTypeModel {
|
||||
type: string;
|
||||
subType: string;
|
||||
title: string;
|
||||
englishTitle: string;
|
||||
year: string;
|
||||
|
|
@ -14,7 +15,6 @@ export class MusicReleaseModel extends MediaTypeModel {
|
|||
|
||||
genres: string[];
|
||||
artists: string[];
|
||||
subType: string;
|
||||
rating: number;
|
||||
|
||||
personalRating: number;
|
||||
|
|
@ -23,6 +23,8 @@ export class MusicReleaseModel extends MediaTypeModel {
|
|||
super();
|
||||
|
||||
Object.assign(this, obj);
|
||||
|
||||
this.type = 'musicRelease';
|
||||
}
|
||||
|
||||
toMetaData(): string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue