I have a strange issue in Subsonic. I'm using subsonic 6.1.6 (6.1.6 (build 0cfa60) – November 10, 2019) on a RPI4 since a (long) while without major issues.
Database is MariaDB.
I have recently discovered that, for an unknown reason, some Tracks (flac files) do not appear anymore in the Web UI. They exist in the DB and in the file system. I was able to play them in the past, but today, the Album appears empty in the UI.
This is true for all Tracks of the album, but the "cover" (jpg file) is visible.
I have "touched" the flac files, but this does not change anything.
All the albums (15 CD's) of the same directory have the same issue.
Trying to reach these tracks through the API raises the same issue: I cannot play them. This is thus not just a display issue.
Here is an example.
In the DB (I show only the 2 first tracks of the CD). It's a bit difficult to display long lines....
- Code: Select all
SELECT * FROM media_file WHERE path like '/MNT/Music/Music/flac/Classical/03-Baroque/JS Bach/Orgue/Olivier Viernet/Orgue/CD1/%';
+--------+-------------------------------------------------------------------------------------------------+-----------------------+-------+--------+---------+-------+---------+--------------+-------------+--------------+------+-------+----------+-------------------+------------------+-----------+-------+--------+----------------+------------------------------------------------------------------------------------+------------+---------------------+---------+---------------------+---------------------+---------------------+-----------------------+---------+---------+
| id | path | folder | type | format | title | album | artist | album_artist | disc_number | track_number | year | genre | bit_rate | variable_bit_rate | duration_seconds | file_size | width | height | cover_art_path | parent_path | play_count | last_played | comment | created | changed | last_scanned | children_last_updated | present | version |
+--------+-------------------------------------------------------------------------------------------------+-----------------------+-------+--------+---------+-------+---------+--------------+-------------+--------------+------+-------+----------+-------------------+------------------+-----------+-------+--------+----------------+------------------------------------------------------------------------------------+------------+---------------------+---------+---------------------+---------------------+---------------------+-----------------------+---------+---------+
| 176788 | /MNT/Music/Music/flac/Classical/03-Baroque/JS Bach/Orgue/Olivier Viernet/Orgue/CD1/Track01.flac | /MNT/Music/Music/flac | MUSIC | flac | Track01 | Orgue | JS Bach | JS Bach | NULL | NULL | NULL | NULL | 520 | 1 | 52 | 3402154 | NULL | NULL | NULL | /MNT/Music/Music/flac/Classical/03-Baroque/JS Bach/Orgue/Olivier Viernet/Orgue/CD1 | 2 | 2022-06-01 22:22:03 | NULL | 2019-01-03 22:17:15 | 2022-06-01 22:00:43 | 2022-06-02 06:51:54 | 1970-01-01 01:00:00 | 0 | 5 |
| 176768 | /MNT/Music/Music/flac/Classical/03-Baroque/JS Bach/Orgue/Olivier Viernet/Orgue/CD1/Track02.flac | /MNT/Music/Music/flac | MUSIC | flac | Track02 | Orgue | JS Bach | JS Bach | NULL | NULL | NULL | NULL | 585 | 1 | 118 | 8628766 | NULL | NULL | NULL | /MNT/Music/Music/flac/Classical/03-Baroque/JS Bach/Orgue/Olivier Viernet/Orgue/CD1 | 1 | 2022-06-01 22:22:50 | NULL | 2019-01-03 22:17:15 | 2022-06-01 22:00:43 | 2022-06-02 06:51:54 | 1970-01-01 01:00:00 | 0 | 5 |
.....
In the file system, same "Track01" with its parent drectories:
- Code: Select all
/media/music/Music/flac/Classical/03-Baroque/JS Bach/Orgue/Olivier Viernet/Orgue/CD1 $ ls -l
total 292168
-rwxr-xr-x 1 pi pi 3402154 Jun 1 22:00 Track01.flac
-rwxr-xr-x 1 pi pi 8628766 Jun 1 22:00 Track02.flac
.....
pi@raspberrypi:/media/music/Music/flac/Classical/03-Baroque/JS Bach/Orgue/Olivier Viernet $ ls -l
total 4
drwxr-xr-x 17 pi pi 4096 Jul 29 2010 Orgue
pi@raspberrypi:/media/music/Music/flac/Classical/03-Baroque/JS Bach/Orgue/Olivier Viernet/Orgue $ ls -l
total 60
drwxr-xr-x 2 pi pi 4096 May 8 2015 CD1
drwxr-xr-x 2 pi pi 4096 May 8 2015 CD2
drwxr-xr-x 2 pi pi 4096 May 8 2015 CD3
.....
/media/music/Music/flac/Classical/03-Baroque/JS Bach/Orgue/Olivier Viernet/Orgue/CD1 $ ls -l
total 292168
-rwxr-xr-x 1 pi pi 3402154 Jun 1 22:00 Track01.flac
-rwxr-xr-x 1 pi pi 8628766 Jun 1 22:00 Track02.flac
.....
Maybe recreating everything would solve the issue, but any help would be appreciated to understand what is wrong here. And maybe how to solve this.
Denis