Thanks for the fast reply. I clipped the config file to remove all plugins 
& fluff

directory: /music
library: /config/musiclibrary.blb

import:
    copy: no
    move: yes
    write: yes
    resume: ask
    quiet_fallback: skip
    timid: yes
    log: /config/beet.log
ignore: .AppleDouble ._* *~ .DS_Store
art_filename: albumart
threaded: yes
verbose: yes
ui:
    color: yes

paths:
    default: $genre/$albumartist/$album/$track $title
    singleton: Singletons/$artist - $title
    comp: $genre/$album/$track $title
    albumtype:soundtrack: Soundtracks/$album/$track $title

Nex <https://beets.readthedocs.io/en/v1.3.17/reference/pathformat.html> 
Previous <https://beets.readthedocs.io/en/v1.3.17/reference/cli.html>

Running an import on a folder with a single album in it results in this, 
with a stall at the end (no results after 10 mins):

root@tobor-server:~# docker exec beets beet import /downloads
user configuration: /config/config.yaml
data directory: /config
plugin paths: 
Sending event: pluginload
library database: /config/musiclibrary.blb
library directory: /music
Sending event: library_opened
Sending event: import_begin
state file could not be read: [Errno 2] No such file or directory: 
u'/config/state.pickle'
Sending event: import_task_created
Sending event: import_task_start
Looking up: /downloads/Stimming - Liquorice - 2011
Tagging Stimming - Liquorice
No album ID found.
Search terms: Stimming - Liquorice
Album might be VA: False
Searching for MusicBrainz releases with: {'release': u'liquorice', 
'tracks': u'13', 'artist': u'stimming'}
Requesting MusicBrainz release 689422a5-8c19-494d-be70-7fd0dcc9f0c1
primary MB release type: album
Sending event: albuminfo_received
Candidate: Stimming - Liquorice (689422a5-8c19-494d-be70-7fd0dcc9f0c1)
Computing track assignment...
...done.
Success. Distance: 0.00
Requesting MusicBrainz release 6f451d0f-cf04-478d-b229-80ce2840e774
Sending event: albuminfo_received
Candidate: Swedish Death Candy - Liquorice 
(6f451d0f-cf04-478d-b229-80ce2840e774)
Computing track assignment...
...done.
Success. Distance: 0.70
Requesting MusicBrainz release ea0a8ba7-1aef-495f-a2e7-11ef18b6afdf
primary MB release type: album
Sending event: albuminfo_received
Candidate: French for Cartridge - Liquorice 
(ea0a8ba7-1aef-495f-a2e7-11ef18b6afdf)
Computing track assignment...
...done.
Success. Distance: 0.56
Requesting MusicBrainz release 842295ed-784d-3c0a-86b3-3cc64f28c918
primary MB release type: album
Sending event: albuminfo_received
Candidate: Sly Hats - Liquorice Night (842295ed-784d-3c0a-86b3-3cc64f28c918)
Computing track assignment...
...done.
Success. Distance: 0.61
Requesting MusicBrainz release ae674a09-0d40-4eb9-bd80-c58e11f42c05
primary MB release type: album
Sending event: albuminfo_received
Candidate: Sly Hats - Liquorice Night (ae674a09-0d40-4eb9-bd80-c58e11f42c05)
Computing track assignment...
...done.
Success. Distance: 0.61
Evaluating 5 candidates.

Sending event: before_choose_candidate




On Sunday, 19 August 2018 14:07:51 UTC+10, Adrian Sampson wrote:
>
> That’s troubling! The first thing I’d suggest is disabling plutons to see 
> if you can blame any of them. Have you tried that?
>
> Adrian
>
> On Aug 18, 2018, at 8:57 PM, Enrico <[email protected] <javascript:>> 
> wrote:
>
> Hey, I have an unraid server and I'm trying to deal with my music using a 
> beets docker container (linuxserver/beets).
>
> I've been encountering constant stalls on import, I've tried many changes 
> to my config file, but nothing provides a reliable import.
>
> If I set my import to -quiet, I can get through quite a few files before a 
> stall, usually stopping on a classical album. However turning off -quiet 
> results in a quick stall, usually directly after Sending event: 
> before_choose_candidate. Here's an example with a single album in the 
> import folder :
>
>     docker exec beets beet import -t /downloads
> user configuration: /config/config.yaml
> data directory: /config
> plugin paths: 
> /usr/lib/python2.7/site-packages/pylast/__init__.py:51: UserWarning: You are 
> using pylast with Python 2. Pylast will soon be Python 3 only. More info: 
> https://github.com/pylast/pylast/issues/265
>   UserWarning,
> Sending event: pluginload
> ImageMagick check `convert --version` failed: [Errno 2] No such file or 
> directory
> artresizer: method is (1, (0,))
> library database: /config/musiclibrary.blb
> library directory: /music
> Sending event: library_opened
> Sending event: import_begin
> state file could not be read: [Errno 2] No such file or directory: 
> u'/config/state.pickle'
> Sending event: import_task_created
> Sending event: import_task_start
> Looking up: /downloads/George Frideric Handel; The English Concert, Trevor 
> Pinnock - Water Music
> Tagging 9. Country Dance (1 & 2) - Handel: Water Music
> No album ID found.
> Search terms: 9. Country Dance (1 & 2) - Handel: Water Music
> Album might be VA: True
> Searching for MusicBrainz releases with: {'release': u'handel: water music', 
> 'tracks': u'19', 'artist': u'9. country dance (1 & 2)'}
> Requesting MusicBrainz release 4158f104-8aae-4db8-81fa-dd0540c49ec4
> primary MB release type: album
>
> =====CUT OUT BORING BITS ============
>
> Computing track assignment...
> ...done.
> Success. Distance: 0.31
> Evaluating 12 candidates.
>
> Sending event: before_choose_candidate
> /downloads/George Frideric Handel; The English Concert, Trevor Pinnock - 
> Water Music (19 items)
> Finding tags for album "9. Country Dance (1 & 2) - Handel: Water Music".
> Candidates:
> 1. George Frideric Handel; The English Concert, Trevor Pinnock - Water Music 
> (73.7%) (tracks, artist, album) (CD, 1983, DE, Archiv Produktion)
> 2. George Frideric Handel; The English Concert, Trevor Pinnock - Water Music 
> / Overture "Il Pastor Fido" (68.7%) (missing tracks, tracks, artist, ...) 
> (CD, 2002, DE, Archiv Produktion)
> 3. George Frideric Handel; The English Concert, Trevor Pinnock - Water Music 
> / Music for the Royal Fireworks (67.8%) (missing tracks, tracks, artist, ...) 
> (CD, 2009, DE, Deutsche Grammophon)
> 4. George Frideric Handel - Greatest Hits (47.9%) (tracks, missing tracks, 
> album, ...) (CD, 2004, US, Decca Classics)
> 5. George Frideric Handel; Scottish Chamber Orchestra, Sir Alexander Gibson - 
> Water Music (34.5%) (tracks, artist, album, ...) (CD, 1985, GB, Chandos)
> 6. George Frideric Handel; Scottish Chamber Orchestra, Sir Alexander Gibson - 
> Water Music (33.5%) (tracks, artist, album, ...) (CD, 2001, GB, Chandos 
> Collect)
> 7. Sir Alexander Gibson - George Frideric Handel - Water-Music (28.3%) 
> (tracks, artist, album) (CD)
> 8. George Frideric Handel - Baroque - Handel: Messiah Highlights, Royal 
> Fireworks Music, Water Music Suite (26.4%) (tracks, album, artist, ...) (CD, 
> 1996, US, Intersound)
> 9. George Frideric Handel; The English Concert, Trevor Pinnock - Orchestral 
> Works (23.8%) (missing tracks, mediums, tracks, ...) (6xCD, 1999, DE, Archiv 
> Produktion)
> 10. Various Artists - Cat Music (21.4%) (tracks, album, year) (CD, 1998, US, 
> Rollin' Rock)
>
> 1 is the correct choice but I'm not given the choice to select it. By 
> disabling plugins I can sometimes get the selection prompt to show, but I 
> can't progress beyond that point. It seems like setting quiet mode to "on" 
> results in the most stable processing, setting to "off" mostly the import 
> won't even start.
>
> I've deleted and recreated the container and the docker.img and checked 
> permissions, but I'm now at a loss. I really want this app to work!
>
> My current config file is pasted below, please keep in mind I'm 
> troubleshooting the config file so there's a few commented out lines.
>
> # Beets configuration --------------------------------------------------------
>
> directory: /music
> library: /config/musiclibrary.blb
>
> import:
>     # write metadata to music files
>     write: yes
>
>     # move imported files from source to the music directory
>     move: yes
>     copy: no
>     delete: no
>
>     # use auto-tagging where possible
>     # do not require confirmation on strong matches
>     autotag: yes
>     timid: no
>
>     resume: ask
>     incremental: no
>     none_rec_action: ask
>     #log:
>
>     quiet: no  # enable with command line option
>     quiet_fallback: skip
>     default_action: apply
>
>     singletons: no
>     languages: [en]
>     detail: no
>     flat: no
>
> # use the release-date of the original (first) release of an album?
> original_date: no
>
> # on multi-disk releases, assign track numbers for the whole album.
> # If "per disk", make sure tracknames do not collide ("paths" setting).
> per_disc_numbering: yes
>
> # files matching these patterns are deleted from source after import
> clutter: ["Thumbs.DB", ".DS_Store", "*.m3u", ".pls", "*.jpg", "*.m3u", 
> "*.log", "*.cue"]
>
> # files/directories matching one of these patterns are ignored during import
> ignore: [".*", "*~", "System Volume Information"]
>
>
> # Paths ----------------------------------------------------------------------
>
> # Paths and filenames for music files
> # relative to music directory
> paths:
>     default: $albumartist/$album%aunique{}/$track - $title
>     singleton: Non-Album/$artist - $title
>     comp: Compilations/$album%aunique{}/$track - $title
>     albumtype_soundtrack: Soundtracks/$album%aunique{}/$track $title
>
> # replace special characters in generated filenames
> replace:
>     '[\\/]': _
>     '^\.': _
>     '[\x00-\x1f]': _
>     '[<>:"\?\*\|]': _
>     '\.$': _
>     '\s+$': ''
>
> path_sep_replace: _
>
> # filename for the album art
> art_filename: cover  # results in "cover.jpg"
>
> max_filename_length: 0  # unlimited
>
>
> # General --------------------------------------------------------------------
>
> # use mutliple threads during import
> threaded: yes
> timeout: 5.0
> verbose: yes
>
>
> # User Interface -------------------------------------------------------------
>
> color: yes
> list_format_item: %upper{$artist} - $album - $track. $title
> list_format_album: %upper{$albumartist} - $album
> time_format: '%Y-%m-%d %H:%M:%S'
> terminal_encoding: utf8
>
> ui:
>     terminal_width: 80
>     length_diff_thresh: 10.0
>
>
> # Auto Tagger ----------------------------------------------------------------
>
> match:
>     strong_rec_thresh: 0.2      # match 90% or better for auto import
>     medium_rec_thresh: 0.25
>     rec_gap_thresh: 0.25
>     max_rec:
>         missing_tracks: medium
>         unmatched_tracks: medium
>     distance_weights:
>         source: 2.0
>         artist: 3.0
>         album: 3.0
>         media: 1.0
>         mediums: 1.0
>         year: 1.0
>         country: 0.5
>         label: 0.5
>         catalognum: 0.5
>         albumdisambig: 0.5
>         album_id: 5.0
>         tracks: 2.0
>         missing_tracks: 0.9
>         unmatched_tracks: 0.6
>         track_title: 3.0
>         track_artist: 2.0
>         track_index: 1.0
>         track_length: 2.0
>         track_id: 5.0
>     preferred:
>         countries: []
>         media: []
>         original_year: no
>     ignored: []
>     track_length_grace: 10
>     track_length_max: 30
>
>
> # Plugins --------------------------------------------------------------------
>
> plugins: [
>     #discogs,
>     #lyrics,
>     #echonest_tempo,
>     fetchart,
>     #acousticbrainz,
>     embedart,
>     lastgenre,
>     chroma,
>     scrub,
>     mbsync,
>     #mpdupdate,
>     #mpdstats,
>     missing,
>     duplicates,
>     #web,
>     fromfilename
> ]
> pluginpath: []
>
>
> # Plugins Config -------------------------------------------------------------
>
> #lyrics:
>     #auto: yes
>     #fallback: ''
>
> #echonest_tempo:
>  #   auto: yes
>
> #discogs:
>     #source_weight: 0.0
>
> lastgenre:
>    # whitelist: ~/.config/beets/genres.txt
>     #canoncical: ~/.config/beets/genres-tree.yaml
>     #fallback: ''
>     auto: yes
>     source: album
>
> fetchart:
>     auto: yes
>     #maxwidth: 600
>     #cautious: no
>     #cover_names: cover folder back 
>     #google_key: REDACTED
>     #google_engine: 001442825323518660753:hrh5ch1gjzm
>
> embedart:
>     auto: yes
>     maxwidth: 600
>
> replaygain:
>     auto: yes
>     overwrite: yes
>     albumgain: yes
>
> scrub:
>     auto: yes
>
> # required for mpdstats
> #mpd:
>     #host: localhost
>     #port: 6600
>     #password:  # none
>
> musicbrainz:
>     host: 192.168.1.200:5000
>     ratelimit: 100
>
> mpdstats:
>     rating: False
>     # two ratings are calculated:
>     # "rolling" based on recent development
>     # "stable" based on all-time development
>     # rating mix 0.0 is all "rolling", 1.0 is all "stable"
>     rating_mix: 0.75
>
> missing:
>     format: $albumartist - $album - $track - $title
>     count: no
>     total: no
>
> duplicates:
>     checksum: no  # expensive
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "beets" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to