"No input files" in music directory

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
oxfordllama
Posts: 3
Joined: 29 Sep 2023, 04:54

"No input files" in music directory

Post by oxfordllama »

Shell: Select all

❯ ls -la
total 303760
drwxr-x---    2 media media       17 Nov 14 13:56  .
drwxr-xr-x 1587 media media     2588 Nov 14 14:09  ..
-rw-r-----    1 media media 19148309 Nov 14 13:59 '01 - If You Think This Song Is About You, It Probably Is.flac'
-rw-r-----    1 media media 27667069 Nov 14 13:59 '02 - The Only Thing You Talk About.flac'
-rw-r-----    1 media media 24157532 Nov 14 13:59 '03 - Graveyard Dancing.flac'
-rw-r-----    1 media media 27518197 Nov 14 13:58 '04 - Mr. Owl Ate My Metal Worm.flac'
-rw-r-----    1 media media 27556258 Nov 14 13:58 '05 - Sex Life.flac'
-rw-r-----    1 media media 27697026 Nov 14 13:58 '06 - Laminated E.T. Animal.flac'
-rw-r-----    1 media media 21021785 Nov 14 13:59 '07 - Stop Reading, Start Doing Pushups.flac'
-rw-r-----    1 media media 31994858 Nov 14 13:59 "08 - I'm the Rehab, You're the Drugs.flac"
-rw-r-----    1 media media 30799406 Nov 14 13:59 "09 - I'm Here to Take the Sky.flac"
-rw-r-----    1 media media 31502474 Nov 14 13:59 '10 - The Hangman.flac'
-rw-r-----    1 media media 39797738 Nov 14 13:59 '11 - My Swagger Has a First Name.flac'
-rw-r-----    1 media media    11800 Nov 14 13:59 'Destroy Rebuild Until God Shows - D.R.U.G.S..log'
-rw-r-----    1 media media     1223 Nov 14 13:59 'Destroy Rebuild Until God Shows - D.R.U.G.S..m3u'
-rw-r-----    1 media media     2204 Nov 14 13:59  D.R.U.G.S..cue
-rw-r-----    1 media media    95356 Nov 14 13:59  D.R.U.G.S..jpg

❯ mediainfo 01\ -\ If\ You\ Think\ This\ Song\ Is\ About\ You,\ It\ Probably\ Is.flac
General
Complete name                            : 01 - If You Think This Song Is About You, It Probably Is.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 18.3 MiB
Duration                                 : 2 min 30 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 020 kb/s
Album                                    : D.R.U.G.S.
Track name                               : If You Think This Song Is About You, It Probably Is
Track name/Position                      : 01
Performer                                : Destroy Rebuild Until God Shows
Genre                                    : Alternative
Recorded date                            : 2011
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/jpeg

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 2 min 30 s
Bit rate mode                            : Variable
Bit rate                                 : 1 014 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Bit depth                                : 16 bits
Compression mode                         : Lossless
Stream size                              : 18.2 MiB (99%)
Writing library                          : libFLAC 1.2.1 (2007-09-17)
MD5 of the unencoded content             : 7408FEC812A26B969D60B16DA3682C9D


❯ filebot -rename --action hardlink --format "/media/media/{plex}" -r .
No input files: [/media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/01 - If You Think This Song Is About You, It Probably Is.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/02 - The Only Thing You Talk About.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/03 - Graveyard Dancing.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/04 - Mr. Owl Ate My Metal Worm.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/05 - Sex Life.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/06 - Laminated E.T. Animal.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/07 - Stop Reading, Start Doing Pushups.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/08 - I'm the Rehab, You're the Drugs.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/09 - I'm Here to Take the Sky.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/10 - The Hangman.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/11 - My Swagger Has a First Name.flac, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/D.R.U.G.S..cue, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/D.R.U.G.S..jpg, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/Destroy Rebuild Until God Shows - D.R.U.G.S..log, /media/media/Downloads/completed/Destroy Rebuild Until God Shows - 2011 - D.R.U.G.S/Destroy Rebuild Until God Shows - D.R.U.G.S..m3u]
Failure (×_×)⌒☆
User avatar
rednoah
The Source
Posts: 22805
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "No input files" in music directory

Post by rednoah »

The --db option is generally required for good results if you know in advance what kind of content your processing:

Shell: Select all

--db ID3
:arrow: https://www.filebot.net/cli.html#db



EDIT:

:idea: Investigation reveals that trailing .s and -s in the file name / folder name is interpreted as "sample file" and thus ignored. The .S in D.R.U.G.S in your folder name accidentally matches that pattern, so all small / short media files (audio files happen to be small and short) in that folder are ignored.
:idea: Please read the FAQ and How to Request Help.
oxfordllama
Posts: 3
Joined: 29 Sep 2023, 04:54

Re: "No input files" in music directory

Post by oxfordllama »

Thanks - I renamed the directory to end with "DRUGS" instead, and everything worked. Using `--db ID3` did not help alone, and was unnecessary after the rename. :)
User avatar
rednoah
The Source
Posts: 22805
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "No input files" in music directory

Post by rednoah »

Thank you for the bug report. FileBot r10146 fixed the issue.
:idea: Please read the FAQ and How to Request Help.
Post Reply