Neurrone / beets-audible

Organize Your Audiobook Collection With Beets
MIT License
111 stars 19 forks source link

desc field not written to M4B #20

Closed SenorSmartyPants closed 2 years ago

SenorSmartyPants commented 2 years ago

Publisher summary is supposed to be written to desc field in m4b files according to Seanap guide and this readme. But I've noticed only comments is written to m4b using beets-audible. Using Seanaps mp3tag scripts both comments and desc are written to m4b. Audiobookshelf does not seem to import the comments field from m4b.

ffprobe outputs mp3tag'd example: note both description and comment

  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    title           : Leviathan Wakes (Unabridged)
    artist          : James S. A. Corey
    composer        : Jefferson Mays
    album           : Leviathan Wakes
    genre           : Science Fiction & Fantasy/Science Fiction
    date            : 2011
    encoder         : Lavf56.40.101
    series-part     : 1
    RELEASETIME     : 2014
    ~length         : 19:11:27
    ASIN            : B00P9XDQFY
    SERIES          : The Expanse
    tmp_Genre2      : Science Fiction
    tmp_Genre1      : Science Fiction & Fantasy
    Subtitle        : Book 1 of the Expanse
    WWWAUDIOFILE    : https://www.audible.com/pd/Leviathan-Wakes-Audiobook/B00P9XDQFY?ipRedirectOverride=true&overrideBaseCountry
    media_type      : 2
    album_artist    : James S. A. Corey
    grouping        : The Expanse, Book #1
    copyright       : 2011 James S. A. Corey
    sort_album      : The Expanse 1 - Leviathan Wakes
    description     : Humanity has colonized the planets - interstellar travel is still beyond our reach, but the solar system has become a dense network of colonies. But there are tensions - the mineral-rich outer planets resent their dependence on Earth and Mars and the poli
    comment         : Humanity has colonized the planets - interstellar travel is still beyond our reach, but the solar system has become a dense network of colonies. But there are tensions - the mineral-rich outer planets resent their dependence on Earth and Mars and the poli

beets-audible

  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    title           : Leviathan Wakes (Unabridged)
    artist          : James S. A. Corey
    composer        : Jefferson Mays
    album           : Leviathan Wakes
    genre           : Science Fiction & Fantasy/Fantasy
    track           : 1/1
    disc            : 1/1
    date            : 2011-06-02
    compilation     : 0
    encoder         :
    SERIES-PART     : 1
    LANGUAGE        : English
    MusicBrainz Album Type: audiobook
    ORIGINAL YEAR   : 2011-06-02
    ASIN            : B073H9PF2D
    SERIES          : The Expanse
    LABEL           : Hachette Audio
    publisher       : Hachette Audio
    media_type      : 2
    sort_album_artist:
    sort_artist     :
    sort_composer   :
    album_artist    : James S. A. Corey
    grouping        : The Expanse, Book #1
    sort_album      : The Expanse 1 - Leviathan Wakes
    comment         : From a *New York Times* best-selling and Hugo award-winning author comes a modern masterwork of science fiction, introducing a captain, his crew, and a detective as they unravel a horrifying solar system wide conspiracy that begins with a single missing g
                    :
                    : Humanity has colonized the solar system - Mars, the Moon, the Asteroid Belt and beyond - but the stars are still out of our reach.
                    :
                    : Jim Holden is XO of an ice miner making runs from the rings of Saturn to the mining stations of the Belt. When he and his crew stumble upon a derelict ship, the Scopuli, they find themselves in possession of a secret they never wanted. A secret that someo
                    :
                    : Detective Miller is looking for a girl. One girl in a system of billions, but her parents have money and money talks. When the trail leads him to the Scopuli and rebel sympathizer Holden, he realizes that this girl may be the key to everything.
                    :
                    : Holden and Miller must thread the needle between the Earth government, the Outer Planet revolutionaries, and secretive corporations - and the odds are against them. But out in the Belt, the rules are different, and one small ship can change the fate of th
                    :
                    : **The Expanse**
                    :
                    : * *Leviathan Wakes*
                    : * *Caliban's War*
                    : * *Abaddon's Gate*
                    : * *Cibola Burn*
                    : * *Nemesis Games*
                    : * *Babylon's Ashes*
                    : * *Persepolis Rising*
                    : * *Tiamat's Wrath*
                    : * *​Leviathan Falls*
                    : * *Memory's Legion*
                    :
                    : **The Expanse Short Fiction**
                    :
                    : * *Drive*
                    : * *The Butcher of Anderson Station*
                    : * *Gods of Risk*
                    : * *The Churn*
                    : * *The Vital Abyss*
                    : * *Strange Dogs*
                    : * *Auberon*
                    : * *The Sins of Our Fathers*
Neurrone commented 2 years ago

Thanks for spotting this.

I've written it as a tag called desc, let me know if this works. I wasn't sure if it should be desc or ----:com.apple.iTunes:desc

SenorSmartyPants commented 2 years ago

Audiobookshelf picks up the new desc field and displays it in app.

Thanks!