[Enhancement]: Parse OpenAudible data. #1184

Open
opened 2026-04-24 23:35:11 +02:00 by adam · 8 comments
Owner

Originally created by @Bitwolfies on GitHub (Jun 10, 2023).

Describe the feature/enhancement

By default OpenAudible includes a lot of data as ID3 tags, data that audiobookshelf supports, sadly it's not named the same.

SNRM=series
SRSQ=series-part
CDEK=asin
©pub=publisher

Adding these as alternate ID3 tags the server looks for would greatly simplify imports from the service.

Originally created by @Bitwolfies on GitHub (Jun 10, 2023). ### Describe the feature/enhancement By default OpenAudible includes a lot of data as ID3 tags, data that audiobookshelf supports, sadly it's not named the same. SNRM=series SRSQ=series-part CDEK=asin ©pub=publisher Adding these as alternate ID3 tags the server looks for would greatly simplify imports from the service.
adam added the enhancement label 2026-04-24 23:35:11 +02:00
Author
Owner

@CLHatch commented on GitHub (Jun 10, 2023):

In addition to those, just in case ABS doesn't look at them, the alternate app Libation can also set:

TCOM (MP3) & @wrt (M4B)=narrators
@gen=genres

https://github.com/rmcrackan/Libation/issues/599#issuecomment-1540468092

@CLHatch commented on GitHub (Jun 10, 2023): In addition to those, just in case ABS doesn't look at them, the alternate app Libation can also set: `TCOM` (MP3) & `@wrt` (M4B)=narrators `@gen`=genres https://github.com/rmcrackan/Libation/issues/599#issuecomment-1540468092
Author
Owner

@advplyr commented on GitHub (Jun 10, 2023):

Can you do an ffprobe of one of your audio files from openaudible so I can see what the tags look like?

That would be ffprobe -i /path/to/audiofile.mp3 -show_format -print_format json

Then I will add the tags based on how ffprobe outputs them

@advplyr commented on GitHub (Jun 10, 2023): Can you do an ffprobe of one of your audio files from openaudible so I can see what the tags look like? That would be `ffprobe -i /path/to/audiofile.mp3 -show_format -print_format json` Then I will add the tags based on how ffprobe outputs them
Author
Owner

@Bitwolfies commented on GitHub (Jun 11, 2023):

output.txt

@Bitwolfies commented on GitHub (Jun 11, 2023): [output.txt](https://github.com/advplyr/audiobookshelf/files/11715709/output.txt)
Author
Owner

@advplyr commented on GitHub (Jun 12, 2023):

Can you put it in the comment

@advplyr commented on GitHub (Jun 12, 2023): Can you put it in the comment
Author
Owner

@Bitwolfies commented on GitHub (Jun 12, 2023):

ffprobe version n6.0 Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 13.1.1 (GCC) 20230429
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
{
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55f7e6b8ff40] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/bitwolf/OpenAudible/books/Shadeslinger.m4b':
  Metadata:
    major_brand     : M4A
    minor_version   : 512
    compatible_brands: M4A isomiso2
    creation_time   : 2021-07-01T07:36:15.000000Z
    title           : Shadeslinger - The Ripple System, Book 1 (A Fantasy LitRPG Series)
    artist          : Kyle Kirrin, Portal Books
    album_artist    : Kyle Kirrin, Portal Books
    composer        : Travis Baldree
    album           : Shadeslinger
    date            : 2021-01-27
    encoder         : Lavf59.27.100
    comment         : <p>Corporate flameout Ned Altimer dreams of leaving his world behind. So, when<i> Earthblood Online </i>splashes onto the VRMMO scene, he dives in and never looks back. His advantages are twofold: exclusive access to the game’s three-day Head Start peri
    genre           : Science Fiction & Fantasy:Science Fiction
    copyright       : ©2021 Kyle Kirrin;℗2021 Portal Books
    description     : <p>Corporate flameout Ned Altimer dreams of leaving his world behind. So, when<i> Earthblood Online</i> splashes onto the VRMMO scene, he dives in and never looks back.</p> <p>His advantages are twofold: exclusive access to the game’s three-day Head Sta
    compilation     : 0
    track           : 1
  Duration: 21:32:32.90, start: 0.000000, bitrate: 63 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 16.300000
      Metadata:
        title           : Opening Credits
    Chapter #0:1: start 16.300000, end 677.093000
      Metadata:
        title           : Chapter 1
    Chapter #0:2: start 677.093000, end 1236.461000
      Metadata:
        title           : Chapter 2
    Chapter #0:3: start 1236.461000, end 3204.862000
      Metadata:
        title           : Chapter 3
    Chapter #0:4: start 3204.862000, end 4179.867000
      Metadata:
        title           : Chapter 4
    Chapter #0:5: start 4179.867000, end 5470.292000
      Metadata:
        title           : Chapter 5
    Chapter #0:6: start 5470.292000, end 5967.384000
      Metadata:
        title           : Chapter 6
    Chapter #0:7: start 5967.384000, end 7888.835000
      Metadata:
        title           : Chapter 7
    Chapter #0:8: start 7888.835000, end 9383.875000
      Metadata:
        title           : Chapter 8
    Chapter #0:9: start 9383.875000, end 10554.671000
      Metadata:
        title           : Chapter 9
    Chapter #0:10: start 10554.671000, end 12474.218000
      Metadata:
        title           : Chapter 10
    Chapter #0:11: start 12474.218000, end 13847.956000
      Metadata:
        title           : Chapter 11
    Chapter #0:12: start 13847.956000, end 15525.365000
      Metadata:
        title           : Chapter 12
    Chapter #0:13: start 15525.365000, end 17000.110000
      Metadata:
        title           : Chapter 13
    Chapter #0:14: start 17000.110000, end 19095.618000
      Metadata:
        title           : Chapter 14
    Chapter #0:15: start 19095.618000, end 21212.999000
      Metadata:
        title           : Chapter 15
    Chapter #0:16: start 21212.999000, end 23728.695000
      Metadata:
        title           : Chapter 16
    Chapter #0:17: start 23728.695000, end 25495.594000
      Metadata:
        title           : Chapter 17
    Chapter #0:18: start 25495.594000, end 27229.985000
      Metadata:
        title           : Chapter 18
    Chapter #0:19: start 27229.985000, end 30900.966000
      Metadata:
        title           : Chapter 19
    Chapter #0:20: start 30900.966000, end 33188.456000
      Metadata:
        title           : Chapter 20
    Chapter #0:21: start 33188.456000, end 35585.451000
      Metadata:
        title           : Chapter 21
    Chapter #0:22: start 35585.451000, end 37638.327000
      Metadata:
        title           : Chapter 22
    Chapter #0:23: start 37638.327000, end 39579.793000
      Metadata:
        title           : Chapter 23
    Chapter #0:24: start 39579.793000, end 41812.391000
      Metadata:
        title           : Chapter 24
    Chapter #0:25: start 41812.391000, end 43884.493000
      Metadata:
        title           : Chapter 25
    Chapter #0:26: start 43884.493000, end 46203.098000
      Metadata:
        title           : Chapter 26
    Chapter #0:27: start 46203.098000, end 47953.789000
      Metadata:
        title           : Chapter 27
    Chapter #0:28: start 47953.789000, end 49985.395000
      Metadata:
        title           : Chapter 28
    Chapter #0:29: start 49985.395000, end 51493.716000
      Metadata:
        title           : Chapter 29
    Chapter #0:30: start 51493.716000, end 53045.412000
      Metadata:
        title           : Chapter 30
    Chapter #0:31: start 53045.412000, end 55183.691000
      Metadata:
        title           : Chapter 31
    Chapter #0:32: start 55183.691000, end 57501.971000
      Metadata:
        title           : Chapter 32
    Chapter #0:33: start 57501.971000, end 59855.034000
      Metadata:
        title           : Chapter 33
    Chapter #0:34: start 59855.034000, end 61400.507000
      Metadata:
        title           : Chapter 34
    Chapter #0:35: start 61400.507000, end 63661.433000
      Metadata:
        title           : Chapter 35
    Chapter #0:36: start 63661.433000, end 65377.387000
      Metadata:
        title           : Chapter 36
    Chapter #0:37: start 65377.387000, end 67999.477000
      Metadata:
        title           : Chapter 37
    Chapter #0:38: start 67999.477000, end 69333.834000
      Metadata:
        title           : Chapter 38
    Chapter #0:39: start 69333.834000, end 70961.134000
      Metadata:
        title           : Chapter 39
    Chapter #0:40: start 70961.134000, end 72912.399000
      Metadata:
        title           : Chapter 40
    Chapter #0:41: start 72912.399000, end 74184.573000
      Metadata:
        title           : Chapter 41
    Chapter #0:42: start 74184.573000, end 75764.969000
      Metadata:
        title           : Chapter 42
    Chapter #0:43: start 75764.969000, end 77526.156000
      Metadata:
        title           : Chapter 43
    Chapter #0:44: start 77526.156000, end 77552.904000
      Metadata:
        title           : End Credits
  Stream #0:0[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 62 kb/s (default)
    Metadata:
      creation_time   : 2021-07-01T07:36:15.000000Z
      handler_name    : ?Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x3](eng): Data: bin_data (text / 0x74786574)
    Metadata:
      creation_time   : 2021-07-01T07:36:15.000000Z
      handler_name    : SubtitleHandler
  Stream #0:2[0x0]: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x600 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn (attached pic)
Unsupported codec with id 98314 for input stream 1
    "format": {
        "filename": "/home/bitwolf/OpenAudible/books/Shadeslinger.m4b",
        "nb_streams": 3,
        "nb_programs": 0,
        "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
        "format_long_name": "QuickTime / MOV",
        "start_time": "0.000000",
        "duration": "77552.904000",
        "size": "615478481",
        "bit_rate": "63489",
        "probe_score": 100,
        "tags": {
            "major_brand": "M4A ",
            "minor_version": "512",
            "compatible_brands": "M4A isomiso2",
            "creation_time": "2021-07-01T07:36:15.000000Z",
            "title": "Shadeslinger - The Ripple System, Book 1 (A Fantasy LitRPG Series)",
            "artist": "Kyle Kirrin, Portal Books",
            "album_artist": "Kyle Kirrin, Portal Books",
            "composer": "Travis Baldree",
            "album": "Shadeslinger",
            "date": "2021-01-27",
            "encoder": "Lavf59.27.100",
            "comment": "<p>Corporate flameout Ned Altimer dreams of leaving his world behind. So, when<i> Earthblood Online </i>splashes onto the VRMMO scene, he dives in and never looks back. His advantages are twofold: exclusive access to the game’s three-day Head Start period, and a talking axe named Frank....</p>",
            "genre": "Science Fiction & Fantasy:Science Fiction",
            "copyright": "©2021 Kyle Kirrin;℗2021 Portal Books",
            "description": "<p>Corporate flameout Ned Altimer dreams of leaving his world behind. So, when<i> Earthblood Online</i> splashes onto the VRMMO scene, he dives in and never looks back.</p> <p>His advantages are twofold: exclusive access to the game’s three-day Head Start period, and a ridiculously handsome talking axe named Frank who has knowledge of the game’s deepest secrets...if the magnificent Frank ever feels like sharing them.</p> <p>But those advantages also make Ned a target. Once the Head Start period ends, his fellow players will stop at nothing to rip that suave, violent, yet disarmingly charismatic axe right out of his hands.</p> <p>In 72 hours, the greatest manhunt in gaming history is set to begin.</p> <p>It’s gonna be a lot of fun.</p>",
            "compilation": "0",
            "track": "1"
        }
    }
}

@Bitwolfies commented on GitHub (Jun 12, 2023): ``` ffprobe version n6.0 Copyright (c) 2007-2023 the FFmpeg developers built with gcc 13.1.1 (GCC) 20230429 configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 / 60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 4. 10.100 / 4. 10.100 libpostproc 57. 1.100 / 57. 1.100 { [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55f7e6b8ff40] stream 0, timescale not set Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/bitwolf/OpenAudible/books/Shadeslinger.m4b': Metadata: major_brand : M4A minor_version : 512 compatible_brands: M4A isomiso2 creation_time : 2021-07-01T07:36:15.000000Z title : Shadeslinger - The Ripple System, Book 1 (A Fantasy LitRPG Series) artist : Kyle Kirrin, Portal Books album_artist : Kyle Kirrin, Portal Books composer : Travis Baldree album : Shadeslinger date : 2021-01-27 encoder : Lavf59.27.100 comment : <p>Corporate flameout Ned Altimer dreams of leaving his world behind. So, when<i> Earthblood Online </i>splashes onto the VRMMO scene, he dives in and never looks back. His advantages are twofold: exclusive access to the game’s three-day Head Start peri genre : Science Fiction & Fantasy:Science Fiction copyright : ©2021 Kyle Kirrin;℗2021 Portal Books description : <p>Corporate flameout Ned Altimer dreams of leaving his world behind. So, when<i> Earthblood Online</i> splashes onto the VRMMO scene, he dives in and never looks back.</p> <p>His advantages are twofold: exclusive access to the game’s three-day Head Sta compilation : 0 track : 1 Duration: 21:32:32.90, start: 0.000000, bitrate: 63 kb/s Chapters: Chapter #0:0: start 0.000000, end 16.300000 Metadata: title : Opening Credits Chapter #0:1: start 16.300000, end 677.093000 Metadata: title : Chapter 1 Chapter #0:2: start 677.093000, end 1236.461000 Metadata: title : Chapter 2 Chapter #0:3: start 1236.461000, end 3204.862000 Metadata: title : Chapter 3 Chapter #0:4: start 3204.862000, end 4179.867000 Metadata: title : Chapter 4 Chapter #0:5: start 4179.867000, end 5470.292000 Metadata: title : Chapter 5 Chapter #0:6: start 5470.292000, end 5967.384000 Metadata: title : Chapter 6 Chapter #0:7: start 5967.384000, end 7888.835000 Metadata: title : Chapter 7 Chapter #0:8: start 7888.835000, end 9383.875000 Metadata: title : Chapter 8 Chapter #0:9: start 9383.875000, end 10554.671000 Metadata: title : Chapter 9 Chapter #0:10: start 10554.671000, end 12474.218000 Metadata: title : Chapter 10 Chapter #0:11: start 12474.218000, end 13847.956000 Metadata: title : Chapter 11 Chapter #0:12: start 13847.956000, end 15525.365000 Metadata: title : Chapter 12 Chapter #0:13: start 15525.365000, end 17000.110000 Metadata: title : Chapter 13 Chapter #0:14: start 17000.110000, end 19095.618000 Metadata: title : Chapter 14 Chapter #0:15: start 19095.618000, end 21212.999000 Metadata: title : Chapter 15 Chapter #0:16: start 21212.999000, end 23728.695000 Metadata: title : Chapter 16 Chapter #0:17: start 23728.695000, end 25495.594000 Metadata: title : Chapter 17 Chapter #0:18: start 25495.594000, end 27229.985000 Metadata: title : Chapter 18 Chapter #0:19: start 27229.985000, end 30900.966000 Metadata: title : Chapter 19 Chapter #0:20: start 30900.966000, end 33188.456000 Metadata: title : Chapter 20 Chapter #0:21: start 33188.456000, end 35585.451000 Metadata: title : Chapter 21 Chapter #0:22: start 35585.451000, end 37638.327000 Metadata: title : Chapter 22 Chapter #0:23: start 37638.327000, end 39579.793000 Metadata: title : Chapter 23 Chapter #0:24: start 39579.793000, end 41812.391000 Metadata: title : Chapter 24 Chapter #0:25: start 41812.391000, end 43884.493000 Metadata: title : Chapter 25 Chapter #0:26: start 43884.493000, end 46203.098000 Metadata: title : Chapter 26 Chapter #0:27: start 46203.098000, end 47953.789000 Metadata: title : Chapter 27 Chapter #0:28: start 47953.789000, end 49985.395000 Metadata: title : Chapter 28 Chapter #0:29: start 49985.395000, end 51493.716000 Metadata: title : Chapter 29 Chapter #0:30: start 51493.716000, end 53045.412000 Metadata: title : Chapter 30 Chapter #0:31: start 53045.412000, end 55183.691000 Metadata: title : Chapter 31 Chapter #0:32: start 55183.691000, end 57501.971000 Metadata: title : Chapter 32 Chapter #0:33: start 57501.971000, end 59855.034000 Metadata: title : Chapter 33 Chapter #0:34: start 59855.034000, end 61400.507000 Metadata: title : Chapter 34 Chapter #0:35: start 61400.507000, end 63661.433000 Metadata: title : Chapter 35 Chapter #0:36: start 63661.433000, end 65377.387000 Metadata: title : Chapter 36 Chapter #0:37: start 65377.387000, end 67999.477000 Metadata: title : Chapter 37 Chapter #0:38: start 67999.477000, end 69333.834000 Metadata: title : Chapter 38 Chapter #0:39: start 69333.834000, end 70961.134000 Metadata: title : Chapter 39 Chapter #0:40: start 70961.134000, end 72912.399000 Metadata: title : Chapter 40 Chapter #0:41: start 72912.399000, end 74184.573000 Metadata: title : Chapter 41 Chapter #0:42: start 74184.573000, end 75764.969000 Metadata: title : Chapter 42 Chapter #0:43: start 75764.969000, end 77526.156000 Metadata: title : Chapter 43 Chapter #0:44: start 77526.156000, end 77552.904000 Metadata: title : End Credits Stream #0:0[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 62 kb/s (default) Metadata: creation_time : 2021-07-01T07:36:15.000000Z handler_name : ?Apple Sound Media Handler vendor_id : [0][0][0][0] Stream #0:1[0x3](eng): Data: bin_data (text / 0x74786574) Metadata: creation_time : 2021-07-01T07:36:15.000000Z handler_name : SubtitleHandler Stream #0:2[0x0]: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x600 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn (attached pic) Unsupported codec with id 98314 for input stream 1 "format": { "filename": "/home/bitwolf/OpenAudible/books/Shadeslinger.m4b", "nb_streams": 3, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.000000", "duration": "77552.904000", "size": "615478481", "bit_rate": "63489", "probe_score": 100, "tags": { "major_brand": "M4A ", "minor_version": "512", "compatible_brands": "M4A isomiso2", "creation_time": "2021-07-01T07:36:15.000000Z", "title": "Shadeslinger - The Ripple System, Book 1 (A Fantasy LitRPG Series)", "artist": "Kyle Kirrin, Portal Books", "album_artist": "Kyle Kirrin, Portal Books", "composer": "Travis Baldree", "album": "Shadeslinger", "date": "2021-01-27", "encoder": "Lavf59.27.100", "comment": "<p>Corporate flameout Ned Altimer dreams of leaving his world behind. So, when<i> Earthblood Online </i>splashes onto the VRMMO scene, he dives in and never looks back. His advantages are twofold: exclusive access to the game’s three-day Head Start period, and a talking axe named Frank....</p>", "genre": "Science Fiction & Fantasy:Science Fiction", "copyright": "©2021 Kyle Kirrin;℗2021 Portal Books", "description": "<p>Corporate flameout Ned Altimer dreams of leaving his world behind. So, when<i> Earthblood Online</i> splashes onto the VRMMO scene, he dives in and never looks back.</p> <p>His advantages are twofold: exclusive access to the game’s three-day Head Start period, and a ridiculously handsome talking axe named Frank who has knowledge of the game’s deepest secrets...if the magnificent Frank ever feels like sharing them.</p> <p>But those advantages also make Ned a target. Once the Head Start period ends, his fellow players will stop at nothing to rip that suave, violent, yet disarmingly charismatic axe right out of his hands.</p> <p>In 72 hours, the greatest manhunt in gaming history is set to begin.</p> <p>It’s gonna be a lot of fun.</p>", "compilation": "0", "track": "1" } } } ```
Author
Owner

@advplyr commented on GitHub (Jun 12, 2023):

Doesn't look like ffprobe is able to pick up those tags from OpenAudible. Not much we can do about that since there is no alternative to ffprobe

@advplyr commented on GitHub (Jun 12, 2023): Doesn't look like ffprobe is able to pick up those tags from OpenAudible. Not much we can do about that since there is no alternative to ffprobe
Author
Owner

@BrianAker commented on GitHub (Oct 2, 2024):

In researching bug I found this one, for ffprobe to find all tag data/etc you need:

ffprobe -hide_banner Some_book.m4b -show_streams -show_chapters -show_error -export_all 1 -show_format -print_format json

Not:
ffprobe -i /path/to/audiofile.mp3 -show_format -print_format json

Without "-export_all 1" you will end missing some of the tags. Looking at the output using jq, you will find the ASIN:
ffprobe -hide_banner -i some_book.m4b -show_format -print_format json -export_all 1 | jq ".format.tags.CDEK"

Series name:
-show_format -print_format json -export_all 1 | jq ".format.tags.SRNM"

Series sequence:
-show_format -print_format json -export_all 1 | jq ".format.tags.SRNM"

@BrianAker commented on GitHub (Oct 2, 2024): In researching bug I found this one, for ffprobe to find all tag data/etc you need: ffprobe -hide_banner Some_book.m4b -show_streams -show_chapters -show_error -export_all 1 -show_format -print_format json Not: ffprobe -i /path/to/audiofile.mp3 -show_format -print_format json Without "-export_all 1" you will end missing some of the tags. Looking at the output using jq, you will find the ASIN: ffprobe -hide_banner -i some_book.m4b -show_format -print_format json -export_all 1 | jq ".format.tags.CDEK" Series name: -show_format -print_format json -export_all 1 | jq ".format.tags.SRNM" Series sequence: -show_format -print_format json -export_all 1 | jq ".format.tags.SRNM"
Author
Owner

@advplyr commented on GitHub (Oct 2, 2024):

Somehow I've never seen that export_all option get used. I can confirm it does show other unsupported tags.

https://www.ffmpeg.org/ffmpeg-all.html#mov_002fmp4_002f3gp

export_all
Export unrecognized boxes within the udta box as metadata entries. The first four characters of the box type are set as the key. Default is false.

We may be able to use this, thanks for sharing.
I don't have OpenAudible. If anyone can share a small (maybe trimmed) audio file with embedded tags from a recent version of openaudible I can take a look.
OpenAudible may have changed the tags. They recently made some changes to embedded chapters for Abs support. https://github.com/advplyr/audiobookshelf/issues/3361

@advplyr commented on GitHub (Oct 2, 2024): Somehow I've never seen that export_all option get used. I can confirm it does show other unsupported tags. https://www.ffmpeg.org/ffmpeg-all.html#mov_002fmp4_002f3gp ``` export_all Export unrecognized boxes within the udta box as metadata entries. The first four characters of the box type are set as the key. Default is false. ``` We may be able to use this, thanks for sharing. I don't have OpenAudible. If anyone can share a small (maybe trimmed) audio file with embedded tags from a recent version of openaudible I can take a look. OpenAudible may have changed the tags. They recently made some changes to embedded chapters for Abs support. https://github.com/advplyr/audiobookshelf/issues/3361
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1184