Fix #157: Can now import and play flac files
If you ever need an empty flac file with metadata again: 1. Get a flac file (like https://archive.org/download/NineInchNailsTheSlip24bit96khz/01999999.flac) 2. Tag it with Musicbrainz Picard 3. Truncate it, keeping only tags with `ffmpeg -i in.flac -ss 0 -to 0.001 out.flac` Thanks @HgO for the trick!
Showing
- api/funkwhale_api/music/metadata.py 39 additions, 1 deletionapi/funkwhale_api/music/metadata.py
- api/funkwhale_api/music/utils.py 1 addition, 0 deletionsapi/funkwhale_api/music/utils.py
- api/tests/music/sample.flac 0 additions, 0 deletionsapi/tests/music/sample.flac
- api/tests/music/test_metadata.py 17 additions, 0 deletionsapi/tests/music/test_metadata.py
- changes/changelog.d/157.feature 1 addition, 0 deletionschanges/changelog.d/157.feature
- front/src/audio/formats.js 2 additions, 1 deletionfront/src/audio/formats.js
api/tests/music/sample.flac
0 → 100644
File added
changes/changelog.d/157.feature
0 → 100644
Please register or sign in to comment