don't give a cover id for a cover that doesn't exist

This commit is contained in:
sentriz
2019-06-06 16:39:35 +01:00
parent 448ca67991
commit 51bb3b6ea5
18 changed files with 157 additions and 96 deletions

View File

@@ -8,16 +8,18 @@
"artistId": 1,
"artist": "A Certain Ratio",
"name": "The Graveyard and the Ballroom",
"created": "2019-06-05T16:00:10.54747823+01:00",
"created": "2019-06-06T16:38:39.298724062+01:00",
"song": [
{
"album": "The Graveyard and the Ballroom",
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 922,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.552108331+01:00",
"created": "2019-06-06T16:38:39.302489659+01:00",
"duration": 174,
"id": 12,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/01.14 Do the Du (casse).flac",
@@ -32,9 +34,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 916,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.550632503+01:00",
"created": "2019-06-06T16:38:39.301301007+01:00",
"duration": 142,
"id": 8,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/02.14 Faceless.flac",
@@ -49,9 +53,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 957,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.549864008+01:00",
"created": "2019-06-06T16:38:39.300698509+01:00",
"duration": 174,
"id": 6,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/03.14 Crippled Child.flac",
@@ -66,9 +72,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 961,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.551742258+01:00",
"created": "2019-06-06T16:38:39.302194015+01:00",
"duration": 201,
"id": 11,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/04.14 Choir.flac",
@@ -83,9 +91,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 924,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.548393601+01:00",
"created": "2019-06-06T16:38:39.299490189+01:00",
"duration": 210,
"id": 2,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/05.14 Flight.flac",
@@ -100,9 +110,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 961,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.552469878+01:00",
"created": "2019-06-06T16:38:39.302789079+01:00",
"duration": 131,
"id": 13,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/06.14 I Feel.flac",
@@ -117,9 +129,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 929,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.552842449+01:00",
"created": "2019-06-06T16:38:39.303072046+01:00",
"duration": 148,
"id": 14,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/07.14 Strain.flac",
@@ -134,9 +148,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 898,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.549504916+01:00",
"created": "2019-06-06T16:38:39.300381932+01:00",
"duration": 217,
"id": 5,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/08.14 All Night Party.flac",
@@ -151,9 +167,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 877,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.549134887+01:00",
"created": "2019-06-06T16:38:39.300087164+01:00",
"duration": 235,
"id": 4,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/09.14 Oceans.flac",
@@ -168,9 +186,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 888,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.551373999+01:00",
"created": "2019-06-06T16:38:39.301890876+01:00",
"duration": 212,
"id": 10,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/10.14 The Choir.flac",
@@ -185,9 +205,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 916,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.550996621+01:00",
"created": "2019-06-06T16:38:39.301604638+01:00",
"duration": 205,
"id": 9,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/11.14 The Fox.flac",
@@ -202,9 +224,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 900,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.55027053+01:00",
"created": "2019-06-06T16:38:39.301006358+01:00",
"duration": 144,
"id": 7,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/12.14 Suspect.flac",
@@ -219,9 +243,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 877,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.547986038+01:00",
"created": "2019-06-06T16:38:39.299163755+01:00",
"duration": 332,
"id": 1,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/13.14 Flight.flac",
@@ -236,9 +262,11 @@
"albumId": 3,
"artist": "A Certain Ratio",
"artistId": 1,
"bitRate": 893,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-06-05T16:00:10.548763765+01:00",
"created": "2019-06-06T16:38:39.299791782+01:00",
"duration": 213,
"id": 3,
"parent": 3,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/14.14 Genotype_Phenotype.flac",