Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Flac Music
#1
I just did a brand new install.  I tried to mount a USB drive that has flac files.  Moode does not see the USB Drive.  Here is the mpd logs 

Code:
Sep 02 11:54 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
Sep 02 13:24 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/01 - Dream On.flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/._01 - Dream On.flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/08 - Kings and Queens (Single Version).flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/._08 - Kings and Queens (Single Version).flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/09 - Come Together.flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/._09 - Come Together.flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/10 - Remember (Walking In The Sand).flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/._10 - Remember (Walking In The Sand).flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/06 - Back In the Saddle.flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/._06 - Back In the Saddle.flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/07 - Draw The Line.flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/._07 - Draw The Line.flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/04 - Walk This Way.flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/._04 - Walk This Way.flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/05 - Last Child.flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/._05 - Last Child.flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/03 - Sweet Emotion (Single Version).flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/._03 - Sweet Emotion (Single Version).flac
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith - Aerosmith_s Greatest Hits/02 - Same Old Song And Dance (Single Version).flac
Sep 02 13:24 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Sep 02 13:24 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Sep 02 13:24 : ffmpeg: Unsupported libavcodec SampleFormat value: name   depth (-1)
Sep 02 13:24 : update: added USB/MUSIC/Aerosmith
Reply
#2
Also just notice the Stereo Test doesn't show up on library either.

System Info
Code:
ON
OFF
  
Brightness
255
  
Pixel aspect ratio
  
Rotate screen

Browser cache
  Local Services

Metadata file
ON
OFF
  
LCD update engine
ON
OFF
  
The LCD update engine runs lcdup.py script whenever UI state changes.
GPIO button handler
ON
OFF
  
GPIO pin mappings
SSH term server
ON
OFF
  
Web SSH terminal
Maintenance

Playback history

System logs

Sqlite database

Debug logging
ON
OFF
  
×
System Information
        
S Y S T E M   P A R A M E T E R S

moOde release        = 6.7.1 2020-07-22
RaspiOS            = 10.4
Linux kernel        = 5.4.51-v7l+ #1325
Platform        = Pi-4B 4GB v1.1
Architecture        = armv7l (32-bit)
System uptime        = up 16 minutes
Timezone        = America/Detroit
Current time        = 2020-09-02 13:39:59

Host name        = moode
Ethernet address    = 192.168.1.89
Ethernet MAC        = dc:a6:32:31:1a:c5
WLAN address        = unassigned
WLAN MAC        = dc:a6:32:31:1a:c6
WLAN country        = US

SoC identifier        = bcm2711
Core count        = 4
Kernel timer freq    = 100 Hz
SDCard freq        = 50 MHz
USB boot        = not available
Warranty        = OK

Root size        = 118G
Root used        = 3%
Root available        = 110G
Root expand        = expanded
Memory free        = 3173 MB
Memory used        = 238 MB
SoC temperature        = 46.3°C

CPU governor        = ondemand
Onboard WiFi        = On
Onboard BT        = On
HDMI output        = On
LED state        = 1,1
Eth addr wait        = On
Max USB current        = Off
USB (UAC2) fix        = Off
Pi-3B+ eth fix        = Off
SSH term server        = Off

PHP-FPM version        = 7.3.19
NGINX version        = 1.14.2
SQLite3 version        = 3.27.2
Hostapd version        = 2.8-devel
WiringPi version    = 2.50
RPi.GPIO version    = 0.7.0

A U D I O   P A R A M E T E R S

Audio device        = On-board audio device
Interface        = SoC
Mixer name        = HDMI
Hardware volume        = Controller detected
Max ALSA volume        = 100
Max MPD volume        = 100
Volume step limit    = 10
Audio source        = Local
Output device        = Local
Resume MPD        = No
Volume knob        = 0
Volume mute        = Unmuted
Saved MPD vol        = 0
Preamp volume        = 0
ALSA version        = 1.1.8-1+rpt1
SoX version        = 0.1.2-3

Bluetooth controller    = Off
Pairing agent        = Off
Airplay receiver    = Off
Spotify receiver    = Off
Squeezelite        = Off
UPnP client        = Off
DLNA server        = Off
GPIO button handler    = Off
UPnP browser        = Off

Auto-shuffle        = Off
Autoplay        = Off
Rotary encoder        = Off
Encoder params        = 100 2 3 23 24
USB volume knob        = Off
Polarity inversion    = Off
Crossfeed        = Off
Crossfade        = Off
Parametric EQ        = Off
Graphic EQ        = Off
MPD httpd        = Off

A P P E A R A N C E   S E T T I N G S

Themes and backgrounds
----------------------
Theme            = Default
Accent color        = Emerald
Alpha blend        = 1.0
Adaptive background    = No
Background image    = No
Cover backdrop        = No
Cover blur        = 20px
Cover scale        = 1.25

Library options
----------------------
Instant play action    = Add/Play
Show tagview genres    = Yes
Show tagview covers    = Yes
Show sample rate    = No
Ellipsis limited text    = No
Thumbnail columns    = 6/2 (Default)
Albumview sort order    = by Artist
Tagview sort order    = by Artist
Compilation identifier    = Various Artists
Recently added        = 1 Month
Ignore articles        = a,an,the
UTF8 character filter    = No
Hi-res thumbs        = Auto
Cover search pri    = Embedded cover
Pixel ratio        = 2

Coverview screen saver
----------------------
CoverView auto-display    = Never
CoverView style        = Gradient (Linear)

Other options
----------------------
Font size        = Normal
Auto-shuffle filter    = None
Extra metadata        = track,disc,date,composer,encoded
Playback history    = No
First use help        = n,y

M P D   S E T T I N G S

Version            = 0.21.24
Volume control        = software
ALSA device        = hw:0
SoX resampling        = disabled
SoX quality        = very high
SoX multithreading    = off
DSD over PCM (DoP)    = no
Replaygain        = off
Replaygain preamp    = 0
Volume normalization    = No
Audio buffer        = 4096 (kb)
Output buffer size    = 131072 (kb)

B L U E T O O T H   S E T T I N G S

Bluetooth ver        = 5.50
Bluealsa ver        = v2.1.0
Speaker sharing        = No
Resume MPD        = No
PCM buffer time        = 500000 (µs)

A I R P L A Y   S E T T I N G S

Version            = 3.3.6
Friendly name        = Moode Airplay
ALSA device        = hw:0
Interpolation        = soxr
Output bit depth    = S16
Output sample rate    = 44100
Session interruption    = no
Session timeout        = 120 (ms)
Latency offset        = 0.0 (secs)
Audio buffer        = 0.2 (secs)
Resume MPD        = No

S P O T I F Y   S E T T I N G S

Friendly name        = Moode Spotify
ALSA device        = plughw:0
Bit rate        = 160
Initial volume        = 0
Volume curve        = Logarithmic
Volume normalization    = No
Normalization pregain    = 0
Autoplay        = No
Resume MPD        = No

S Q U E E Z E L I T E   S E T T I N G S

Version            = 1.8.7-1052 "DSD/SRC enabled"
Friendly name        = Moode
ALSA device        = hw:0
ALSA params        = 80:4::1
Output buffers        = 40000:100000
Task priority        = 45
Codec list        = flac,pcm,mp3,ogg,aac,alac,dsd
Other options        = -W -D 500 -R E -S /var/local
Resume MPD        = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display    = On
Mouse cursor        = On
Screen blank        = 600 Secs
Wake display on play    = Off
Brightness        = 255
Pixel aspect ratio    = Default
Rotate screen        = 0 Deg

M O O D E   S T A R T U P   L O G

20200902 125251 worker: -- Start
20200902 125252 worker: Successfully daemonized
20200902 125252 worker: Integrity check (passed)
20200902 125252 worker: Session loaded
20200902 125252 worker: Debug logging (off)
20200902 125252 worker: Device raw: (0:b1|1:Headphones|2:empty|3:empty
20200902 125252 worker: Device i2s: (none)
20200902 125252 worker: Device mpd: (0:Pi HDMI 1)
20200902 125252 worker: Device ses: (0|Pi HDMI 1|HDMI|0%)
20200902 125252 worker: ALSA HDMI volume set to (0%)
20200902 125252 worker: -- System
20200902 125253 worker: Host     (moode)
20200902 125253 worker: moOde    (6.7.1 2020-07-22)
20200902 125253 worker: RaspiOS  (10.4)
20200902 125253 worker: Kernel   (5.4.51-v7l+ #1325)
20200902 125253 worker: Platform (Pi-4B 4GB v1.1)
20200902 125253 worker: ARM arch (armv7l, 32-bit kernel)
20200902 125253 worker: MPD ver  (0.21.24)
20200902 125253 worker: CPU gov  (ondemand)
20200902 125253 worker: USB boot not available
20200902 125254 worker: File system expanded
20200902 125254 worker: HDMI port on
20200902 125255 worker: File check (OK)
20200902 125255 worker: -- Network
20200902 125255 worker: eth0 exists
20200902 125255 worker: IP addr (192.168.1.89)
20200902 125255 worker: Netmask (255.255.255.0)
20200902 125255 worker: Gateway (192.168.1.1)
20200902 125255 worker: Pri DNS (192.168.1.1)
20200902 125255 worker: Domain  (localdomain)
20200902 125255 worker: wlan0 exists
20200902 125255 worker: wifi country (US)
20200902 125255 worker: wlan0 SSID is blank
20200902 125255 worker: eth0 addr exists, AP mode not started
20200902 125255 worker: wlan0 address not assigned
20200902 125255 worker: -- Audio
20200902 125256 worker: MPD conf updated
20200902 125256 worker: ALSA outputs unmuted
20200902 125256 worker: ALSA card number (0)
20200902 125257 worker: Audio output (Pi HDMI 1)
20200902 125257 worker: Audio formats (U8, S16_LE)
20200902 125257 worker: ALSA mixer name (HDMI)
20200902 125257 worker: MPD volume control (software)
20200902 125257 worker: Hdwr volume controller exists
20200902 125257 worker: Max ALSA volume (100%)
20200902 125257 worker: Reset renderer active flags
20200902 125257 worker: -- MPD
20200902 125257 worker: MPD started
20200902 125258 worker: MPD accepting connections
20200902 125258 worker: Configure MPD outputs
20200902 125258 worker: MPD output 1 ALSA default (on)
20200902 125258 worker: MPD output 2 ALSA crossfeed (off)
20200902 125258 worker: MPD output 3 ALSA parametric eq (off)
20200902 125258 worker: MPD output 4 ALSA graphic eq (off)
20200902 125258 worker: MPD output 5 ALSA polarity inversion (off)
20200902 125258 worker: MPD output 6 ALSA bluetooth (off)
20200902 125258 worker: MPD output 7 HTTP stream (off)
20200902 125258 worker: MPD crossfade (off)
20200902 125258 worker: -- Feature availability
20200902 125258 worker: Source select (available)
20200902 125258 worker: Source select (source: MPD)
20200902 125258 worker: Source select (output: Pi HDMI 1)
20200902 125258 worker: Bluetooth (available)
20200902 125258 worker: Airplay renderer (available)
20200902 125258 worker: Spotify renderer (available)
20200902 125258 worker: Squeezelite renderer (available)
20200902 125258 worker: UPnP renderer (available)
20200902 125258 worker: DLNA server (available)
20200902 125258 worker: UPnP browser (available)
20200902 125258 worker: Audio scrobbler (available)
20200902 125258 worker: GPIO button handler (available)
20200902 125258 worker: -- Music sources
20200902 125258 worker: USB source (MUSIC)
20200902 125258 worker: NAS and UPnP sources (none configured)
20200902 125258 worker: -- Miscellaneous
20200902 125258 worker: USB volume knob (Off)
20200902 125258 worker: USB auto-mounter (udisks-glue)
20200902 125259 worker: LED0 (On)
20200902 125259 worker: LED1 (On)
20200902 125259 worker: Saved MPD vol level (0)
20200902 125259 worker: Preamp volume level (0)
20200902 125259 worker: MPD volume level (0) restored
20200902 125259 worker: ALSA HDMI volume (100%)
20200902 125259 worker: Auto-play (Off)
20200902 125259 worker: Maintenance interval (3 hrs)
20200902 125259 worker: Screen saver activation (Never)
20200902 125259 worker: Session permissions (OK)
20200902 125259 worker: Watchdog started
20200902 125259 worker: Ready
20200902 132444 worker: Job regen_library
20200902 132444 thmcache: Start
20200902 132444 thmcache: Scanning: NAS, SDCARD, UPNP, MUSIC
20200902 132444 thmcache: Done: 2 album dirs processed
20200902 132447 worker: Job regen_library done
20200902 132553 worker: Job update_library
20200902 132554 thmcache: Start
20200902 132554 thmcache: Scanning: NAS, SDCARD, UPNP, MUSIC
20200902 132554 thmcache: Done: 2 album dirs processed
20200902 132557 worker: Job update_library done
20200902 133448 worker: Job regen_library
20200902 133448 thmcache: Start
20200902 133448 thmcache: Scanning: NAS, SDCARD, UPNP, MUSIC
20200902 133448 thmcache: Done: 2 album dirs processed
20200902 133451 worker: Job regen_library done
20200902 133500 worker: Job update_library
20200902 133501 thmcache: Start
20200902 133501 thmcache: Scanning: NAS, SDCARD, UPNP, MUSIC
20200902 133501 thmcache: Done: 2 album dirs processed
20200902 133504 worker: Job update_library done
20200902 133546 worker: Job update_library
20200902 133546 thmcache: Start
20200902 133546 thmcache: Scanning: NAS, SDCARD, UPNP, MUSIC
20200902 133546 thmcache: Done: 2 album dirs processed
20200902 133549 worker: Job update_library done
20200902 133619 worker: Job mpdrestart
20200902 133829 worker: Job localui
Reply
#3
@Park13

As I can read in the log, the USB drive was mounted and mpd analyzes the tracks by means of ffmpeg.
ffmpeg complains about the flac files which are probably corrupted. What I also see in the log are the strange file names, for example ._06 - Back In the Saddle.flac which starts with a dot. I remember that malformed file names can cause sometimes errors in ffmpeg, e.g., special character like the tilde (~).
Reply
#4
(09-02-2020, 05:57 PM)Atair Wrote: @Park13

As I can read in the log, the USB drive was mounted and mpd analyzes the tracks by means of ffmpeg.
ffmpeg complains about the flac files which are probably corrupted. What I also see in the log are the strange file names, for example ._06 - Back In the Saddle.flac which starts with a dot. I remember that malformed file names can cause sometimes errors in ffmpeg, e.g., special character like the tilde (~).

Atair,

Thank you for your help.  Ok how about why Stereo Test File will not show up on library? I can see it in /mnt/SDCARD?
Reply
#5
I assume you see nothing at all in the library view? Probably mdp sends some odd data from your flack files which causes the hiccups and prevents Moode from creating the library view. So when you remove the USB device and update the library, you should see the stereo test again.
Reply
#6
The dot files and dot dirs are the annoying resource fork files created by OS X. The USB stick was prolly loaded or browsed on a Mac. These files should be manually deleted so they won't be indexed by MPD and then screw up the Library. There are some utilities for deleting the dot files. I think the Mac has a built in utility called dot_clean. I just use the find command on my Mac and Linux boxes.

Code:
# Change to the target directory
cd /media/VFAT128/Test_mixed

sudo find . -name "._*" -exec rm -rf {} \;
sudo find . -name ".Trashes" -exec rm -rf {} \;
sudo find . -name "._.Trashes" -exec rm -rf {} \;
sudo find . -name ".Spotlight*" -exec rm -rf {} \;
sudo find . -name ".DS_Store" -exec rm -rf {} \;
sudo find . -name "._.DS_Store" -exec rm -rf {} \;
sudo find . -name ".fseventsd*" -exec rm -rf {} \;
sudo find . -name "._.com.apple.timemachine.donotpresent" -exec rm -rf {} \;
sudo find . -name ".com.apple.timemachine.donotpresent" -exec rm -rf {} \;
sudo find . -name ".TemporaryItems" -exec rm -rf {} \;
sudo find . -name "._.TemporaryItems" -exec rm -rf {} \;
sudo find . -name "._moodecfg.txt" -exec rm -rf {} \;
sudo find . -name "__MACOSX" -exec rm -rf {} \;

cd ~

If the Stereo Test file can't be indexed then your image is prolly corrupted in some way. Start with a fresh image downloaded from moodeaudio.org.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
@Park13

I agree with @Atair that your flac files may be wonky. In normal circumstances, ffmpeg does not get involved with flac files because mpd as compiled for moOde includes its own flac decoder.

Here's a snippet from my mpd log when updating (e.g., adding) some flac tracks, including the Stereo Test track and a test track from Atair:

Code:
pi@moode3a:/mnt/SDCARD/FuriousFreak $ more /var/log/mpd/log
Sep 02 12:28 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
Sep 02 12:28 : update: updating SDCARD/Atair/01-01-Richard_Galliano-A_French_Touch-LLS.flac
Sep 02 12:28 : update: updating SDCARD/FuriousFreak/ff-16b-2c-44100hz.flac


Those lines in your output which show files with names beginning with dot-underscore suggest the files came from an OS X system. In Linux (and maybe in OS X too? I don't use it), files with names beginning with a dot are hidden by default. They are not a problem per se but they will cause duplicate tracks to appear in your Library. You can direct mpd to ignore them (using the .mpdignore convention; see other posts on this forum).

Here, for example, is what I get if I create a dot-underscore version of the ff-16b-2c-44100hz.flac file shown about and update the Library:

Code:
Sep 02 15:10 : update: added SDCARD/FuriousFreak/._ff-16b-2c-44100hz.flac

No problem, but my Library listing now shows two copies of the same track.

So, back to your Aerosmith tracks. Try running the commands "file" and/or "mediainfo" on them to see what Linux thinks they contain.

Example (note that a dot-underscore file won't show up unless you take a little extra care):

Code:
pi@moode3a:/mnt/SDCARD/FuriousFreak $ file ff-16b-2c-44100hz.flac
ff-16b-2c-44100hz.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 8250520 samples
pi@moode3a:/mnt/SDCARD/FuriousFreak $ file "._ff-16b-2c-44100hz.flac"
._ff-16b-2c-44100hz.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 8250520 samples


pi@moode3a:/mnt/SDCARD/FuriousFreak $ mediainfo ff-16b-2c-44100hz.flac
General
Complete name                            : ff-16b-2c-44100hz.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 21.4 MiB
Duration                                 : 3 min 7 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 958 kb/s
Album                                    : Incompetech.com
Track name                               : Furious Freak-FLAC
Track name/Position                      : 02
Performer                                : Kevin MacLeod
Genre                                    : Electronic / Movie
Description                              : docs.expressif.com
Recorded date                            : 2016

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 3 min 7 s
Bit rate mode                            : Variable
Bit rate                                 : 958 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Bit depth                                : 16 bits
Compression mode                         : Lossless
Stream size                              : 21.4 MiB (100%)
Writing library                          : Lavf56.40.101

where the Audio Format stanza is the important one here.

Regards,
Kent
Reply
#8
and of course I took so long to compose my post that Tim slipped in ahead of me....again!
Reply
#9
Here you go.  


Code:
i@moode:/media/MUSIC/Aerosmith - Aerosmith_s Greatest Hits $ mediainfo 01\ -\ Dream\ On.flac
General
Complete name                            : 01 - Dream On.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 26.5 MiB
Duration                                 : 4 min 24 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 840 kb/s
Album                                    : Aerosmith's Greatest Hits
Album/Performer                          : Aerosmith
Part                                     : 1
Track name                               : Dream On
Track name/Position                      : 1
Performer                                : Aerosmith
Genre                                    : Rock
Recorded date                            : 1980-11-11
BPM                                      : 156
ISRC                                     : USSM10011897
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/jpeg
LENGTH                                   : 264
PUBLISHER                                : Columbia/Legacy
BARCODE                                  : 886448614999

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 4 min 24 s
Bit rate mode                            : Variable
Bit rate                                 : 838 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Bit depth                                : 16 bits
Compression mode                         : Lossless
Stream size                              : 26.5 MiB (100%)
Writing library                          : libFLAC 1.2.1 (UTC 2007-09-17)
Reply
#10
(09-02-2020, 08:23 PM)Park13 Wrote: Here you go.  


Code:
i@moode:/media/MUSIC/Aerosmith - Aerosmith_s Greatest Hits $ mediainfo 01\ -\ Dream\ On.flac
General
Complete name                            : 01 - Dream On.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 26.5 MiB
Duration                                 : 4 min 24 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 840 kb/s
Album                                    : Aerosmith's Greatest Hits
Album/Performer                          : Aerosmith
Part                                     : 1
Track name                               : Dream On
Track name/Position                      : 1
Performer                                : Aerosmith
Genre                                    : Rock
Recorded date                            : 1980-11-11
BPM                                      : 156
ISRC                                     : USSM10011897
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/jpeg
LENGTH                                   : 264
PUBLISHER                                : Columbia/Legacy
BARCODE                                  : 886448614999

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 4 min 24 s
Bit rate mode                            : Variable
Bit rate                                 : 838 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Bit depth                                : 16 bits
Compression mode                         : Lossless
Stream size                              : 26.5 MiB (100%)
Writing library                          : libFLAC 1.2.1 (UTC 2007-09-17)

That looks fine.

Now I'm puzzled. Occasionally we have seen a user manage to add an ID3v2 tag to a FLAC file, which is incorrect usage and may cause problems with the display of metadata but doesn't cause the mpd updating errors you reported. [1]

Perhaps indeed your installation was corrupted somehow.

If I think of anything else I'll give a shout but at this point I can only suggest Tim's solution.

Regards,
Kent

[1] added in post-edit: you can check for this with the "file" command. A correctly formatted FLAC file will be reported as "FLAC audio bitstream data" while a FLAC file with an errant ID3v2 tag will be reported as "Audio file with ID3 version 2.x.0, contains:FLAC audio bitstream data", where x=3 or 4 depending on the version of the tag.
Reply


Forum Jump: