Random folders popping-up at the wrong place in "Files" view

Issue description:

I’ve some folders that pops-up at the wrong spot of the file tree in the “Files” view.
They are located in a subfolder and don’t appear there (see 1st screenshot), but symfonium shows them at the root of my library folder (2nd screenshot).

I’m using gonic 0.15.2

edit: same for that completely random “Artwork” folder that is definitely not there :clown_face:

Logs:

debug-20230307_040436.zip (436.8 KB)

Screenshots:


Symfonium displays the data returned by Gonic without any changes in file mode.

The Artwork folder is returned by Gonic. Ping @sentriz


{
  "subsonic-response": {
    "status": "ok",
    "version": "1.15.0",
    "type": "gonic",
    "indexes": {
      "lastModified": 0,
      "ignoredArticles": "",
      "index": [
        {
          "name": "a",
          "artist": [
            {
              "id": "al-2",
              "name": "African.Stuff",
              "albumCount": 6
            },
            {
              "id": "al-4434",
              "name": "Artwork",
              "coverArt": "al-4434",
              "albumCount": 0
            },
            {
              "id": "al-31",
              "name": "Asian.Stuff",
              "albumCount": 15
            }
          ]
        },
        {
          "name": "b",
          "artist": [
            {
              "id": "al-5990",
              "name": "Baroque_Classical",
              "albumCount": 3
            },
            {
              "id": "al-5995",
              "name": "BasedAndRedpilled",
              "albumCount": 17
            },
            {
              "id": "al-6428",
              "name": "Bemani",
              "albumCount": 2
            }
          ]
        },
        {
          "name": "d",
          "artist": [
            {
              "id": "al-6538",
              "name": "D.n.B_Jungle_Dubstep_Breakbeat_Glitch.Hop",
              "albumCount": 10
            }
          ]
        },
        {
          "name": "e",
          "artist": [
            {
              "id": "al-6818",
              "name": "Electro_House_Trance_Minimal_Dance_Eurobeat",
              "albumCount": 9
            },
            {
              "id": "al-6889",
              "name": "Euro_Stuff",
              "albumCount": 9
            }
          ]
        },
        {
          "name": "k",
          "artist": [
            {
              "id": "al-2010",
              "name": "Katsuko Kanai (金井克子) -1973.09.21- 他人の関係 {MHXX-2469} [WEB-FLAC] (2017-RE)",
              "coverArt": "al-2010",
              "albumCount": 0
            },
            {
              "id": "al-2011",
              "name": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
              "coverArt": "al-2011",
              "albumCount": 0
            }
          ]
        }
      ]
    }
  }
}

hi @ash when did you first scan your database?

to me it looks like there is an Artwork folder in your root directory. but you say there isn’t?

Hi @sentriz, no there isn’t.

@Tolriq

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.15.0",
    "type": "gonic",
    "directory": {
      "id": "al-2011",
      "parent": "al-2009",
      "name": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
      "child": [
        {
          "id": "tr-14600",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 927,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.311148891+01:00",
          "duration": 230,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/01. 他人の関係.flac",
          "size": 26737403,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "他人の関係",
          "track": 1,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14601",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 904,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.349497939+01:00",
          "duration": 181,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/02. 人間模様.flac",
          "size": 20542947,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "人間模様",
          "track": 2,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14602",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 900,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.381688968+01:00",
          "duration": 156,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/03. 女王蜂.flac",
          "size": 17662275,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "女王蜂",
          "track": 3,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14603",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 854,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.410642656+01:00",
          "duration": 199,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/04. 恋人たちの橋.flac",
          "size": 21334243,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "恋人たちの橋",
          "track": 4,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14604",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 847,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.434974952+01:00",
          "duration": 210,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/07. ああ無情.flac",
          "size": 22299287,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "ああ無情",
          "track": 7,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14605",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 917,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.482310849+01:00",
          "duration": 191,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/08. エロスの朝.flac",
          "size": 21974296,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "エロスの朝",
          "track": 8,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14606",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 883,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.522373391+01:00",
          "duration": 173,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/09. 花びらの化石.flac",
          "size": 19162338,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "花びらの化石",
          "track": 9,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14607",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 945,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.557807007+01:00",
          "duration": 179,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/10. 三角関係.flac",
          "size": 21165382,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "三角関係",
          "track": 10,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14608",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 870,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.60529803+01:00",
          "duration": 215,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/11. いくつのときかしら.flac",
          "size": 23450413,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "いくつのときかしら",
          "track": 11,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14609",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 934,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.632493217+01:00",
          "duration": 183,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/12. 蜜の誘惑.flac",
          "size": 21446075,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "蜜の誘惑",
          "track": 12,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14610",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 863,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.662081315+01:00",
          "duration": 167,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/13. 粋に愛して.flac",
          "size": 18122790,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "粋に愛して",
          "track": 13,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14611",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 943,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.700614057+01:00",
          "duration": 150,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/14. ちいさな罪.flac",
          "size": 17747102,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "ちいさな罪",
          "track": 14,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        },
        {
          "id": "tr-14612",
          "album": "Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)",
          "artist": "金井克子",
          "bitRate": 867,
          "contentType": "audio/x-flac",
          "transcodedContentType": "audio/ogg",
          "coverArt": "al-2011",
          "created": "2023-03-07T03:37:15.744426628+01:00",
          "duration": 243,
          "isDir": false,
          "isVideo": false,
          "parent": "al-2011",
          "path": "Asian.Stuff/Japanese/Kayokyoku/Katsuko_Kanai/Katsuko Kanai (金井克子) -2007.12.19- エッセンシャル・ベスト {MHCL-1261} [WEB-FLAC] (2014-RE)/15. 朝陽のように.flac",
          "size": 26367658,
          "suffix": "flac",
          "transcodedSuffix": "opus",
          "title": "朝陽のように",
          "track": 15,
          "discNumber": 1,
          "type": "music",
          "year": 2014
        }
      ]
    }
  }
}

:thinking:

This random JSON is supposed to mean something?

@ash and when did you first scan your database? just wondering since there were changes to the scanner a few months ago

grep 金井克子 debug.log

This “random JSON” is literally the next occurrence of “金井克子” (2023-03-07 04:04:31.495), a few minutes after the JSON you posted (2023-03-07 04:04:28.323)

I assumed it was worth it since it’s showing the correct path of each file.

I thought I had an issue with gonic at first, so I manually purged the db several times, but it kept happining again.

I just tried with another airsonic client (Ultrasonic), and it shows the same behaviour (random folders are shown in the root of the file tree). I will create an issue on gonic’s repo.

And then ?

I’ve explained you the issue and you just confirmed it.

All right then, this can be closed since it’s not Symfonium-related :slight_smile: