diff --git a/server/ctrlsubsonic/testdata/db b/server/ctrlsubsonic/testdata/db index 73093cb..e63ce8b 100644 Binary files a/server/ctrlsubsonic/testdata/db and b/server/ctrlsubsonic/testdata/db differ diff --git a/server/ctrlsubsonic/testdata/test_get_album_list_alpha_artist b/server/ctrlsubsonic/testdata/test_get_album_list_alpha_artist index 14b0172..3cc7e78 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_list_alpha_artist +++ b/server/ctrlsubsonic/testdata/test_get_album_list_alpha_artist @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "albumList": { "album": [ { diff --git a/server/ctrlsubsonic/testdata/test_get_album_list_alpha_name b/server/ctrlsubsonic/testdata/test_get_album_list_alpha_name index f18e1cc..68069b7 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_list_alpha_name +++ b/server/ctrlsubsonic/testdata/test_get_album_list_alpha_name @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "albumList": { "album": [ { diff --git a/server/ctrlsubsonic/testdata/test_get_album_list_newest b/server/ctrlsubsonic/testdata/test_get_album_list_newest index b97722e..5e1979d 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_list_newest +++ b/server/ctrlsubsonic/testdata/test_get_album_list_newest @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "albumList": { "album": [ { diff --git a/server/ctrlsubsonic/testdata/test_get_album_list_random b/server/ctrlsubsonic/testdata/test_get_album_list_random index 7f3fe18..0dda704 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_list_random +++ b/server/ctrlsubsonic/testdata/test_get_album_list_random @@ -3,9 +3,27 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "albumList": { "album": [ + { + "id": 9, + "coverArt": 9, + "artist": "13th Floor Lowervators", + "title": "(1966) The Psychedelic Sounds of the 13th Floor Elevators", + "parent": 7, + "isDir": true, + "created": "0001-01-01T00:00:00Z" + }, + { + "id": 13, + "coverArt": 13, + "artist": "There", + "title": "(2010) Anika", + "parent": 12, + "isDir": true, + "created": "0001-01-01T00:00:00Z" + }, { "id": 16, "coverArt": 16, @@ -15,6 +33,42 @@ "isDir": true, "created": "0001-01-01T00:00:00Z" }, + { + "id": 21, + "coverArt": 21, + "artist": "Captain Beefheart", + "title": "(1970) Lick My Decals Off, Bitch", + "parent": 20, + "isDir": true, + "created": "0001-01-01T00:00:00Z" + }, + { + "id": 19, + "coverArt": 19, + "artist": "Ten Years After", + "title": "(1967) Ten Years After", + "parent": 18, + "isDir": true, + "created": "0001-01-01T00:00:00Z" + }, + { + "id": 5, + "coverArt": 5, + "artist": "A Certain Ratio", + "title": "(1994) The Graveyard and the Ballroom", + "parent": 4, + "isDir": true, + "created": "0001-01-01T00:00:00Z" + }, + { + "id": 17, + "coverArt": 17, + "artist": "Swell Maps", + "title": "(1979) A Trip to Marineville", + "parent": 15, + "isDir": true, + "created": "0001-01-01T00:00:00Z" + }, { "id": 3, "coverArt": 3, @@ -25,11 +79,11 @@ "created": "0001-01-01T00:00:00Z" }, { - "id": 21, - "coverArt": 21, - "artist": "Captain Beefheart", - "title": "(1970) Lick My Decals Off, Bitch", - "parent": 20, + "id": 8, + "coverArt": 8, + "artist": "13th Floor Lowervators", + "title": "(1967) Easter Nowhere", + "parent": 7, "isDir": true, "created": "0001-01-01T00:00:00Z" }, @@ -41,60 +95,6 @@ "parent": 4, "isDir": true, "created": "0001-01-01T00:00:00Z" - }, - { - "id": 19, - "coverArt": 19, - "artist": "Ten Years After", - "title": "(1967) Ten Years After", - "parent": 18, - "isDir": true, - "created": "0001-01-01T00:00:00Z" - }, - { - "id": 13, - "coverArt": 13, - "artist": "There", - "title": "(2010) Anika", - "parent": 12, - "isDir": true, - "created": "0001-01-01T00:00:00Z" - }, - { - "id": 8, - "coverArt": 8, - "artist": "13th Floor Lowervators", - "title": "(1967) Easter Nowhere", - "parent": 7, - "isDir": true, - "created": "0001-01-01T00:00:00Z" - }, - { - "id": 17, - "coverArt": 17, - "artist": "Swell Maps", - "title": "(1979) A Trip to Marineville", - "parent": 15, - "isDir": true, - "created": "0001-01-01T00:00:00Z" - }, - { - "id": 9, - "coverArt": 9, - "artist": "13th Floor Lowervators", - "title": "(1966) The Psychedelic Sounds of the 13th Floor Elevators", - "parent": 7, - "isDir": true, - "created": "0001-01-01T00:00:00Z" - }, - { - "id": 5, - "coverArt": 5, - "artist": "A Certain Ratio", - "title": "(1994) The Graveyard and the Ballroom", - "parent": 4, - "isDir": true, - "created": "0001-01-01T00:00:00Z" } ] } diff --git a/server/ctrlsubsonic/testdata/test_get_album_list_two_alpha_artist b/server/ctrlsubsonic/testdata/test_get_album_list_two_alpha_artist index 0b8f95e..6c22014 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_list_two_alpha_artist +++ b/server/ctrlsubsonic/testdata/test_get_album_list_two_alpha_artist @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "albumList2": { "album": [ { diff --git a/server/ctrlsubsonic/testdata/test_get_album_list_two_alpha_name b/server/ctrlsubsonic/testdata/test_get_album_list_two_alpha_name index a134a0c..c14489d 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_list_two_alpha_name +++ b/server/ctrlsubsonic/testdata/test_get_album_list_two_alpha_name @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "albumList2": { "album": [ { diff --git a/server/ctrlsubsonic/testdata/test_get_album_list_two_newest b/server/ctrlsubsonic/testdata/test_get_album_list_two_newest index 26a72cf..cf02460 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_list_two_newest +++ b/server/ctrlsubsonic/testdata/test_get_album_list_two_newest @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "albumList2": { "album": [ { diff --git a/server/ctrlsubsonic/testdata/test_get_album_list_two_random b/server/ctrlsubsonic/testdata/test_get_album_list_two_random index 32f57f0..40b4624 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_list_two_random +++ b/server/ctrlsubsonic/testdata/test_get_album_list_two_random @@ -3,9 +3,24 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "albumList2": { "album": [ + { + "id": 8, + "coverArt": 8, + "artistId": 3, + "artist": "13th Floor Elevators", + "name": "Easter Everywhere", + "created": "2019-06-13T12:57:28.850090338+01:00" + }, + { + "id": 6, + "artistId": 2, + "artist": "A Certain Ratio", + "name": "To Each...", + "created": "2019-05-23T15:12:02.921473302+01:00" + }, { "id": 3, "coverArt": 3, @@ -15,11 +30,27 @@ "created": "2019-05-16T22:10:52+01:00" }, { - "id": 17, - "coverArt": 17, + "id": 5, + "coverArt": 5, + "artistId": 2, + "artist": "A Certain Ratio", + "name": "The Graveyard and the Ballroom", + "created": "2019-06-05T17:46:37.675917974+01:00" + }, + { + "id": 21, + "coverArt": 21, + "artistId": 7, + "artist": "Captain Beefheart & His Magic Band", + "name": "Lick My Decals Off, Baby", + "created": "2019-06-10T19:26:30.944742894+01:00" + }, + { + "id": 16, + "coverArt": 16, "artistId": 5, "artist": "Swell Maps", - "name": "A Trip to Marineville", + "name": "Jane From Occupied Europe", "created": "2019-04-30T16:48:48+01:00" }, { @@ -31,28 +62,12 @@ "created": "2019-05-23T15:12:02.921473302+01:00" }, { - "id": 5, - "coverArt": 5, - "artistId": 2, - "artist": "A Certain Ratio", - "name": "The Graveyard and the Ballroom", - "created": "2019-06-05T17:46:37.675917974+01:00" - }, - { - "id": 8, - "coverArt": 8, - "artistId": 3, - "artist": "13th Floor Elevators", - "name": "Easter Everywhere", - "created": "2019-06-13T12:57:28.850090338+01:00" - }, - { - "id": 21, - "coverArt": 21, - "artistId": 7, - "artist": "Captain Beefheart & His Magic Band", - "name": "Lick My Decals Off, Baby", - "created": "2019-06-10T19:26:30.944742894+01:00" + "id": 19, + "coverArt": 19, + "artistId": 6, + "artist": "Ten Years After", + "name": "Ten Years After", + "created": "2019-04-30T16:48:30+01:00" }, { "id": 9, @@ -63,27 +78,12 @@ "created": "2019-06-13T12:57:24.306717554+01:00" }, { - "id": 6, - "artistId": 2, - "artist": "A Certain Ratio", - "name": "To Each...", - "created": "2019-05-23T15:12:02.921473302+01:00" - }, - { - "id": 16, - "coverArt": 16, + "id": 17, + "coverArt": 17, "artistId": 5, "artist": "Swell Maps", - "name": "Jane From Occupied Europe", + "name": "A Trip to Marineville", "created": "2019-04-30T16:48:48+01:00" - }, - { - "id": 19, - "coverArt": 19, - "artistId": 6, - "artist": "Ten Years After", - "name": "Ten Years After", - "created": "2019-04-30T16:48:30+01:00" } ] } diff --git a/server/ctrlsubsonic/testdata/test_get_album_with_cover b/server/ctrlsubsonic/testdata/test_get_album_with_cover index 7c9b75a..1670050 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_with_cover +++ b/server/ctrlsubsonic/testdata/test_get_album_with_cover @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "album": { "id": 3, "coverArt": 3, diff --git a/server/ctrlsubsonic/testdata/test_get_album_without_cover b/server/ctrlsubsonic/testdata/test_get_album_without_cover index 0671fcc..1d0c709 100644 --- a/server/ctrlsubsonic/testdata/test_get_album_without_cover +++ b/server/ctrlsubsonic/testdata/test_get_album_without_cover @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "album": { "id": 2, "created": "2019-05-16T22:10:21+01:00" diff --git a/server/ctrlsubsonic/testdata/test_get_artist_id_one b/server/ctrlsubsonic/testdata/test_get_artist_id_one index 2bd870b..61e0149 100644 --- a/server/ctrlsubsonic/testdata/test_get_artist_id_one +++ b/server/ctrlsubsonic/testdata/test_get_artist_id_one @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "artist": { "id": 1, "name": "Jah Wobble, The Edge & Holger Czukay", diff --git a/server/ctrlsubsonic/testdata/test_get_artist_id_three b/server/ctrlsubsonic/testdata/test_get_artist_id_three index 19729dd..256f61b 100644 --- a/server/ctrlsubsonic/testdata/test_get_artist_id_three +++ b/server/ctrlsubsonic/testdata/test_get_artist_id_three @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "artist": { "id": 3, "name": "13th Floor Elevators", diff --git a/server/ctrlsubsonic/testdata/test_get_artist_id_two b/server/ctrlsubsonic/testdata/test_get_artist_id_two index d97e589..efd610c 100644 --- a/server/ctrlsubsonic/testdata/test_get_artist_id_two +++ b/server/ctrlsubsonic/testdata/test_get_artist_id_two @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "artist": { "id": 2, "name": "A Certain Ratio", diff --git a/server/ctrlsubsonic/testdata/test_get_artists_no_args b/server/ctrlsubsonic/testdata/test_get_artists_no_args index 55af6a1..2ecb6a8 100644 --- a/server/ctrlsubsonic/testdata/test_get_artists_no_args +++ b/server/ctrlsubsonic/testdata/test_get_artists_no_args @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "artists": { "index": [ { diff --git a/server/ctrlsubsonic/testdata/test_get_indexes_no_args b/server/ctrlsubsonic/testdata/test_get_indexes_no_args index bdb12d1..57ecd89 100644 --- a/server/ctrlsubsonic/testdata/test_get_indexes_no_args +++ b/server/ctrlsubsonic/testdata/test_get_indexes_no_args @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "indexes": { "lastModified": 0, "index": [ diff --git a/server/ctrlsubsonic/testdata/test_get_music_directory_with_tracks b/server/ctrlsubsonic/testdata/test_get_music_directory_with_tracks index ee7c9f0..1083367 100644 --- a/server/ctrlsubsonic/testdata/test_get_music_directory_with_tracks +++ b/server/ctrlsubsonic/testdata/test_get_music_directory_with_tracks @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "directory": { "id": 3, "parent": 2, diff --git a/server/ctrlsubsonic/testdata/test_get_music_directory_without_tracks b/server/ctrlsubsonic/testdata/test_get_music_directory_without_tracks index 0b56701..de4c8ad 100644 --- a/server/ctrlsubsonic/testdata/test_get_music_directory_without_tracks +++ b/server/ctrlsubsonic/testdata/test_get_music_directory_without_tracks @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "directory": { "id": 2, "parent": 1, diff --git a/server/ctrlsubsonic/testdata/test_search_three_q_13 b/server/ctrlsubsonic/testdata/test_search_three_q_13 index 58ccf48..5b4262c 100644 --- a/server/ctrlsubsonic/testdata/test_search_three_q_13 +++ b/server/ctrlsubsonic/testdata/test_search_three_q_13 @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "searchResult3": { "artist": [ { diff --git a/server/ctrlsubsonic/testdata/test_search_three_q_ani b/server/ctrlsubsonic/testdata/test_search_three_q_ani index 344bbc0..9ccbc13 100644 --- a/server/ctrlsubsonic/testdata/test_search_three_q_ani +++ b/server/ctrlsubsonic/testdata/test_search_three_q_ani @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "searchResult3": { "artist": [ { diff --git a/server/ctrlsubsonic/testdata/test_search_three_q_cert b/server/ctrlsubsonic/testdata/test_search_three_q_cert index 37ff5ea..b8afbef 100644 --- a/server/ctrlsubsonic/testdata/test_search_three_q_cert +++ b/server/ctrlsubsonic/testdata/test_search_three_q_cert @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "searchResult3": { "artist": [ { diff --git a/server/ctrlsubsonic/testdata/test_search_two_q_13 b/server/ctrlsubsonic/testdata/test_search_two_q_13 index 9a779c3..5ec16bf 100644 --- a/server/ctrlsubsonic/testdata/test_search_two_q_13 +++ b/server/ctrlsubsonic/testdata/test_search_two_q_13 @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "searchResult2": { "artist": [ { diff --git a/server/ctrlsubsonic/testdata/test_search_two_q_ani b/server/ctrlsubsonic/testdata/test_search_two_q_ani index 166c75a..d79ba5c 100644 --- a/server/ctrlsubsonic/testdata/test_search_two_q_ani +++ b/server/ctrlsubsonic/testdata/test_search_two_q_ani @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "searchResult2": { "artist": [ { diff --git a/server/ctrlsubsonic/testdata/test_search_two_q_cert b/server/ctrlsubsonic/testdata/test_search_two_q_cert index 3901c91..24af193 100644 --- a/server/ctrlsubsonic/testdata/test_search_two_q_cert +++ b/server/ctrlsubsonic/testdata/test_search_two_q_cert @@ -3,7 +3,7 @@ "status": "ok", "version": "1.9.0", "type": "gonic", - "gonicVersion": "v0.5.1", + "gonicVersion": "v0.5.2", "searchResult2": { "artist": [ { diff --git a/version/version.go b/version/version.go index 089233e..372edd1 100644 --- a/version/version.go +++ b/version/version.go @@ -1,5 +1,5 @@ // generated by `_do_bump_version` script in project root -// Wed Jan 22 15:02:57 GMT 2020 +// Thu Jan 23 17:19:15 GMT 2020 // DO NOT EDIT package version @@ -8,4 +8,4 @@ const NAME = "gonic" const NAME_UPPER = "GONIC" const NAME_EMBED = "gonicembed" const NAME_SCAN = "gonicscan" -const VERSION = "v0.5.1" +const VERSION = "v0.5.2"