[Bug]: ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : #2450

Closed
opened 2026-04-25 00:07:18 +02:00 by adam · 12 comments
Owner

Originally created by @code-goat on GitHub (Jan 1, 2025).

What happened?

Scanning or uploading my audio files into audiobookshelf doesn't work. After scanning .mp3 files, the library remains empty.

What did you expect to happen?

That the audiobooks be added to my library.

Steps to reproduce the issue

  1. Click "Scan Library"

Audiobookshelf version

v2.17.5

How are you running audiobookshelf?

Other (list in "Additional Notes" box)

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

025-01-01 14:15:33.826

INFO

[CacheManager] Purging all cache at "/var/lib/audiobookshelf/metadata/cache"

2025-01-01 14:15:36.285

INFO

[CacheManager] Purging items cache at "/var/lib/audiobookshelf/metadata/cache/items"

2025-01-01 14:15:39.782

INFO

[CacheManager] Purging all cache at "/var/lib/audiobookshelf/metadata/cache"

2025-01-01 14:15:44.987

INFO

[LibraryScanner] Starting library scan 78c950c2-0f1b-4f4e-8fd5-ff698dee488f for Audiobooks

2025-01-01 14:15:47.850

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 09 of 11.mp3"

2025-01-01 14:15:48.965

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 03 of 11.mp3"

2025-01-01 14:15:49.284

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 07 of 11.mp3"

2025-01-01 14:15:49.382

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 06 of 11.mp3"

2025-01-01 14:15:49.393

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 05 of 11.mp3"

2025-01-01 14:15:49.441

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 04 of 11.mp3"

2025-01-01 14:15:50.259

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 02 of 11.mp3"

2025-01-01 14:15:50.306

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 01 of 11.mp3"

2025-01-01 14:15:50.353

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 11 of 11.mp3"

2025-01-01 14:15:50.443

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 10 of 11.mp3"

2025-01-01 14:15:50.486

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 08 of 11.mp3"

2025-01-01 14:15:52.287

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 5 of 5.mp3"

2025-01-01 14:15:52.475

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 3 of 5.mp3"

2025-01-01 14:15:53.660

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 1 of 5.mp3"

2025-01-01 14:15:54.022

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 1 of 6.mp3"

2025-01-01 14:15:54.824

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 2 of 5.mp3"

2025-01-01 14:15:55.008

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 3 of 6.mp3"

2025-01-01 14:15:55.391

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 4 of 6.mp3"

2025-01-01 14:15:55.431

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 4 of 5.mp3"

2025-01-01 14:15:55.643

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 6 of 6.mp3"

2025-01-01 14:15:55.780

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 5 of 6.mp3"

2025-01-01 14:15:55.972

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 2 of 6.mp3"

2025-01-01 14:15:57.529

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 4 of 5.mp3"

2025-01-01 14:15:58.438

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 3 of 5.mp3"

2025-01-01 14:15:59.755

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 1 of 5.mp3"

2025-01-01 14:15:59.926

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 1 of 5.mp3"

2025-01-01 14:15:59.943

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 3 of 5.mp3"

2025-01-01 14:16:00.628

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 4 of 5.mp3"

2025-01-01 14:16:00.707

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 5 of 5.mp3"

2025-01-01 14:16:00.969

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 2 of 5.mp3"

2025-01-01 14:16:00.978

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 5 of 5.mp3"

2025-01-01 14:16:01.278

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 2 of 5.mp3"

2025-01-01 14:16:03.297

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 5 of 8.mp3"

2025-01-01 14:16:04.616

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 8 of 8.mp3"

2025-01-01 14:16:05.185

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 1 of 7.mp3"

2025-01-01 14:16:06.140

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 6 of 8.mp3"

2025-01-01 14:16:06.581

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 2 of 7.mp3"

2025-01-01 14:16:07.168

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 3 of 7.mp3"

2025-01-01 14:16:07.228

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 4 of 7.mp3"

2025-01-01 14:16:07.353

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 2 of 8.mp3"

2025-01-01 14:16:07.469

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 3 of 8.mp3"

2025-01-01 14:16:07.791

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 4 of 8.mp3"

2025-01-01 14:16:08.124

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 7 of 8.mp3"

2025-01-01 14:16:08.240

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 7 of 7.mp3"

2025-01-01 14:16:08.373

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 6 of 7.mp3"

2025-01-01 14:16:08.559

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 5 of 7.mp3"

2025-01-01 14:16:08.611

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 1 of 8.mp3"

2025-01-01 14:16:10.466

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 3 of 5.mp3"

2025-01-01 14:16:11.338

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 5 of 5.mp3"

2025-01-01 14:16:11.796

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 1 of 5.mp3"

2025-01-01 14:16:12.760

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 3 of 5.mp3"

2025-01-01 14:16:13.435

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 4 of 5.mp3"

2025-01-01 14:16:13.485

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 4 of 5.mp3"

2025-01-01 14:16:13.830

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 5 of 5.mp3"

2025-01-01 14:16:13.831

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 2 of 5.mp3"

2025-01-01 14:16:13.982

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 1 of 5.mp3"

2025-01-01 14:16:14.089

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 2 of 5.mp3"

2025-01-01 14:16:16.200

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_02_malatesta_64kb.mp3"

2025-01-01 14:16:16.396

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_01_malatesta_64kb.mp3"

2025-01-01 14:16:16.504

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_05_malatesta_64kb.mp3"

2025-01-01 14:16:16.616

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_04_malatesta_64kb.mp3"

2025-01-01 14:16:16.755

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_03_malatesta_64kb.mp3"

2025-01-01 14:16:19.437

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_14_aesop_64kb.mp3"

2025-01-01 14:16:20.322

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_17_aesop_64kb.mp3"

2025-01-01 14:16:21.120

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_19_aesop_64kb.mp3"

2025-01-01 14:16:22.910

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_05_aesop_64kb.mp3"

2025-01-01 14:16:23.125

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_03_aesop_64kb.mp3"

2025-01-01 14:16:23.126

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_06_aesop_64kb.mp3"

2025-01-01 14:16:23.142

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_09_aesop_64kb.mp3"

2025-01-01 14:16:23.221

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_07_aesop_64kb.mp3"

2025-01-01 14:16:23.464

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_00_aesop_64kb.mp3"

2025-01-01 14:16:23.489

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_12_aesop_64kb.mp3"

2025-01-01 14:16:23.524

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesopsfablesnewtranslation_08_aesop_64kb.mp3"

2025-01-01 14:16:23.536

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_18_aesop_64kb.mp3"

2025-01-01 14:16:24.166

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_13_aesop_64kb.mp3"

2025-01-01 14:16:24.757

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_02_aesop_64kb.mp3"

2025-01-01 14:16:24.990

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_11_aesop_64kb.mp3"

2025-01-01 14:16:24.993

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_15_aesop_64kb.mp3"

2025-01-01 14:16:25.184

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_10_aesop_64kb.mp3"

2025-01-01 14:16:25.257

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_01_aesop_64kb.mp3"

2025-01-01 14:16:25.427

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_16_aesop_64kb.mp3"

2025-01-01 14:16:25.499

ERROR

[AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_04_aesop_64kb.mp3"

2025-01-01 14:16:25.500

INFO

[LibraryScanner] Library scan "78c950c2-0f1b-4f4e-8fd5-ff698dee488f" completed in 0:40.0 | 0 Added | 0 Updated | 0 Missing

2025-01-01 14:16:25.538

INFO

[LibraryScan] Scan log saved "/var/lib/audiobookshelf/metadata/logs/scans/2025-01-01_78c950c2-0f1b-4f4e-8fd5-ff698dee488f.txt"

2025-01-01 14:16:25.539

INFO

[LibraryController] Scan complete

2025-01-01 14:29:38.497

INFO

[SocketAuthority] Socket Connected to /socket.io HqM4peLtbifE7heQAAAD

2025-01-01 14:31:49.753

DEBUG

Set Log Level to DEBUG

2025-01-01 14:31:49.776

DEBUG

[ApiCacheManager] Array.afterUpsert: Clearing cache

Additional Notes

  • I have checked my folder, user, and group permissions.
  • I am running Audiobookshelf on NixOS, as a service.
Originally created by @code-goat on GitHub (Jan 1, 2025). ### What happened? Scanning or uploading my audio files into audiobookshelf doesn't work. After scanning .mp3 files, the library remains empty. ### What did you expect to happen? That the audiobooks be added to my library. ### Steps to reproduce the issue 1. Click "Scan Library" ### Audiobookshelf version v2.17.5 ### How are you running audiobookshelf? Other (list in "Additional Notes" box) ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell 025-01-01 14:15:33.826 INFO [CacheManager] Purging all cache at "/var/lib/audiobookshelf/metadata/cache" 2025-01-01 14:15:36.285 INFO [CacheManager] Purging items cache at "/var/lib/audiobookshelf/metadata/cache/items" 2025-01-01 14:15:39.782 INFO [CacheManager] Purging all cache at "/var/lib/audiobookshelf/metadata/cache" 2025-01-01 14:15:44.987 INFO [LibraryScanner] Starting library scan 78c950c2-0f1b-4f4e-8fd5-ff698dee488f for Audiobooks 2025-01-01 14:15:47.850 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 09 of 11.mp3" 2025-01-01 14:15:48.965 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 03 of 11.mp3" 2025-01-01 14:15:49.284 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 07 of 11.mp3" 2025-01-01 14:15:49.382 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 06 of 11.mp3" 2025-01-01 14:15:49.393 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 05 of 11.mp3" 2025-01-01 14:15:49.441 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 04 of 11.mp3" 2025-01-01 14:15:50.259 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 02 of 11.mp3" 2025-01-01 14:15:50.306 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 01 of 11.mp3" 2025-01-01 14:15:50.353 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 11 of 11.mp3" 2025-01-01 14:15:50.443 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 10 of 11.mp3" 2025-01-01 14:15:50.486 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 5 - Goldenhand/Garth Nix - Old Kingdom 5 - Goldenhand Part 08 of 11.mp3" 2025-01-01 14:15:52.287 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 5 of 5.mp3" 2025-01-01 14:15:52.475 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 3 of 5.mp3" 2025-01-01 14:15:53.660 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 1 of 5.mp3" 2025-01-01 14:15:54.022 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 1 of 6.mp3" 2025-01-01 14:15:54.824 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 2 of 5.mp3" 2025-01-01 14:15:55.008 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 3 of 6.mp3" 2025-01-01 14:15:55.391 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 4 of 6.mp3" 2025-01-01 14:15:55.431 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.2 Part 4 of 5.mp3" 2025-01-01 14:15:55.643 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 6 of 6.mp3" 2025-01-01 14:15:55.780 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 5 of 6.mp3" 2025-01-01 14:15:55.972 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 4 - Clariel/Garth Nix - Old Kingdom 4 - Clariel pt.1 Part 2 of 6.mp3" 2025-01-01 14:15:57.529 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 4 of 5.mp3" 2025-01-01 14:15:58.438 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 3 of 5.mp3" 2025-01-01 14:15:59.755 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 1 of 5.mp3" 2025-01-01 14:15:59.926 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 1 of 5.mp3" 2025-01-01 14:15:59.943 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 3 of 5.mp3" 2025-01-01 14:16:00.628 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 4 of 5.mp3" 2025-01-01 14:16:00.707 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 5 of 5.mp3" 2025-01-01 14:16:00.969 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 2 of 5.mp3" 2025-01-01 14:16:00.978 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.2 Part 5 of 5.mp3" 2025-01-01 14:16:01.278 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 3 - Abhorsen/Garth Nix - Old Kingdom 3 - Abhorsen pt.1 Part 2 of 5.mp3" 2025-01-01 14:16:03.297 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 5 of 8.mp3" 2025-01-01 14:16:04.616 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 8 of 8.mp3" 2025-01-01 14:16:05.185 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 1 of 7.mp3" 2025-01-01 14:16:06.140 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 6 of 8.mp3" 2025-01-01 14:16:06.581 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 2 of 7.mp3" 2025-01-01 14:16:07.168 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 3 of 7.mp3" 2025-01-01 14:16:07.228 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 4 of 7.mp3" 2025-01-01 14:16:07.353 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 2 of 8.mp3" 2025-01-01 14:16:07.469 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 3 of 8.mp3" 2025-01-01 14:16:07.791 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 4 of 8.mp3" 2025-01-01 14:16:08.124 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 7 of 8.mp3" 2025-01-01 14:16:08.240 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 7 of 7.mp3" 2025-01-01 14:16:08.373 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 6 of 7.mp3" 2025-01-01 14:16:08.559 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.2 Part 5 of 7.mp3" 2025-01-01 14:16:08.611 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 2 - Lirael/Garth Nix - Old Kingdom 2 - Lirael pt.1 Part 1 of 8.mp3" 2025-01-01 14:16:10.466 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 3 of 5.mp3" 2025-01-01 14:16:11.338 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 5 of 5.mp3" 2025-01-01 14:16:11.796 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 1 of 5.mp3" 2025-01-01 14:16:12.760 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 3 of 5.mp3" 2025-01-01 14:16:13.435 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 4 of 5.mp3" 2025-01-01 14:16:13.485 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 4 of 5.mp3" 2025-01-01 14:16:13.830 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 5 of 5.mp3" 2025-01-01 14:16:13.831 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.1 Part 2 of 5.mp3" 2025-01-01 14:16:13.982 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 1 of 5.mp3" 2025-01-01 14:16:14.089 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Garth Nix/Garth Nix - Old Kingdom 1 - Sabriel/Garth Nix - Old Kingdom 1 - Sabriel Pt.2 Part 2 of 5.mp3" 2025-01-01 14:16:16.200 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_02_malatesta_64kb.mp3" 2025-01-01 14:16:16.396 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_01_malatesta_64kb.mp3" 2025-01-01 14:16:16.504 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_05_malatesta_64kb.mp3" 2025-01-01 14:16:16.616 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_04_malatesta_64kb.mp3" 2025-01-01 14:16:16.755 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Errico Malatesta/Anarchy/anarchy_03_malatesta_64kb.mp3" 2025-01-01 14:16:19.437 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_14_aesop_64kb.mp3" 2025-01-01 14:16:20.322 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_17_aesop_64kb.mp3" 2025-01-01 14:16:21.120 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_19_aesop_64kb.mp3" 2025-01-01 14:16:22.910 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_05_aesop_64kb.mp3" 2025-01-01 14:16:23.125 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_03_aesop_64kb.mp3" 2025-01-01 14:16:23.126 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_06_aesop_64kb.mp3" 2025-01-01 14:16:23.142 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_09_aesop_64kb.mp3" 2025-01-01 14:16:23.221 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_07_aesop_64kb.mp3" 2025-01-01 14:16:23.464 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_00_aesop_64kb.mp3" 2025-01-01 14:16:23.489 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_12_aesop_64kb.mp3" 2025-01-01 14:16:23.524 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesopsfablesnewtranslation_08_aesop_64kb.mp3" 2025-01-01 14:16:23.536 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_18_aesop_64kb.mp3" 2025-01-01 14:16:24.166 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_13_aesop_64kb.mp3" 2025-01-01 14:16:24.757 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_02_aesop_64kb.mp3" 2025-01-01 14:16:24.990 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_11_aesop_64kb.mp3" 2025-01-01 14:16:24.993 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_15_aesop_64kb.mp3" 2025-01-01 14:16:25.184 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_10_aesop_64kb.mp3" 2025-01-01 14:16:25.257 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_01_aesop_64kb.mp3" 2025-01-01 14:16:25.427 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_16_aesop_64kb.mp3" 2025-01-01 14:16:25.499 ERROR [AudioFileScanner] SyntaxError: Unexpected end of JSON input : "/home/common/zdata/Audiobooks/Aesop/Aesop's Fables/aesops_fables_-_new_translation_04_aesop_64kb.mp3" 2025-01-01 14:16:25.500 INFO [LibraryScanner] Library scan "78c950c2-0f1b-4f4e-8fd5-ff698dee488f" completed in 0:40.0 | 0 Added | 0 Updated | 0 Missing 2025-01-01 14:16:25.538 INFO [LibraryScan] Scan log saved "/var/lib/audiobookshelf/metadata/logs/scans/2025-01-01_78c950c2-0f1b-4f4e-8fd5-ff698dee488f.txt" 2025-01-01 14:16:25.539 INFO [LibraryController] Scan complete 2025-01-01 14:29:38.497 INFO [SocketAuthority] Socket Connected to /socket.io HqM4peLtbifE7heQAAAD 2025-01-01 14:31:49.753 DEBUG Set Log Level to DEBUG 2025-01-01 14:31:49.776 DEBUG [ApiCacheManager] Array.afterUpsert: Clearing cache ``` ### Additional Notes - I have checked my folder, user, and group permissions. - I am running Audiobookshelf on NixOS, as a service.
adam added the bug label 2026-04-25 00:07:18 +02:00
adam closed this issue 2026-04-25 00:07:18 +02:00
Author
Owner

@advplyr commented on GitHub (Jan 1, 2025):

ffprobe is unable to run on your audio files. Is the aesop fables audio files from librivox? I'm going to need one of the audio files to test.

@advplyr commented on GitHub (Jan 1, 2025): `ffprobe` is unable to run on your audio files. Is the aesop fables audio files from librivox? I'm going to need one of the audio files to test.
Author
Owner

@code-goat commented on GitHub (Jan 1, 2025):

Yes, The aesop files are from librevox. Not sure which version exactly. But here is a link to one of the aesop files if you want to look...
https://send.bitwarden.com/#eSTCUYoxCU-id7JYAXb3tw/MkpfP8IS0xueYr6aTujlmA

@code-goat commented on GitHub (Jan 1, 2025): Yes, The aesop files are from librevox. Not sure which version exactly. But here is a link to one of the aesop files if you want to look... https://send.bitwarden.com/#eSTCUYoxCU-id7JYAXb3tw/MkpfP8IS0xueYr6aTujlmA
Author
Owner

@code-goat commented on GitHub (Jan 1, 2025):

I downloaded and tested this exact version of librevox files. Hopefully they work as test files for you.

https://librivox.org/the-aesop-for-children-by-aesop/

@code-goat commented on GitHub (Jan 1, 2025): I downloaded and tested this exact version of librevox files. Hopefully they work as test files for you. https://librivox.org/the-aesop-for-children-by-aesop/
Author
Owner

@advplyr commented on GitHub (Jan 1, 2025):

I just added that aesop for children and it scanned in fine

@advplyr commented on GitHub (Jan 1, 2025): I just added that aesop for children and it scanned in fine
Author
Owner

@advplyr commented on GitHub (Jan 2, 2025):

I tested the file you shared and it scans fine also. It may have to do with the ffprobe version being installed by NixOS. I'm not familiar with NixOS to give any troubleshooting for that.

@advplyr commented on GitHub (Jan 2, 2025): I tested the file you shared and it scans fine also. It may have to do with the ffprobe version being installed by NixOS. I'm not familiar with NixOS to give any troubleshooting for that.
Author
Owner

@code-goat commented on GitHub (Jan 2, 2025):

Thanks for testing that! You very well may be right. I'm exploring that possibility.

❯ ls -l $(which ffprobe)

lrwxrwxrwx - root 31 Dec  1969 /run/current-system/sw/bin/ffprobe -> /nix/store/4mcxhmkarnf4hj1rkwxp3hibi67r90fi-jellyfin-ffmpeg-7.0.2-8-bin/bin/ffprobe

I am using the jellyfin-ffmpeg version. Ever had difficulties with that elsewhere?

I tried running ffprobe on one of the files directly. Do you see any issues with this output?

❯ ffprobe theaesopforchildren_01_aesop_64kb.mp3
ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers
  built with gcc 14.2.1 (GCC) 20241116
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --enable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/8zz83bsmw4r293vyiyzhz9bl850z3qsx-jellyfin-ffmpeg-7.0.2-8-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-doc/share/doc/ffmpeg --enable-alsa --enable-amf --enable-libaom --enable-libaribb24 --enable-libaribcaption --enable-libass --enable-avisynth --enable-libbluray --enable-libbs2b --enable-bzlib --enable-libcaca --enable-libcdio --enable-libcelt --enable-chromaprint --enable-libcodec2 --enable-cuda --enable-cuda-llvm --disable-cuda-nvcc --enable-cuvid --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libdvdnav --enable-libdvdread --disable-libfdk-aac --enable-ffnvcodec --enable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libfribidi --enable-libgme --enable-gnutls --enable-libgsm --enable-libharfbuzz --enable-iconv --enable-libilbc --enable-libjack --enable-libjxl --enable-libkvazaar --enable-ladspa --enable-lcms2 --enable-lzma --disable-metal --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libmysofa --disable-libnpp --enable-nvdec --enable-nvenc --enable-openal --enable-opencl --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-opengl --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-libqrencode --enable-libquirc --enable-librav1e --enable-librist --enable-librtmp --enable-librubberband --enable-libsmbclient --enable-sdl2 --enable-libshaderc --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --disable-libxevd --disable-libxeve --enable-xlib --enable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --enable-libzmq --enable-libzvbi --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping --extra-version=Jellyfin --disable-ptx-compression
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
Incorrect BOM value
Error reading comment frame, skipped
Input #0, mp3, from 'theaesopforchildren_01_aesop_64kb.mp3':
  Metadata:
    title           : 01 - Fables 1-4: The Wolf and
    artist          : Aesop
    album           : The Aesop for Children
    comment         : https://archive.org/details/
    track           : 1
    genre           : Speech
  Duration: 00:06:15.85, start: 0.050113, bitrate: 65 kb/s
  Stream #0:0: Audio: mp3 (mp3float), 22050 Hz, mono, fltp, 64 kb/s
      Metadata:
        encoder         : LAME3.99r
      Side data:
        replaygain: track gain - -0.200000, track peak - unknown, album gain - unknown, album peak - unknown, 

@code-goat commented on GitHub (Jan 2, 2025): Thanks for testing that! You very well may be right. I'm exploring that possibility. ``` ❯ ls -l $(which ffprobe) lrwxrwxrwx - root 31 Dec 1969 /run/current-system/sw/bin/ffprobe -> /nix/store/4mcxhmkarnf4hj1rkwxp3hibi67r90fi-jellyfin-ffmpeg-7.0.2-8-bin/bin/ffprobe ``` I am using the jellyfin-ffmpeg version. Ever had difficulties with that elsewhere? I tried running ffprobe on one of the files directly. Do you see any issues with this output? ``` ❯ ffprobe theaesopforchildren_01_aesop_64kb.mp3 ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers built with gcc 14.2.1 (GCC) 20241116 configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --enable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/8zz83bsmw4r293vyiyzhz9bl850z3qsx-jellyfin-ffmpeg-7.0.2-8-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-doc/share/doc/ffmpeg --enable-alsa --enable-amf --enable-libaom --enable-libaribb24 --enable-libaribcaption --enable-libass --enable-avisynth --enable-libbluray --enable-libbs2b --enable-bzlib --enable-libcaca --enable-libcdio --enable-libcelt --enable-chromaprint --enable-libcodec2 --enable-cuda --enable-cuda-llvm --disable-cuda-nvcc --enable-cuvid --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libdvdnav --enable-libdvdread --disable-libfdk-aac --enable-ffnvcodec --enable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libfribidi --enable-libgme --enable-gnutls --enable-libgsm --enable-libharfbuzz --enable-iconv --enable-libilbc --enable-libjack --enable-libjxl --enable-libkvazaar --enable-ladspa --enable-lcms2 --enable-lzma --disable-metal --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libmysofa --disable-libnpp --enable-nvdec --enable-nvenc --enable-openal --enable-opencl --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-opengl --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-libqrencode --enable-libquirc --enable-librav1e --enable-librist --enable-librtmp --enable-librubberband --enable-libsmbclient --enable-sdl2 --enable-libshaderc --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --disable-libxevd --disable-libxeve --enable-xlib --enable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --enable-libzmq --enable-libzvbi --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping --extra-version=Jellyfin --disable-ptx-compression libavutil 59. 8.100 / 59. 8.100 libavcodec 61. 3.100 / 61. 3.100 libavformat 61. 1.100 / 61. 1.100 libavdevice 61. 1.100 / 61. 1.100 libavfilter 10. 1.100 / 10. 1.100 libswscale 8. 1.100 / 8. 1.100 libswresample 5. 1.100 / 5. 1.100 libpostproc 58. 1.100 / 58. 1.100 Incorrect BOM value Error reading comment frame, skipped Input #0, mp3, from 'theaesopforchildren_01_aesop_64kb.mp3': Metadata: title : 01 - Fables 1-4: The Wolf and artist : Aesop album : The Aesop for Children comment : https://archive.org/details/ track : 1 genre : Speech Duration: 00:06:15.85, start: 0.050113, bitrate: 65 kb/s Stream #0:0: Audio: mp3 (mp3float), 22050 Hz, mono, fltp, 64 kb/s Metadata: encoder : LAME3.99r Side data: replaygain: track gain - -0.200000, track peak - unknown, album gain - unknown, album peak - unknown, ```
Author
Owner

@advplyr commented on GitHub (Jan 2, 2025):

I've never seen anyone using jellyfin ffmpeg.
Try adding the following parameters to your ffprobe command: -show_format -show_streams -print_format json
Since the conversion to JSON seems to be the issue.

@advplyr commented on GitHub (Jan 2, 2025): I've never seen anyone using jellyfin ffmpeg. Try adding the following parameters to your ffprobe command: `-show_format -show_streams -print_format json` Since the conversion to JSON seems to be the issue.
Author
Owner

@code-goat commented on GitHub (Jan 2, 2025):

❯ ffprobe -show_format -show_streams -print_format json theaesopforchildren_01_aesop_64kb.mp3
ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers
  built with gcc 14.2.1 (GCC) 20241116
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --enable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/8zz83bsmw4r293vyiyzhz9bl850z3qsx-jellyfin-ffmpeg-7.0.2-8-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-doc/share/doc/ffmpeg --enable-alsa --enable-amf --enable-libaom --enable-libaribb24 --enable-libaribcaption --enable-libass --enable-avisynth --enable-libbluray --enable-libbs2b --enable-bzlib --enable-libcaca --enable-libcdio --enable-libcelt --enable-chromaprint --enable-libcodec2 --enable-cuda --enable-cuda-llvm --disable-cuda-nvcc --enable-cuvid --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libdvdnav --enable-libdvdread --disable-libfdk-aac --enable-ffnvcodec --enable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libfribidi --enable-libgme --enable-gnutls --enable-libgsm --enable-libharfbuzz --enable-iconv --enable-libilbc --enable-libjack --enable-libjxl --enable-libkvazaar --enable-ladspa --enable-lcms2 --enable-lzma --disable-metal --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libmysofa --disable-libnpp --enable-nvdec --enable-nvenc --enable-openal --enable-opencl --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-opengl --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-libqrencode --enable-libquirc --enable-librav1e --enable-librist --enable-librtmp --enable-librubberband --enable-libsmbclient --enable-sdl2 --enable-libshaderc --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --disable-libxevd --disable-libxeve --enable-xlib --enable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --enable-libzmq --enable-libzvbi --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping --extra-version=Jellyfin --disable-ptx-compression
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
{
Incorrect BOM value
Error reading comment frame, skipped
Input #0, mp3, from 'theaesopforchildren_01_aesop_64kb.mp3':
  Metadata:
    title           : 01 - Fables 1-4: The Wolf and
    artist          : Aesop
    album           : The Aesop for Children
    comment         : https://archive.org/details/
    track           : 1
    genre           : Speech
  Duration: 00:06:15.85, start: 0.050113, bitrate: 65 kb/s
  Stream #0:0: Audio: mp3 (mp3float), 22050 Hz, mono, fltp, 64 kb/s
      Metadata:
        encoder         : LAME3.99r
      Side data:
        replaygain: track gain - -0.200000, track peak - unknown, album gain - unknown, album peak - unknown, 
    "streams": [
        {
            "index": 0,
            "codec_name": "mp3",
            "codec_long_name": "MP3 (MPEG audio layer 3)",
            "codec_type": "audio",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "sample_fmt": "fltp",
            "sample_rate": "22050",
            "channels": 1,
            "channel_layout": "mono",
            "bits_per_sample": 0,
            "initial_padding": 0,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/14112000",
            "start_pts": 707200,
            "start_time": "0.050113",
            "duration_ts": 5303992320,
            "duration": "375.849796",
            "bit_rate": "64000",
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "non_diegetic": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "encoder": "LAME3.99r"
            },
            "side_data_list": [
                {
                    "side_data_type": "Replay Gain"
                }
            ]
        }
    ],
    "format": {
        "filename": "theaesopforchildren_01_aesop_64kb.mp3",
        "nb_streams": 1,
        "nb_programs": 0,
        "nb_stream_groups": 0,
        "format_name": "mp3",
        "format_long_name": "MP2/3 (MPEG audio layer 2/3)",
        "start_time": "0.050113",
        "duration": "375.849796",
        "size": "3075584",
        "bit_rate": "65464",
        "probe_score": 51,
        "tags": {
            "title": "01 - Fables 1-4: The Wolf and",
            "artist": "Aesop",
            "album": "The Aesop for Children",
            "comment": "https://archive.org/details/",
            "track": "1",
            "genre": "Speech"
        }
    }
}
@code-goat commented on GitHub (Jan 2, 2025): ``` ❯ ffprobe -show_format -show_streams -print_format json theaesopforchildren_01_aesop_64kb.mp3 ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers built with gcc 14.2.1 (GCC) 20241116 configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --enable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/8zz83bsmw4r293vyiyzhz9bl850z3qsx-jellyfin-ffmpeg-7.0.2-8-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-jellyfin-ffmpeg-7.0.2-8-doc/share/doc/ffmpeg --enable-alsa --enable-amf --enable-libaom --enable-libaribb24 --enable-libaribcaption --enable-libass --enable-avisynth --enable-libbluray --enable-libbs2b --enable-bzlib --enable-libcaca --enable-libcdio --enable-libcelt --enable-chromaprint --enable-libcodec2 --enable-cuda --enable-cuda-llvm --disable-cuda-nvcc --enable-cuvid --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libdvdnav --enable-libdvdread --disable-libfdk-aac --enable-ffnvcodec --enable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libfribidi --enable-libgme --enable-gnutls --enable-libgsm --enable-libharfbuzz --enable-iconv --enable-libilbc --enable-libjack --enable-libjxl --enable-libkvazaar --enable-ladspa --enable-lcms2 --enable-lzma --disable-metal --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libmysofa --disable-libnpp --enable-nvdec --enable-nvenc --enable-openal --enable-opencl --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-opengl --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-libqrencode --enable-libquirc --enable-librav1e --enable-librist --enable-librtmp --enable-librubberband --enable-libsmbclient --enable-sdl2 --enable-libshaderc --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --disable-libxevd --disable-libxeve --enable-xlib --enable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --enable-libzmq --enable-libzvbi --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping --extra-version=Jellyfin --disable-ptx-compression libavutil 59. 8.100 / 59. 8.100 libavcodec 61. 3.100 / 61. 3.100 libavformat 61. 1.100 / 61. 1.100 libavdevice 61. 1.100 / 61. 1.100 libavfilter 10. 1.100 / 10. 1.100 libswscale 8. 1.100 / 8. 1.100 libswresample 5. 1.100 / 5. 1.100 libpostproc 58. 1.100 / 58. 1.100 { Incorrect BOM value Error reading comment frame, skipped Input #0, mp3, from 'theaesopforchildren_01_aesop_64kb.mp3': Metadata: title : 01 - Fables 1-4: The Wolf and artist : Aesop album : The Aesop for Children comment : https://archive.org/details/ track : 1 genre : Speech Duration: 00:06:15.85, start: 0.050113, bitrate: 65 kb/s Stream #0:0: Audio: mp3 (mp3float), 22050 Hz, mono, fltp, 64 kb/s Metadata: encoder : LAME3.99r Side data: replaygain: track gain - -0.200000, track peak - unknown, album gain - unknown, album peak - unknown, "streams": [ { "index": 0, "codec_name": "mp3", "codec_long_name": "MP3 (MPEG audio layer 3)", "codec_type": "audio", "codec_tag_string": "[0][0][0][0]", "codec_tag": "0x0000", "sample_fmt": "fltp", "sample_rate": "22050", "channels": 1, "channel_layout": "mono", "bits_per_sample": 0, "initial_padding": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/14112000", "start_pts": 707200, "start_time": "0.050113", "duration_ts": 5303992320, "duration": "375.849796", "bit_rate": "64000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0, "non_diegetic": 0, "captions": 0, "descriptions": 0, "metadata": 0, "dependent": 0, "still_image": 0 }, "tags": { "encoder": "LAME3.99r" }, "side_data_list": [ { "side_data_type": "Replay Gain" } ] } ], "format": { "filename": "theaesopforchildren_01_aesop_64kb.mp3", "nb_streams": 1, "nb_programs": 0, "nb_stream_groups": 0, "format_name": "mp3", "format_long_name": "MP2/3 (MPEG audio layer 2/3)", "start_time": "0.050113", "duration": "375.849796", "size": "3075584", "bit_rate": "65464", "probe_score": 51, "tags": { "title": "01 - Fables 1-4: The Wolf and", "artist": "Aesop", "album": "The Aesop for Children", "comment": "https://archive.org/details/", "track": "1", "genre": "Speech" } } } ```
Author
Owner

@advplyr commented on GitHub (Jan 2, 2025):

Are you having the same issue scanning in that audio file?
Why would it be using the jellyfin ffmpeg binary? Can you link to me the nixos package information

@advplyr commented on GitHub (Jan 2, 2025): Are you having the same issue scanning in that audio file? Why would it be using the jellyfin ffmpeg binary? Can you link to me the nixos package information
Author
Owner

@code-goat commented on GitHub (Jan 2, 2025):

Yeah, i'm getting the same issue scanning in that audio file. I'm not entirely sure why its defaulting to the jellyfin-ffmpeg version, but I will look into it further. Here is my audiobookshelf.nix module:

{ config, pkgs, ... }:

{
  services.audiobookshelf = {
    enable = true;
    port = 13378;
    openFirewall = true;
    host = "0.0.0.0";
    dataDir = "audiobookshelf";
    user = "common";
    group = "users";
  };
}

These are changes to the default audiobookshelf.nix module located here:

https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/au/audiobookshelf/package.nix#L85

I'm finding out how to declare which version of ffmpeg is used by audiobookshelf in nixos. I have both ffmpeg-Full and the jellyfin-ffmpeg on my system. I will respond here with any developments. Thanks again for your help!

@code-goat commented on GitHub (Jan 2, 2025): Yeah, i'm getting the same issue scanning in that audio file. I'm not entirely sure why its defaulting to the jellyfin-ffmpeg version, but I will look into it further. Here is my audiobookshelf.nix module: ``` { config, pkgs, ... }: { services.audiobookshelf = { enable = true; port = 13378; openFirewall = true; host = "0.0.0.0"; dataDir = "audiobookshelf"; user = "common"; group = "users"; }; } ``` These are changes to the default audiobookshelf.nix module located here: ``` https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/au/audiobookshelf/package.nix#L85 ``` I'm finding out how to declare which version of ffmpeg is used by audiobookshelf in nixos. I have both ffmpeg-Full and the jellyfin-ffmpeg on my system. I will respond here with any developments. Thanks again for your help!
Author
Owner

@code-goat commented on GitHub (Jan 2, 2025):

I rebuilt my nixos system without jellyfin-mpeg as a test, but the problem persists.

❯ ls -l $(which ffprobe)

lrwxrwxrwx - root 31 Dec  1969 /run/current-system/sw/bin/ffprobe -> /nix/store/z0c15473h1a2i7bcy96fwmdsaliwvpml-ffmpeg-full-7.1-bin/bin/ffprobe

The issue must apply to ffmpeg-full-7.1 as well then

@code-goat commented on GitHub (Jan 2, 2025): I rebuilt my nixos system without jellyfin-mpeg as a test, but the problem persists. ``` ❯ ls -l $(which ffprobe) lrwxrwxrwx - root 31 Dec 1969 /run/current-system/sw/bin/ffprobe -> /nix/store/z0c15473h1a2i7bcy96fwmdsaliwvpml-ffmpeg-full-7.1-bin/bin/ffprobe ``` The issue must apply to ffmpeg-full-7.1 as well then
Author
Owner

@yannick-mayeur commented on GitHub (Jan 21, 2025):

Hello 👋

I was able to fix the issue by using ffmpeg6 like this in my nixos configuration:

services.audiobookshelf = {
  package = (pkgs.audiobookshelf.override {
    ffmpeg-full = pkgs.ffmpeg_6-full;
  });
  enable = true;
};
@yannick-mayeur commented on GitHub (Jan 21, 2025): Hello 👋 I was able to fix the issue by using ffmpeg6 like this in my nixos configuration: ``` services.audiobookshelf = { package = (pkgs.audiobookshelf.override { ffmpeg-full = pkgs.ffmpeg_6-full; }); enable = true; }; ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2450