Open msheridan opened 2 years ago
There isn't currently any support for tags in Wave files. Can you attach an example m4a that isn't working?
Apologies. Looking for an m4a example, might have been only the wav that were not returning the data, did not realize they were not supported. I'll look again this weekend and if I find an example, post it.
I'm happy to provide examples, ffprobe/ffmpeg are able to read the tag information no problem - as are many other applications (e.g.: iTunes, AudioRanger, MusicBrainz Picard, etc).
Get-AudioInfo works correctly - only having issue with Get-AudioMetadata.
Example file with Get-AudioMetadata vs. Get-Media (an alternate PS cmdlet that uses ffprobe/ffmpeg).
PS C:\Music> $testFile | Get-AudioFile | Get-AudioMetadata
Title : Artist : Album : AlbumArtist : Composer : Genre : Comment : Day : Month : Year : TrackNumber : TrackCount : TrackPeak : AlbumPeak : TrackGain : dB AlbumGain : dB
PS C:\Music> $testFile | Get-Media
InputPath : C:\Music\04\04 - 05 - Cuando Nadie Me Ve.wav streams : {@{index=0; codec_name=pcm_s16le; codec_long_name=PCM signed 16-bit little-endian; codec_type=audio; codec_tag_string=[1][0][0][0]; codec_tag=0x0001; sample_fmt=s16; sample_rate=44100; channels=2; bits_per_sample=16; r_frame_rate=0/0; avg_frame_rate=0/0; time_base=1/44100; duration_ts=13607496; duration=308.560000; bit_rate=1411200; disposition=}} format : @{filename=C:\Music\04\04 - 05 - Cuando Nadie Me Ve.wav; nb_streams=1; nb_programs=0; format_name=wav; format_long_name=WAV / WAVE (Waveform Audio); duration=308.560000; size=54430544; bit_rate=1411214; probe_score=99; tags=} album : 04 artist : Alejandro Sanz IWEB : http://www.alejandrosanz.com/ IMUS : Alejandro Sanz encoded_by : dBpoweramp Release 15.3 encoder : -compression="PCM" -acm="0100020080BB000000EE0200040010000000" -wavemp3="-b 160 -encoding={qt}SLOW{qt} -crc={qt}1{qt}" genre : Pop language : spa IWRI : Alejandro Sanz ISRF : CD ISRC : Warner Music date : 2004-11-16 title : Cuando Nadie Me Ve IFRM : 15 track : 5 TORG : Warner Music TLEN : 308560 IENC : dBpoweramp Release 15.3 IMED : CD ICNT : US FileSize : 54430544 CodecTypes : audio Codecs : pcm_s16le Duration : 00:05:08.5600000