Comments (4)
Hmm, I will have to investigate this further. I remember adding the
"--block-number 2" to it because that is where the metadata was stored on all
the test files I used. I don't want to fix this bug and break it for everyone
else :)
Original comment by [email protected]
on 2 Nov 2013 at 7:06
from flac2all.
Right, removing "--block-number 2" is not a long term fix, because the other
blocks may confuse the metadata parser.
Also, block number 2 seems to be the default block used for Vorbis comments by
the reference FLAC encoder, but from what I see there is no requirements for
this to be fixed. As long as the block type is "VORBIS COMMENT" it is valid.
Could be that other encoders don't put it in that block.
Either way, a better way of detecting Vorbis comment blocks will be needed.
Original comment by [email protected]
on 2 Nov 2013 at 8:05
- Changed state: Accepted
from flac2all.
Fair enough and thanks. Looking at http://xiph.org/flac/format.html suggests
that the STREAMINFO metadata block must be the first metadata block, followed
by zero or more other metadata blocks, in no particular order. That certainly
mirrors what I've seen with the different versions of flac encoders over the
years.
I've attached a patch so that the scanner only starts looking for comment tags
within a "Type 4 Vorbis Comment" metablock. That will prevent comment tags in
other metablock types from poisoning the track tags. This is my first foray
into Python so if the code looks amateurish, that's because it is!
Original comment by [email protected]
on 3 Nov 2013 at 11:27
Attachments:
from flac2all.
Thank you very much for the code patch! I have integrated it into the current
stable version. Please can you check out revision 37 and make sure it works ( I
will do the same in the coming days as well).
Original comment by [email protected]
on 7 Dec 2013 at 9:29
- Changed state: Fixed
from flac2all.
Related Issues (20)
- Conversion Fails if File Contains Dollar Symbol in the Name HOT 2
- Embedded album art isnβt preserved when converting to .ogg HOT 2
- Skip other audio files with -c (mp3, wav, etc.) HOT 3
- Substitute special characters HOT 2
- Track titles truncated at the first colon HOT 1
- -n option is broken HOT 2
- Cannot set number of threads HOT 4
- decoder.flush() #if there is any data left in the buffer, clear it HOT 2
- The -t option doesn't work HOT 1
- flac tags are not copied when in metadata block 1 HOT 2
- Problem getting TAGs from FLAC file with embedded cover art HOT 8
- Add ability to run multithreaded testing FLAC files in directory tree HOT 2
- Tagging problem with files with unsupported genre HOT 8
- thread limit with -t does not recognize number HOT 1
- Investigate: Better audio tagging support via mutagen library
- If I enable to copy non flac files, the program copies over my .sync folder and ruins my btsync share HOT 3
- When converting to mp3, the lyrics metadata is lost HOT 1
- when converting to mp3, tags that contain accents are not treated correctly HOT 2
- Possibility to include input directory as top-level in output directory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flac2all.