Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculating album replaygain with gstreamer still causes error #2845

Closed
sdrik opened this issue Mar 18, 2018 · 1 comment
Closed

Calculating album replaygain with gstreamer still causes error #2845

sdrik opened this issue Mar 18, 2018 · 1 comment
Labels
bug bugs that are confirmed and actionable

Comments

@sdrik
Copy link
Contributor

sdrik commented Mar 18, 2018

Problem

I have the same issue as in #2636 when calculating replaygain for my whole collection.
Upgrading from 1.4.5 (which do not contain the fix for #2636 ) to 1.4.6 only reduces the error occurrence rate from 80% to 30%.

Setup

  • OS: Gentoo Linux
  • Python version: 2.7.14
  • beets version: 1.4.6

My configuration (output of beet config) is:

lyrics:
    bing_lang_from: []
    sources: '*'
    google_API_key: REDACTED
    force: no
    auto: yes
    genius_api_key: REDACTED
    google_engine_ID: REDACTED
    bing_lang_to:
    bing_client_secret: REDACTED
    fallback:
    local: no

paths:
    comp: ${album_genre}/Various Artits/${year} - ${album}%aunique{}/${disc_and_track} - ${title} ($artist)
    singleton: ${single_genre}/${artist}/%if{${year},${year} - }${title}
    default: ${album_genre}/${albumartist}/${year} - ${album}%aunique{}/${disc_and_track} - ${title}
fetchart:
    minwidth: 500
    maxwidth: 600
    sources: filesystem coverart amazon albumart fanarttv
    fanarttv_key: REDACTED
    auto: yes
    google_engine: 001442825323518660753:hrh5ch1gjzm
    enforce_ratio: no
    cautious: no
    store_source: no
    google_key: REDACTED
    cover_names:
    - cover
    - front
    - art
    - album
    - folder
library: /srv/music/.beets.db

replace:
    '''': "\u2019"
    ^\.: _
    \s+$: ''
    ^\s+: ''
    ^-: _
original_date: yes
replaygain:
    auto: no
    backend: gstreamer
    targetlevel: 89
    r128: [Opus]
    overwrite: no
badfiles:
    commands:
        mpc: mpcdec -c

plugins: discogs chroma fetchart embedart scrub lastgenre badfiles missing edit inline info convert duplicates replaygain types web mbsync lyrics
types:
    mp3car: bool
    myrip: bool
web:
    reverse_proxy: yes
    include_paths: yes
    host: 127.0.0.1
    port: 8337
    cors: ''
convert:
    dest: /srv/music-export
    command: /usr/local/bin/gapless-mp3enc $source $dest
    never_convert_lossy_files: yes
    embed: no
    album_art_maxwidth: 0
    format: mp3
    auto: no
    threads: 2
    copy_album_art: no
    tmpdir:
    max_bitrate: 500

    paths: {}
    pretend: no
    quiet: no
    formats:
        alac:
            command: ffmpeg -i $source -y -vn -acodec alac $dest
            extension: m4a
        aac:
            command: ffmpeg -i $source -y -vn -acodec aac -aq 1 $dest
            extension: m4a
        opus: ffmpeg -i $source -y -vn -acodec libopus -ab 96k $dest
        mp3: ffmpeg -i $source -y -vn -aq 2 $dest
        flac: ffmpeg -i $source -y -vn -acodec flac $dest
        ogg: ffmpeg -i $source -y -vn -acodec libvorbis -aq 3 $dest
        wma: ffmpeg -i $source -y -vn -acodec wmav2 -vn $dest
    no_convert: ''
item_fields:
    disc_and_track: u'%i%02i' % (disc, track) if disctotal > 1 else u'%02i' % (track)
    single_genre: genre.split(', ')[0] if genre else u'Other'
per_disc_numbering: yes
id3v23: yes
album_fields:
    album_genre: genre.split(', ')[0] if genre else u'Other'
lastgenre:
    source: artist
    count: 1
    prefer_specific: yes
    whitelist: /srv/music/.beets.genres.txt
    canonical: /srv/music/.beets.genres-tree.yaml
    force: yes
    min_weight: 10
    auto: yes
    separator: ', '
    fallback:
path_sep_replace: '~'
directory: /srv/music

import:
    timid: yes
    detail: yes
acoustid:
    apikey: REDACTED
discogs:
    user_token: REDACTED
    tokenfile: discogs_token.json
    apikey: REDACTED
    apisecret: REDACTED
    source_weight: 0.5
embedart:
    compare_threshold: 0
    auto: yes
    ifempty: no
    remove_art_file: no
    maxwidth: 0
duplicates:
    count: no
    full: no
    format: ''
    keys: []
    move: ''
    tag: ''
    path: no
    copy: ''
    tiebreak: {}
    album: no
    strict: no
    checksum: ''
    merge: no
    delete: no
edit:
    itemfields: track title artist album
    albumfields: album albumartist
    ignore_fields: id path
missing:
    count: no
    album: no
    total: no
chroma:
    auto: yes
scrub:
    auto: yes
pathfields: {}
@sdrik
Copy link
Contributor Author

sdrik commented Mar 18, 2018

With the changes from #2846 the error occurrence rate drops to zero.

@sampsyo sampsyo added the bug bugs that are confirmed and actionable label Mar 19, 2018
sdrik added a commit to sdrik/beets that referenced this issue Mar 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs that are confirmed and actionable
Projects
None yet
Development

No branches or pull requests

2 participants