Commit Graph

24 Commits

Author SHA1 Message Date
sentriz
61e11471b3 Fix non-folder folder empty parent ids
fixes #134
introduced by 711ffe144f

id          updated_at                           modified_at                          left_path   right_path  right_path_u_dec  parent_id   cover       tag_artist_id  tag_title   tag_title_u_dec  tag_brainz_id  tag_year
----------  -----------------------------------  -----------------------------------  ----------  ----------  ----------------  ----------  ----------  -------------  ----------  ---------------  -------------  ----------
1           2021-04-20 22:04:31.437318349+01:00  2021-04-20 21:35:55.423563144+01:00              .
2           2021-04-20 22:04:31.437920005+01:00  2021-04-20 21:35:50.766896425+01:00              luke
3           2021-04-20 22:04:31.475871668+01:00  2021-04-20 21:35:11.526895985+01:00  luke/       (2003) Yos                    2           folder.jpe  1              YosepH                       cf497d42-736a  2003
4           2021-04-20 22:04:31.476325505+01:00  2021-04-20 21:35:55.423563144+01:00              beng
5           2021-04-20 22:04:31.511647498+01:00  2021-04-20 21:35:27.060229492+01:00  beng/       (2013) Cha                    4           folder.jpg  2              Chapter II                   bcafa993-f065  2013

->

id          updated_at                           modified_at                          left_path   right_path  right_path_u_dec  parent_id   cover       tag_artist_id  tag_title   tag_title_u_dec  tag_brainz_id  tag_year
----------  -----------------------------------  -----------------------------------  ----------  ----------  ----------------  ----------  ----------  -------------  ----------  ---------------  -------------  ----------
1           2021-04-20 22:22:55.368005558+01:00  2021-04-20 21:35:55.423563144+01:00              .                                                                                                                0
2           2021-04-20 22:22:55.331985959+01:00  2021-04-20 21:35:50.766896425+01:00              luke                          1                                                                                  0
3           2021-04-20 22:22:55.33148277+01:00   2021-04-20 21:35:11.526895985+01:00  luke/       (2003) Yos                    2           folder.jpe  1              YosepH                       cf497d42-736a  2003
4           2021-04-20 22:22:55.367693081+01:00  2021-04-20 21:35:55.423563144+01:00              beng                          1                                                                                  0
5           2021-04-20 22:22:55.36711045+01:00   2021-04-20 21:35:27.060229492+01:00  beng/       (2013) Cha                    4           folder.jpg  2              Chapter II                   bcafa993-f065  2013
2021-04-20 23:12:15 +01:00
sentriz
51dc407f2e Add PodcastEpisodeStatusError 2021-03-04 19:38:34 +00:00
sentriz
3c926aab99 use enum for PodcastEpisodeStatus and PodcastAutoDownload 2021-03-04 19:38:34 +00:00
Alex McGrath
10fca91785 Add download all button and include options to automatically download new episodes 2021-03-04 19:38:34 +00:00
Alex McGrath
f7772303b0 Fix podcasts with / in the name 2021-02-18 12:18:35 +00:00
sentriz
7a1d57a43c support subsonic bookmarks 2021-02-03 22:55:05 +00:00
Alex McGrath
37fca3a087 add some podcast nit changes and make podcasts mandatory 2021-02-03 20:45:30 +00:00
Alex McGrath
9c4286b0e2 add support for subsonic podcast api 2021-02-03 20:45:30 +00:00
sentriz
a18929ad01 add custom listenbrainz url support and make ui "consistent"
Co-authored-by: spezifisch <spezifisch@users.noreply.github.com>
Co-authored-by: Alex McGrath <amk@amk.ie>
2021-01-12 11:26:36 +00:00
Alex McGrath
b9998f7ee6 Add support for scrobbling to listenbrainz 2021-01-12 11:26:36 +00:00
sentriz
711ffe144f album update after tag changes with no folder update 2021-01-03 18:15:16 +00:00
sentriz
cdc6622dc7 add genre clean 2021-01-03 18:15:16 +00:00
sentriz
de79b043e1 Add inital multiple artist support 2021-01-03 18:15:16 +00:00
Duncan Overbruck
df679a6ae3 Add duration and track_count to getArtist, getAlbum and getAlbumList2 2020-07-24 14:26:50 +01:00
sentriz
0581335622 assume incoming play queue current is an ID 2020-06-30 20:42:50 +01:00
sentriz
950656af4f use pointers to specid.ID in spec responses
a bit shit but this way we can have a nil value of ID so that the json
emitempty tag will do the thing
2020-06-06 18:13:45 +01:00
sentriz
1ef2d43d39 move the id type into spec 2020-06-06 18:13:45 +01:00
sentriz
07e1c53d69 fix primary_ket in genre model
should write a migration next
2020-06-06 14:58:03 +01:00
sentriz
c65606ba1f add some go-critic suggestions 2020-05-07 04:31:47 +01:00
sentriz
ee9335f71e remove globals 2020-05-07 03:24:50 +01:00
sentriz
debdfd13ad scanner: ormise clean artists 2020-05-02 23:07:34 +01:00
sentriz
b02ade3415 update golangci lint linter list 2020-05-02 04:22:26 +01:00
sentriz
5686517737 db: add indexes to album.tag_artist_id 2020-05-01 02:59:07 +01:00
sentriz
f52ce807af upgrade sqlite3 2020-04-25 01:55:46 +01:00