Skipping Files - no indication why?


#1

As shown, the directory has files in it - yet it just skips them and there is no entry in state.pickle for this directory either.

oggbeeter@TheWheel:/mnt/KMET/KMET_Server/Flac/Y/Yazoo/Upstairs at Eric's - 1982 [12" Vinyl] # ls -al
total 264863
drwxr-xr-x  2 1000  wheel        19 May 23 02:14 .
drwxr-xr-x  3 1000  wheel         3 May 23 02:10 ..
-rwxrwxrwx  1 1000  wheel  20574700 May 23 02:14 A1. Don't Go.m4a
-rwxrwxrwx  1 1000  wheel  20682957 May 23 02:14 A2. Too Pieces.m4a
-rwxrwxrwx  1 1000  wheel  22329049 May 23 02:14 A3. Bad Connection.m4a
-rwxrwxrwx  1 1000  wheel  26733572 May 23 02:14 A4. I Before E Except After C.m4a
-rwxrwxrwx  1 1000  wheel  25316985 May 23 02:14 A5. Midnight.m4a
-rwxrwxrwx  1 1000  wheel  21962778 May 23 02:14 A6. In My Room.m4a
-rwxrwxrwx  1 1000  wheel  20796443 May 23 02:14 B1. Only You.m4a
-rwxrwxrwx  1 1000  wheel  17607953 May 23 02:14 B2. Goodbye 70's.m4a
-rwxrwxrwx  1 1000  wheel  37618852 May 23 02:14 B3. Tuesday.m4a
-rwxrwxrwx  1 1000  wheel  18346962 May 23 02:14 B4. Winter Kills.m4a
-rwxrwxrwx  1 1000  wheel  29923834 May 23 02:14 B5. Bring Your Love Down (Didn't I).m4a
-rwxrwxrwx  1 1000  wheel   2575112 May 23 02:14 cover (1).jpg
-rwxrwxrwx  1 1000  wheel   2322384 May 23 02:14 cover (2).jpg
-rwxrwxrwx  1 1000  wheel   2270868 May 23 02:14 cover (3).jpg
-rwxrwxrwx  1 1000  wheel   2237134 May 23 02:14 cover (4).jpg
-rw-r--r--  1 1000  wheel     28719 May 23 02:14 cover (5).jpg
-rwxrwxrwx  1 1000  wheel     28719 May 23 02:14 cover.jpg
oggbeeter@TheWheel:/mnt/KMET/KMET_Server/Flac/Y/Yazoo/Upstairs at Eric's - 1982 [12" Vinyl] # beet -vv import -q .
user configuration: /oggbeeter/.config/beets/config.yaml
data directory: /oggbeeter/.config/beets
plugin paths: /mnt/KMET/Beets/Plugins
Sending event: pluginload
inline: adding item field multidisc
lyrics: Disabling google source: no API key configured.
library database: /mnt/KMET/Audio_Library/Beets/Tranquility.blb
library directory: /mnt/KMET/Audio_Library/Tranquility
Sending event: library_opened
Sending event: import_begin
Sending event: import_task_created
No files imported from /mnt/KMET/KMET_Server/Flac/Y/Yazoo/Upstairs at Eric's - 1982 [12" Vinyl]
Sending event: import
Sending event: cli_exit
oggbeeter@TheWheel:/mnt/KMET/KMET_Server/Flac/Y/Yazoo/Upstairs at Eric's - 1982 [12" Vinyl] #

#2

Can you include your configuration?


#3

(The most likely culprit here is the filefilter plugin, if you’re using it.)


#4

I am using filefilter plugin … rather I am ‘trying’ to use it, to skip flac files that won’t import… (From another thread) it’s not set to do anything with m4a …

[spoiler]
### Global Options
library: /mnt/KMET/Audio_Library/Beets/Tranquility.blb
directory: /mnt/KMET/Audio_Library/Tranquility
pluginpath: /mnt/KMET/Beets/Plugins
ignore: [".", "~", “System Volume Information”, “.AppleDouble”, “._*”, “.DS_Store”]
ignore_hidden: yes
per_disc_numbering: yes
threaded: yes

  bell:yes

# Plugins
plugins: [
  # autotagger extentions
  chroma,
  discogs,
  # metadata plugins
  acousticbrainz,
  # embedart,
  # fetchart,
  # ftintitle,
  mbsync,
  lyrics,
  # scrub,
  # path format plugins
  duplicates,
  bucket,
  inline,
  the,
  # interoperability plugins
  badfiles,
  # misc plugins
  missing,
  info,
  web,
  ihate,
  filefilter
  # other plugins
  # embyupdate, 
]

web:
  host: 192.168.88.42
  port: 8337
  cors: 192.168.88.*

# Import Options
import:
  copy: true
  move: no
  write: true
  # delete: false
  resume: ask
  incremental: yes
  quiet_fallback: skip
  none_rec_fallback: skip
  timid: false
  languages: en
  log: /mnt/KMET/Audio_Library/Beets/beets-import.log

# Path options
paths:
  # Artists/A/ASCII Artist Name, The/[YEAR] ASCII Album Name, The [EP]/01 - Track Name.mp3

  default: 'Artists/%bucket{%upper{%left{%the{%asciify{$albumartist}},1}}}/%the{%asciify{$albumartist}}/[%if{$year,$year,0000}] %asciify{$album} %aunique{albumartist album year, albumtype label catalognum albumdisambig}/%if{$multidisc,$disc-}$track - %asciify{$title}'

  # Singles/A/ASCII Artist Name, The/[YEAR] Track Name.mp3
  singleton: 'Singles/%bucket{%upper{%left{%the{%asciify{$artist}},1}}}/[%if{$year,$year,0000}] %%the{%asciify{$artist}}/%asciify{$title}'

  # Compilations/ASCII Compilation Name [YEAR], The/01-01 - Track Name.mp3
  comp: 'Compilations/%the{%asciify{$album}%if{%aunique, %aunique{albumartist album year, albumtype label catalognum albumdisambig}}} [%if{$year,$year,0000}]/%if{$multidisc,$disc-}$track - %asciify{$title}'

  # Sountracks/ASCII Soundtrack Name [YEAR], The/01 - Track Name.mp3
  albumtype:soundtrack: 'Soundtracks/%the{%asciify{$album}%if{%aunique, %aunique{albumartist album year, albumtype label catalognum albumdisambig}}} [%if{$year,$year,0000}]/%if{$multidisc,$disk-}$track - %asciify{$title}'

  # Audio Books
  albumtype:audiobook: 'AudioBooks/%the{%asciify{$album}%if{%aunique, %aunique{albumartist album year, albumtype label catalognum albumdisambig}}} [%if{$year,$year,0000}]/%if{$multidisc,$disk-}$track - %asciify{$title}'

  # Broadcasts - Demento, Podcasts, et al.
  albumtype:broadcast: 'Broadcast/%the{%asciify{$album}%if{%aunique, %aunique{albumartist album year, albumtype label catalognum albumdisambig}}} [%if{$year,$year,0000}]/%if{$multidisc,$disk-}$track - %asciify{$title}'


### Plugin Options

duplicates:
  full: yes
  path: yes
  tag: beetdupe=1
  merge: yes
  move: /mnt/KMET/Audio_Library/Overflow
  count: yes

# This is just being ignored ... who knows why.
filefilter:
    path: .*\.flac 

ihate:
    skip:
        - genre:blues
        - genre:hardcore rap
        - genre:j-pop
        - genre:soul 

item_fields:
  multidisc: 1 if disctotal > 1 else 0

bucket:
  bucket_alpha:
    - _
    - A
    - B
    - C
    - D
    - E
    - F
    - G
    - H
    - I
    - J
    - K
    - L
    - M
    - N
    - O
    - P
    - Q
    - R
    - S
    - T
    - U
    - V
    - W
    - X
    - Y
    - Z
  bucket_alpha_regex:
    '_': ^[^A-Z]


chroma:
  auto: no

scrub:
  auto: no

acoustid:
  apikey: blah

echonest:
  apikey: <API_KEY>
  auto: yes

discogs:
  user_token: foobar

ui:
    color: yes
    colors:
        text_success: green
        text_warning: yellow
        text_error: red
        text_highlight: red
        text_highlight_minor: lightgray
        action_default: turquoise
        action: blue
oggbeeter@TheWheel:/mnt/KMET/KMET_Server/Flac # [/spoiler]

#5

Hmm… you may want to check out the Markdown formatting instructions for code to see how to make config pastes look right.

The filefilter plugin wants a positive regex matching files it will import. So your configuration currently says “I only want to import FLAC files,” not “please avoid importing any FLACs.”

In the future, to help narrow down problems, try disabling plugins. Start with suspiciously relevant plugins, and then disable all plugins—see if that helps identify what’s causing the problem.


#6

RegEx … figures I’d get that backwards. I had only put that there to skip flac when importing … oddly enough, it’s processing the flac files that do not cause a problem only and skipping everything else. :wink: