advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.32k stars 446 forks source link

[Bug]: When importing audiobook as multiple MP3/M4B files, chapter titles are duplicated with same time stamp #3361

Open ZLoth opened 3 weeks ago

ZLoth commented 3 weeks ago

What happened?

I have a preference towards breaking my audiobooks into multiple files at the chapter level. This has been occurring ever since I installed ABS at the end of March, 2024. When I import an audiobook, the chapter labels are duplicated with the same identical time stamp.

What did you expect to happen?

When importing an audiobook, only one instance of a chapter label is being imported.

Steps to reproduce the issue

  1. Create an audiobook with multiple files.
  2. Import into ABS
  3. Go into the book chapters

WHAT SHOULD HAPPEN: For each chapter, one chapter label is being created. WHAT REALLY HAPPENS: Multiple chapter labels are being created.

MP3TAG screenshot showing file name and titles: image

ABS Settings: image

ABS Library Settings: image I turned off everything except metadata and the issue still occurs.

Chapter Lists: FireShot Capture 001 - Audiobookshelf - 192 168 1 2 FireShot Capture 003 - Audiobookshelf - 192 168 1 2

Log File: Log Files.zip

Recording of issue: https://github.com/user-attachments/assets/270b16e3-f9c1-41a0-880b-08df23d001df

Audiobookshelf version

v2.12.3

How are you running audiobookshelf?

Docker

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?

Chrome

Logs

{"timestamp":"2024-09-02 06:40:10.207","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/01 - Flying the SR-71 Blackbird - Opening Credits.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.209","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/01 - Flying the SR-71 Blackbird - Opening Credits.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.211","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/02 - Flying the SR-71 Blackbird - Publisher's Note.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.212","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/02 - Flying the SR-71 Blackbird - Publisher's Note.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.212","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/03 - Flying the SR-71 Blackbird - Preface.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.213","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/03 - Flying the SR-71 Blackbird - Preface.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.214","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/04 - Flying the SR-71 Blackbird - Introduction to New Edition.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.214","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/04 - Flying the SR-71 Blackbird - Introduction to New Edition.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.216","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/05 - Flying the SR-71 Blackbird - Chapter 1 The Making of a Habu.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.216","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/05 - Flying the SR-71 Blackbird - Chapter 1 The Making of a Habu.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.217","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/06 - Flying the SR-71 Blackbird - Chapter 2 Mission Planning.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.217","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/06 - Flying the SR-71 Blackbird - Chapter 2 Mission Planning.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.217","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/07 - Flying the SR-71 Blackbird - Chapter 3 Preflight Activities.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.218","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/07 - Flying the SR-71 Blackbird - Chapter 3 Preflight Activities.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.218","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/01 - Flying the SR-71 Blackbird - Opening Credits.m4b\". mtimeMs=1725276336709.3264 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.219","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/02 - Flying the SR-71 Blackbird - Publisher's Note.m4b\". mtimeMs=1725276336709.3264 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.219","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/03 - Flying the SR-71 Blackbird - Preface.m4b\". mtimeMs=1725276336785.3262 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.219","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/04 - Flying the SR-71 Blackbird - Introduction to New Edition.m4b\". mtimeMs=1725276337832.5757 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.220","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/05 - Flying the SR-71 Blackbird - Chapter 1 The Making of a Habu.m4b\". mtimeMs=1725276337045.3267 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.220","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/06 - Flying the SR-71 Blackbird - Chapter 2 Mission Planning.m4b\". mtimeMs=1725276338624.214 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:10.220","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/07 - Flying the SR-71 Blackbird - Chapter 3 Preflight Activities.m4b\". mtimeMs=1725276337270.5754 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.336","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/08 - Flying the SR-71 Blackbird - Chapter 4 Aircraft Preflight.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.336","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/08 - Flying the SR-71 Blackbird - Chapter 4 Aircraft Preflight.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.337","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/09 - Flying the SR-71 Blackbird - Chapter 5 Cockpit Left Console Preflight.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.337","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/09 - Flying the SR-71 Blackbird - Chapter 5 Cockpit Left Console Preflight.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.338","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/10 - Flying the SR-71 Blackbird - Chapter 6 Instrument Panel Preflight.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.338","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/10 - Flying the SR-71 Blackbird - Chapter 6 Instrument Panel Preflight.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.338","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/11 - Flying the SR-71 Blackbird - Chapter 7 Cockpit Right Console Preflight.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.339","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/11 - Flying the SR-71 Blackbird - Chapter 7 Cockpit Right Console Preflight.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.339","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/12 - Flying the SR-71 Blackbird - Chapter 8 Starting Engines.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.339","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/12 - Flying the SR-71 Blackbird - Chapter 8 Starting Engines.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.340","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/13 - Flying the SR-71 Blackbird - Chapter 9 Before Taxiing.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.340","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/13 - Flying the SR-71 Blackbird - Chapter 9 Before Taxiing.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.340","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/14 - Flying the SR-71 Blackbird - Chapter 10 Taxiing and Before Takeoff.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.341","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/14 - Flying the SR-71 Blackbird - Chapter 10 Taxiing and Before Takeoff.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.341","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/15 - Flying the SR-71 Blackbird - Chapter 11 Takeoff and Climb.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.341","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/15 - Flying the SR-71 Blackbird - Chapter 11 Takeoff and Climb.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.342","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/16 - Flying the SR-71 Blackbird - Chapter 12 KC-135Q and “Cold” Tanker Air Rendezvous.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.342","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/16 - Flying the SR-71 Blackbird - Chapter 12 KC-135Q and “Cold” Tanker Air Rendezvous.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.343","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/17 - Flying the SR-71 Blackbird - Chapter 13 Acceleration to Mach 3+.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.343","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/17 - Flying the SR-71 Blackbird - Chapter 13 Acceleration to Mach 3+.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.343","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/18 - Flying the SR-71 Blackbird - Chapter 14 Cruising at Mach 3+ The “Hot” Leg.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.343","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/18 - Flying the SR-71 Blackbird - Chapter 14 Cruising at Mach 3+ The “Hot” Leg.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.343","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/20 - Flying the SR-71 Blackbird - Chapter 16 Recovery.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.344","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/20 - Flying the SR-71 Blackbird - Chapter 16 Recovery.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.344","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/19 - Flying the SR-71 Blackbird - Chapter 15 Decel and “Hot” Tanker air Rendezvous.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.344","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/19 - Flying the SR-71 Blackbird - Chapter 15 Decel and “Hot” Tanker air Rendezvous.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.344","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/21 - Flying the SR-71 Blackbird - Chapter 17 Debriefings.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.344","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/21 - Flying the SR-71 Blackbird - Chapter 17 Debriefings.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.345","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/22 - Flying the SR-71 Blackbird - Chapter 18 The Blackbird’s Retirement.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.345","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/22 - Flying the SR-71 Blackbird - Chapter 18 The Blackbird’s Retirement.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.345","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/23 - Flying the SR-71 Blackbird - Epilogue.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.345","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/23 - Flying the SR-71 Blackbird - Epilogue.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.345","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/24 - Flying the SR-71 Blackbird - End Credits.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.346","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/24 - Flying the SR-71 Blackbird - End Credits.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.346","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/cover.jpg","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.346","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/cover.jpg\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.346","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/08 - Flying the SR-71 Blackbird - Chapter 4 Aircraft Preflight.m4b\". mtimeMs=1725276339227.2156 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.347","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/09 - Flying the SR-71 Blackbird - Chapter 5 Cockpit Left Console Preflight.m4b\". mtimeMs=1725276338959.2153 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.347","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/10 - Flying the SR-71 Blackbird - Chapter 6 Instrument Panel Preflight.m4b\". mtimeMs=1725276338742.2148 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.347","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/11 - Flying the SR-71 Blackbird - Chapter 7 Cockpit Right Console Preflight.m4b\". mtimeMs=1725276338905.2163 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.347","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/12 - Flying the SR-71 Blackbird - Chapter 8 Starting Engines.m4b\". mtimeMs=1725276339360.3164 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.347","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/13 - Flying the SR-71 Blackbird - Chapter 9 Before Taxiing.m4b\". mtimeMs=1725276337590.5752 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.347","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/14 - Flying the SR-71 Blackbird - Chapter 10 Taxiing and Before Takeoff.m4b\". mtimeMs=1725276337778.5757 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.348","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/15 - Flying the SR-71 Blackbird - Chapter 11 Takeoff and Climb.m4b\". mtimeMs=1725276338839.2156 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.348","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/16 - Flying the SR-71 Blackbird - Chapter 12 KC-135Q and “Cold” Tanker Air Rendezvous.m4b\". mtimeMs=1725276337961.0867 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.348","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/17 - Flying the SR-71 Blackbird - Chapter 13 Acceleration to Mach 3+.m4b\". mtimeMs=1725276337767.5754 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.348","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/18 - Flying the SR-71 Blackbird - Chapter 14 Cruising at Mach 3+ The “Hot” Leg.m4b\". mtimeMs=1725276339263.2148 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.348","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/20 - Flying the SR-71 Blackbird - Chapter 16 Recovery.m4b\". mtimeMs=1725276339263.2148 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.348","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/19 - Flying the SR-71 Blackbird - Chapter 15 Decel and “Hot” Tanker air Rendezvous.m4b\". mtimeMs=1725276338255.0857 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.348","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/21 - Flying the SR-71 Blackbird - Chapter 17 Debriefings.m4b\". mtimeMs=1725276339338.3162 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.349","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/22 - Flying the SR-71 Blackbird - Chapter 18 The Blackbird’s Retirement.m4b\". mtimeMs=1725276338386.2158 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.349","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/23 - Flying the SR-71 Blackbird - Epilogue.m4b\". mtimeMs=1725276338142.086 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.349","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/24 - Flying the SR-71 Blackbird - End Credits.m4b\". mtimeMs=1725276338639.215 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:12.349","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/cover.jpg\". mtimeMs=1725276336386.3257 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:13.220","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/01 - Flying the SR-71 Blackbird - Opening Credits.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:13.220","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/02 - Flying the SR-71 Blackbird - Publisher's Note.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:13.220","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/03 - Flying the SR-71 Blackbird - Preface.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:13.221","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/04 - Flying the SR-71 Blackbird - Introduction to New Edition.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:13.221","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/05 - Flying the SR-71 Blackbird - Chapter 1 The Making of a Habu.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:13.221","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/07 - Flying the SR-71 Blackbird - Chapter 3 Preflight Activities.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:13.221","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/06 - Flying the SR-71 Blackbird - Chapter 2 Mission Planning.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.347","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/08 - Flying the SR-71 Blackbird - Chapter 4 Aircraft Preflight.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.348","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/09 - Flying the SR-71 Blackbird - Chapter 5 Cockpit Left Console Preflight.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.348","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/10 - Flying the SR-71 Blackbird - Chapter 6 Instrument Panel Preflight.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.349","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/12 - Flying the SR-71 Blackbird - Chapter 8 Starting Engines.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.349","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/11 - Flying the SR-71 Blackbird - Chapter 7 Cockpit Right Console Preflight.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.349","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/13 - Flying the SR-71 Blackbird - Chapter 9 Before Taxiing.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.350","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/14 - Flying the SR-71 Blackbird - Chapter 10 Taxiing and Before Takeoff.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.350","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/15 - Flying the SR-71 Blackbird - Chapter 11 Takeoff and Climb.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.351","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/16 - Flying the SR-71 Blackbird - Chapter 12 KC-135Q and “Cold” Tanker Air Rendezvous.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.351","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/17 - Flying the SR-71 Blackbird - Chapter 13 Acceleration to Mach 3+.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.351","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/18 - Flying the SR-71 Blackbird - Chapter 14 Cruising at Mach 3+ The “Hot” Leg.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.351","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/20 - Flying the SR-71 Blackbird - Chapter 16 Recovery.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.352","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/19 - Flying the SR-71 Blackbird - Chapter 15 Decel and “Hot” Tanker air Rendezvous.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.352","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/21 - Flying the SR-71 Blackbird - Chapter 17 Debriefings.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.353","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/22 - Flying the SR-71 Blackbird - Chapter 18 The Blackbird’s Retirement.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.353","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/23 - Flying the SR-71 Blackbird - Epilogue.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.354","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/24 - Flying the SR-71 Blackbird - End Credits.m4b\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:15.354","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/cover.jpg\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:22.358","source":"LibraryScanner.js:465","message":"[Scanner] Scanning file update groups in folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" of library \"Non-Fiction\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:22.364","source":"LibraryScanner.js:466","message":"[Scanner] scanFolderUpdates fileUpdateGroup [object Object]","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:22.508","source":"LibraryScanner.js:590","message":"[LibraryScanner] Folder update group must be a new item \"Flying the SR-71 Blackbird\" in library \"Non-Fiction\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.413","source":"AudioFileScanner.js:94","message":"[AudioFileScanner] Smart track order for \"Flying the SR-71 Blackbird\" using track key trackNumFromMeta","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.414","source":"ScanLogger.js:65","message":"[Scan] \"Flying the SR-71 Blackbird\": \"Flying the SR-71 Blackbird\" Getting metadata with precedence [audioMetatags]","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.416","source":"ScanLogger.js:65","message":"[Scan] \"Flying the SR-71 Blackbird\": setChapters: Using embedded chapters from all audio files /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/01 - Flying the SR-71 Blackbird - Opening Credits.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.536","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] author.afterCreate: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.570","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] bookAuthor.afterCreate: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.571","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] book.afterCreate: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.652","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] libraryItem.afterCreate: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.760","source":"ScanLogger.js:65","message":"[Scan] \"Flying the SR-71 Blackbird\": Success saving abmetadata to \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/metadata.json\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.796","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] libraryItem.afterUpdate: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.797","source":"ScanLogger.js:65","message":"[Scan] \"Flying the SR-71 Blackbird\": Created new library item \"Flying the SR-71 Blackbird\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.803","source":"LibraryScanner.js:392","message":"[LibraryScanner] Folder scan results [object Object]","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.862","source":"ApiCacheManager.js:47","message":"[ApiCacheManager] count: 0 size: 0","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:23.901","source":"LibraryItem.js:626","message":"Loaded 3 of 3 items for \"Continue Listening/Reading\" in 0.04s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:24.200","source":"LibraryItem.js:643","message":"Loaded 1 of 1 items for \"Continue Series\" in 0.30s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:24.303","source":"LibraryItem.js:673","message":"Loaded 10 of 393 items for \"Recently Added\" in 0.10s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:24.384","source":"LibraryItem.js:689","message":"Loaded 5 of 7 series for \"Recent Series\" in 0.08s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:24.627","source":"LibraryItem.js:704","message":"Loaded 10 of 1033 items for \"Discover\" in 0.24s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:24.681","source":"LibraryItem.js:735","message":"Loaded 10 of 103 items for \"Listen/Read Again\" in 0.05s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:25.145","source":"LibraryItem.js:751","message":"Loaded 10 of 409 authors for \"Newest Authors\" in 0.46s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:25.146","source":"LibraryItem.js:754","message":"Loaded 7 personalized shelves in 1.28s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:25.147","source":"ApiCacheManager.js:58","message":"[ApiCacheManager] Cache miss: {\"user\":\"Mark\",\"url\":\"/libraries/a210cdb5-cb8d-4ff1-bd87-34eaefffd218/personalized?include=rssfeed,numEpisodesIncomplete,share\"}","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:25.147","source":"ApiCacheManager.js:61","message":"[ApiCacheManager] Caching with 1800000 ms TTL","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:25.227","source":"ffmpegHelpers.js:85","message":"[FfmpegHelpers] Resize Image Cmd: ffmpeg -i /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/cover.jpg -y -vf scale=400:-1 /metadata/cache/covers/484353b0-85ef-4e99-bc7e-93e23739dc04_400.webp","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:25.268","source":"ffmpegHelpers.js:92","message":"[FfmpegHelpers] Image resized Successfully","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:26.147","source":"Watcher.js:174","message":"[Watcher] File Added /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/metadata.json","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:26.148","source":"Watcher.js:280","message":"[Watcher] Modified file in library \"Non-Fiction\" and folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" with relPath \"/Flying the SR-71 Blackbird/metadata.json\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:26.149","source":"Watcher.js:233","message":"[Watcher] Waiting to add file at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/metadata.json\". mtimeMs=1725277223754.852 lastMTimeMs=0 (loop 0)","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:29.150","source":"Watcher.js:229","message":"[Watcher] File finished adding at \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/metadata.json\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:36.155","source":"LibraryScanner.js:465","message":"[Scanner] Scanning file update groups in folder \"7b7e0753-49ff-47c2-81e8-abfc2fda8568\" of library \"Non-Fiction\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:36.155","source":"LibraryScanner.js:466","message":"[Scanner] scanFolderUpdates fileUpdateGroup [object Object]","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:36.269","source":"LibraryScanner.js:567","message":"[LibraryScanner] Folder update for relative path \"Flying the SR-71 Blackbird\" is in library item \"Flying the SR-71 Blackbird\" - scan for updates","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:36.352","source":"ScanLogger.js:65","message":"[Scan] \"Flying the SR-71 Blackbird\": \"Flying the SR-71 Blackbird\" Getting metadata with precedence [audioMetatags]","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:36.353","source":"ScanLogger.js:65","message":"[Scan] \"Flying the SR-71 Blackbird\": setChapters: Using embedded chapters from all audio files /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/01 - Flying the SR-71 Blackbird - Opening Credits.m4b","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:36.353","source":"ScanLogger.js:65","message":"[Scan] \"Flying the SR-71 Blackbird\": Library item is up-to-date","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:36.354","source":"LibraryScanner.js:392","message":"[LibraryScanner] Folder scan results [object Object]","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:51.433","source":"BookFinder.js:443","message":"Book Search: title: \"Flying the SR-71 Blackbird\", author: \"Richard H. Graham\", provider: audible","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:51.433","source":"Audible.js:149","message":"[Audible] Search url: https://api.audible.com/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=Flying+the+SR-71+Blackbird&author=Richard+H.+Graham","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:51.701","source":"Audible.js:99","message":"[Audible] ASIN url: https://api.audnex.us/books/1705282865","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.202","source":"LibraryItemController.js:212","message":"[LibraryItemController] Requesting download cover from url \"https://m.media-amazon.com/images/I/918JHe3edQL.jpg\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.203","source":"fileUtils.js:255","message":"[fileUtils] Downloading file to /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/cover","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.345","source":"CacheManager.js:94","message":"[CacheManager] Going to purge 484353b0-85ef-4e99-bc7e-93e23739dc04_400.webp","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.346","source":"CoverManager.js:151","message":"[CoverManager] Downloaded libraryItem cover \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/cover.jpg\" from url \"https://m.media-amazon.com/images/I/918JHe3edQL.jpg\" for \"Flying the SR-71 Blackbird\"","levelName":"INFO","level":2}
{"timestamp":"2024-09-02 06:40:57.354","source":"BookMetadata.js:176","message":"[BookMetadata] Key updated subtitle In the Cockpit on a Secret Operational Mission","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.355","source":"BookMetadata.js:176","message":"[BookMetadata] Key updated genres Biographies & Memoirs,History","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.355","source":"BookMetadata.js:176","message":"[BookMetadata] Key updated publishedYear 2021","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.355","source":"BookMetadata.js:176","message":"[BookMetadata] Key updated publisher Tantor Audio","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.355","source":"BookMetadata.js:176","message":"[BookMetadata] Key updated description For anyone who has ever wondered what it's like to fly the SR-71 on a secret Mach 3 reconnaissance mission, this book has the answer. Completely redesigned and updated with photos from author Colonel Richard H. Graham's personal archive, as well as a new introduction, Flying the SR-71 Blackbird details what an SR-71 mission entailed, from planning to donning a pressure suit to returning to base. The Lockheed SR-71, unofficially known as the Blackbird, was an advanced, long-range, Mach 3 strategic reconnaissance aircraft developed by Lockheed Skunk Works. The aircraft flew so fast and high that not one was ever shot down, even by a missile. SR-71 pilot and instructor Colonel Richard Graham offers a rare cockpit perspective on how regular Air Force pilots and navigators transformed themselves into SR-71 Blackbird crews, turning their unique aviation talents to account in an unprecedented way. Arguably the world's foremost expert on piloting the Blackbird, Graham takes listeners along on an operational mission that only a few Air Force pilots have ever experienced.","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.356","source":"BookMetadata.js:176","message":"[BookMetadata] Key updated asin 1705282865","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.356","source":"BookMetadata.js:176","message":"[BookMetadata] Key updated language English","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.356","source":"Book.js:144","message":"[Book] Key updated tags Military & War,Military,Armed Forces,Air Forces","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.356","source":"LibraryItemController.js:191","message":"[LibraryItemController] Updated library item media Flying the SR-71 Blackbird","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.358","source":"LibraryItem.js:310","message":"[LibraryItem] Success saving abmetadata to \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/metadata.json\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.451","source":"LibraryItem.js:369","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" book.subtitle updated from null to In the Cockpit on a Secret Operational Mission","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.451","source":"LibraryItem.js:369","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" book.publishedYear updated from 2021-02-23 to 2021","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.451","source":"LibraryItem.js:369","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" book.publisher updated from null to Tantor Audio","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.451","source":"LibraryItem.js:369","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" book.description updated from <p>For anyone who has ever wondered what it's like to fly the SR-71 on a secret Mach 3 reconnaissance mission, this book has the answer. Completely redesigned and updated with photos from author Colonel Richard H. Graham's personal archive, as well as a new introduction, Flying the SR-71 Blackbird details what an SR-71 mission entailed, from planning to donning a pressure suit to returning to base.</p> <p>The Lockheed SR-71, unofficially known as the Blackbird, was an advanced, long-range, Mach 3 strategic reconnaissance aircraft developed by Lockheed Skunk Works. The aircraft flew so fast and high that not one was ever shot down, even by a missile. SR-71 pilot and instructor Colonel Richard Graham offers a rare cockpit perspective on how regular Air Force pilots and navigators transformed themselves into SR-71 Blackbird crews, turning their unique aviation talents to account in an unprecedented way.</p> <p>Arguably the world's foremost expert on piloting the Blackbird, Graham takes listeners along on an operational mission that only a few Air Force pilots have ever experienced.</p> to For anyone who has ever wondered what it's like to fly the SR-71 on a secret Mach 3 reconnaissance mission, this book has the answer. Completely redesigned and updated with photos from author Colonel Richard H. Graham's personal archive, as well as a new introduction, Flying the SR-71 Blackbird details what an SR-71 mission entailed, from planning to donning a pressure suit to returning to base. The Lockheed SR-71, unofficially known as the Blackbird, was an advanced, long-range, Mach 3 strategic reconnaissance aircraft developed by Lockheed Skunk Works. The aircraft flew so fast and high that not one was ever shot down, even by a missile. SR-71 pilot and instructor Colonel Richard Graham offers a rare cockpit perspective on how regular Air Force pilots and navigators transformed themselves into SR-71 Blackbird crews, turning their unique aviation talents to account in an unprecedented way. Arguably the world's foremost expert on piloting the Blackbird, Graham takes listeners along on an operational mission that only a few Air Force pilots have ever experienced.","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.452","source":"LibraryItem.js:369","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" book.asin updated from null to 1705282865","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.452","source":"LibraryItem.js:369","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" book.language updated from null to English","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.453","source":"LibraryItem.js:369","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" book.tags updated from  to Military & War,Military,Armed Forces,Air Forces","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.453","source":"LibraryItem.js:369","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" book.genres updated from Biographies & Memoirs:Military & War to Biographies & Memoirs,History","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.503","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] book.afterUpdate: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.504","source":"LibraryItem.js:386","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" mtime updated from 1725277223754 to 1725277257330","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.504","source":"LibraryItem.js:386","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" ctime updated from 1725277223754 to 1725277257330","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.505","source":"LibraryItem.js:386","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" updatedAt updated from 1725277223760 to 1725277257356","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.506","source":"LibraryItem.js:386","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" size updated from 535777494 to 535777612","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.506","source":"LibraryItem.js:386","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" libraryFiles updated from [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] to [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.558","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] libraryItem.afterUpdate: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.558","source":"LibraryItem.js:395","message":"[LibraryItem] Library item \"484353b0-85ef-4e99-bc7e-93e23739dc04\" updated","levelName":"INFO","level":2}
{"timestamp":"2024-09-02 06:40:57.644","source":"ffmpegHelpers.js:85","message":"[FfmpegHelpers] Resize Image Cmd: ffmpeg -i /audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/cover.jpg -y -vf scale=400:-1 /metadata/cache/covers/484353b0-85ef-4e99-bc7e-93e23739dc04_400.webp","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.736","source":"BookFinder.js:443","message":"Book Search: title: \"1705282865\", author: \"\", provider: audible","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.737","source":"Audible.js:99","message":"[Audible] ASIN url: https://api.audnex.us/books/1705282865","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:40:57.758","source":"ffmpegHelpers.js:92","message":"[FfmpegHelpers] Image resized Successfully","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:07.949","source":"Audnexus.js:152","message":"[Audnexus] Get chapters for ASIN 1705282865/us","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:17.400","source":"LibraryItem.js:310","message":"[LibraryItem] Success saving abmetadata to \"/audiobooks/Audiobooks/Non-Fiction/Flying the SR-71 Blackbird/metadata.json\"","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:17.472","source":"LibraryItem.js:369","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" book.chapters updated from [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] to [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:17.574","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] book.afterUpdate: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:17.575","source":"LibraryItem.js:386","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" size updated from 535777612 to 535771516","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:17.575","source":"LibraryItem.js:386","message":"[LibraryItem] \"Flying the SR-71 Blackbird\" libraryFiles updated from [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] to [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:17.615","source":"ApiCacheManager.js:20","message":"[ApiCacheManager] libraryItem.afterUpdate: Clearing cache","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:17.616","source":"LibraryItem.js:395","message":"[LibraryItem] Library item \"484353b0-85ef-4e99-bc7e-93e23739dc04\" updated","levelName":"INFO","level":2}
{"timestamp":"2024-09-02 06:41:17.684","source":"ApiCacheManager.js:47","message":"[ApiCacheManager] count: 0 size: 0","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:17.971","source":"libraryFilters.js:537","message":"Loaded filterdata in 0.28s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:17.977","source":"ApiCacheManager.js:58","message":"[ApiCacheManager] Cache miss: {\"user\":\"Mark\",\"url\":\"/libraries/a210cdb5-cb8d-4ff1-bd87-34eaefffd218?include=filterdata\"}","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:18.050","source":"ApiCacheManager.js:47","message":"[ApiCacheManager] count: 1 size: 125794","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:18.084","source":"LibraryItem.js:626","message":"Loaded 3 of 3 items for \"Continue Listening/Reading\" in 0.03s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:18.373","source":"LibraryItem.js:643","message":"Loaded 1 of 1 items for \"Continue Series\" in 0.29s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:18.433","source":"LibraryItem.js:673","message":"Loaded 10 of 393 items for \"Recently Added\" in 0.06s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:18.483","source":"LibraryItem.js:689","message":"Loaded 5 of 7 series for \"Recent Series\" in 0.05s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:18.716","source":"LibraryItem.js:704","message":"Loaded 10 of 1033 items for \"Discover\" in 0.23s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:18.763","source":"LibraryItem.js:735","message":"Loaded 10 of 103 items for \"Listen/Read Again\" in 0.05s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:19.229","source":"LibraryItem.js:751","message":"Loaded 10 of 409 authors for \"Newest Authors\" in 0.47s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:19.229","source":"LibraryItem.js:754","message":"Loaded 7 personalized shelves in 1.18s","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:19.230","source":"ApiCacheManager.js:58","message":"[ApiCacheManager] Cache miss: {\"user\":\"Mark\",\"url\":\"/libraries/a210cdb5-cb8d-4ff1-bd87-34eaefffd218/personalized?include=rssfeed,numEpisodesIncomplete,share\"}","levelName":"DEBUG","level":1}
{"timestamp":"2024-09-02 06:41:19.230","source":"ApiCacheManager.js:61","message":"[ApiCacheManager] Caching with 1800000 ms TTL","levelName":"DEBUG","level":1}

Additional Notes

Also tested with "Store metadata with item" has been switched off without resolution.

advplyr commented 3 days ago

I can see from your screenshot of the edit chapters page that each of the audio files have embedded chapters. I cannot see what the actual issue is because I would have to see what those embedded chapters are for each file.

When an audiobook has multiple audio files that have embedded chapters Abs will attempt to merge them if they are different. From what I can see in the screenshot it looks like the audio files have chapters embedded with different timestamps. If that is the case it would be something you would want to fix on the audio files since that would be inaccurate chapter times.

This is the logic for audio files with embedded chapters https://github.com/advplyr/audiobookshelf/blob/5b22e945dab1d31ecb7727d26e2456f75151d1d0/server/scanner/AudioFileScanner.js#L467-L492

ZLoth commented 3 days ago

I have sent you log files and an example book via WeTransfer. The link has been provided to your advplyr email address.

The following is my workflow in Windows 11:

  1. Download the book via OpenAudible as a M4B.
  2. Split the file in OpenAudible so that it is one chapter=one file (usually)
  3. Clean up the split files using MP3Tag such as modifying the file name.
  4. Transfer the split files folder into the appropriate ABS directory on my TrueNAS server.

Note that the issue also occurs when I did the conversion in OpenAudible as a MP3. I switched several months ago because of the small size.

ZLoth commented 3 days ago

Hmmm.... when I did an audio probe of the chapters, I see the following:

  "chapters": [
    {
      "id": 0,
      "time_base": "1/1000",
      "start": 0,
      "start_time": "0.000000",
      "end": 0,
      "end_time": "0.000000",
      "tags": {
        "title": "Part I"
      }
    },
    {
      "id": 1,
      "time_base": "1/1000",
      "start": 0,
      "start_time": "0.000000",
      "end": 906562,
      "end_time": "906.562000",
      "tags": {
        "title": "Chapter I"
      }
    },
    {
      "id": 2,
      "time_base": "1/10000000",
      "start": 9065620000,
      "start_time": "906.562000",
      "end": 9066078910,
      "end_time": "906.607891",
      "tags": {
        "title": "Chapter II"
      }
    }
  ],

This, this is probably being generated by OpenAudible. Can you confirm?

advplyr commented 2 days ago

The audio files have the previous and next chapter embedded that are close to 0 duration. I've seen that once before. I don't know what the advantage is in doing that. Having chapters with 0 duration doesn't seem like a good practice (especially since they aren't exactly 0, they are like 1ms).

I made an update that will filter out those chapters before merging. This worked well when testing with your audiobook.

ZLoth commented 2 days ago

The audio files have the previous and next chapter embedded that are close to 0 duration. I've seen that once before. I don't know what the advantage is in doing that. Having chapters with 0 duration doesn't seem like a good practice (especially since they aren't exactly 0, they are like 1ms).

Me too. I have opened up OpenAudible issue When splitting audiobook file, the previous/next chapter is included in the split file #1461 and referenced this issue.

I made an update that will filter out those chapters before merging. This worked well when testing with your audiobook.

Thank you. I look forward to the update.

ZLoth commented 1 day ago

@advplyr , OpenAudible is now working on a fix. Once a beta is released, I can provide you with another test file.

ZLoth commented 1 day ago

And, issue is not fixed with the latest OpenAudible beta, although I'm wondering if we are looking in the right place.

Looking back at the example book provided... here is lines 153-187 (edited for brevity)...

  "chapters": [
    {
      "id": 0,
      "tags": {
        "title": "Part I"
      }
    },
    {
      "id": 1,
      "tags": {
        "title": "Chapter I"
      }
    },
    {
      "id": 2,
      "tags": {
        "title": "Chapter II"
      }
    }
  ],

But, when we look at lines 188-218, specifically line 209, we see the following (edited for brevity):

  "format": {
    "filename": "/audiobooks/Audiobooks/Soundscapes/The Adventures of Tom Sawyer - After modification by MP3TAG/03 - The Adventures of Tom Sawyer (TEST) - Chapter I.m4b",
    "start_time": "0.000000",
    "duration": "906.607891",
    "tags": {
      "title": "Chapter I",
    }
  }

Thus the "title" in line 209 matches up with the title on line 173. Ok, fine. However, lets look at another book.

My second example is NPR Road Trips: Postcards from Around the Globe. The Metadata originally had just Chapters 1-16, but I located the actual chapter titles and replaced them with MP3Tag. Lets take a look at lines 103-126 (edited for brevity):

  "chapters": [
    {
      "id": 0,
      "tags": {
        "title": "Chapter 4"
      }
    },
    {
      "id": 1,
      "tags": {
        "title": "Chapter 5"
      }
    }
  ],

Yet, when I look at line 149 from the section of lines 127-171, I see the following (edited for brevity):

  "format": {
    "filename": "/audiobooks/Audiobooks/Non-Fiction/NPR Road Trips (Series)/NPR Road Trips- Postcards from Around the Globe/04 - NPR Road Trips Postcards from Around the Globe - A New Passage to India.mp3",
    "start_time": "0.023989",
    "duration": "435.670204",
    "tags": {
      "title": "A New Passage to India",
    }
  }

This changed title was from when I edited the M4A file so that the chapter title was "A New Passage To India". That's what I'm expecting to import into ABS, not Chapter 4 (or Chapter 5) for that matter. I can understand the logic if you are importing a single-file MP3/M4B file into ABS as all of the chapters titles are embedded in a single file. But, I'm splitting the chapters, thus expecting one file to have a single chapter.

Not sure how you want to handle the logic, but it should be that if there is a single chapter exceeded .2ms in the chapters section, then check format → tags → title and pull that title instead

PROBE - 04 - NPR Road Trips Postcards from Around the Globe - A New Passage to India.txt

ZLoth commented 18 hours ago

@advplyr : From OpenAudible:

Great report. Confirmed. It looks like a strange thing with ffmpeg. I am working on a fix -- but even when I tell ffmpeg to not map any meta data, it still seems to pull chapter meta from the existing full book. Will keep working on it.

advplyr commented 18 hours ago

Ffmpeg has a separate flag for map_chapters. -map_chapters -1 to not keep chapters