ififfy / flipflip

Random slideshow of local images. Electron app for Mac/Windows/Linux
MIT License
155 stars 42 forks source link

Adding tracks into Audio Library does not always work for all mp3 files. #295

Closed eyung71 closed 1 year ago

eyung71 commented 2 years ago

i have a seemingly random issue with adding MP3s into the audio library. I can add new files, grab them from a folder and only certain files show up in my audio library. Does anyone have this issue? Does the audio have to be in a certain format to be acceptable?

eyung71 commented 2 years ago

has anyone else had this issue about adding audio tracks that won't go into the library?

StarrHelixx commented 1 year ago

You should be able to add a file to your Library as long as it's one of the following extensions: ".mp3", ".m4a", ".wav", ".ogg"

If this isn't working for a specific file, please provide the file (or even just filename) so I can help debug. You can also DM me on reddit if it is a sensitive title.

katzlbt commented 1 year ago

Files created with ... ffmpeg -i "$OUT" -vn -ac 2 -aq 5 -ar 22050 -f mp3 "$OUT2" cannot be added to the library. They contain ...

file: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2, 56 kbps, 22.05 kHz, Stereo

hexdump:

0000000 4449 0433 0000 0000 2300 5354 4553 0000
0000010 0f00 0000 4c03 7661 3566 2e38 3932 312e

The magic is odd. Would have expected 49 44 33 ???

Hope this helps.