|
Track and album names displayed with replacement character. How to resolve?
|
|
24-01-2024, 13:10
Post: #11
|
|||
|
|||
RE: Track and album names displayed with replacement character. How to resolve?
(24-01-2024 10:02)simbun Wrote: It looks like simply saving the tracks in Mp3tag might remove those NUL characters based on a similar problem discussed in the Mp3tag forums, but without a sample I don't know how to identify them. Many thanks for your help so far I'll try to open and save in mp3tag and report back. I haven't had jriver Mesia Cebtre v 17 installed for some years. I'm running v.23 currently. |
|||
|
24-01-2024, 14:20
Post: #12
|
|||
|
|||
RE: Track and album names displayed with replacement character. How to resolve?
(24-01-2024 13:10)Yukster Wrote: I haven't had jriver Mesia Cebtre v 17 installed for some years. I'm running v.23 currently.I'm just trying to create a file that exhibits the same behaviour to see if I can identify the NUL in Mp3tag, so that rather than re-save your entire collection you can target only those affected. If you load a problem album into Mp3tag then paste the following code in the Filter at the bottom of the screen: Code: "#ifgreater(#strstr(%title%,#char(00)),0,yes,no)" IS yesDo the problem tracks remain in the grid or do they disappear? If they remain then it's found the NUL in the title field (you could double check by loading a recent album and verifying that the tracks are removed). This means that you could load your entire collection (depending on how big it is!) into Mp3tag, apply the filter (which would reduce the selection to only those affected), then perform the re-save. Up until now you've been dealing with FLAC files, if you have any MP3 files and they exhibit the same issue you'll need to configure Mp3tag so it retains the correct ID3 tag version (2.3 vs 2.4), but let's address that if you have any. As always, when performing any big change make sure you have a backup. |
|||
|
24-01-2024, 16:58
Post: #13
|
|||
|
|||
RE: Track and album names displayed with replacement character. How to resolve?
(24-01-2024 14:20)simbun Wrote: Up until now you've been dealing with FLAC files, if you have any MP3 files and they exhibit the same issue you'll need to configure Mp3tag so it retains the correct ID3 tag version (2.3 vs 2.4), but let's address that if you have any. This issue will probably not affect MP3 files because ID3v2 text strings are NUL-terminated. |
|||
|
24-01-2024, 17:49
Post: #14
|
|||
|
|||
RE: Track and album names displayed with replacement character. How to resolve?
(24-01-2024 16:58)simoncn Wrote:I didn't think it could happen (although whilst I did realise 2.4 is NUL separated I didn't realise they were NUL teriminated), but wanted to stay well clear as the MP3 waters are quite murky(24-01-2024 14:20)simbun Wrote: Up until now you've been dealing with FLAC files, if you have any MP3 files and they exhibit the same issue you'll need to configure Mp3tag so it retains the correct ID3 tag version (2.3 vs 2.4), but let's address that if you have any.
|
|||
|
25-01-2024, 12:17
(This post was last modified: 25-01-2024 12:18 by paultaylor.)
Post: #15
|
|||
|
|||
RE: Track and album names displayed with replacement character. How to resolve?
(24-01-2024 17:49)simbun Wrote: (although whilst I did realise 2.4 is NUL separated I didn't realise they were NUL teriminated)Hi, you are correct they are not null-terminated just null separated (although there are some taggers that incorrectly null-terminate all strings) e.g from spec for text information frames and the variant of TXXX frames Quote:4.2. Text information frames Look at the definition of the Description field, if <text string according to encoding> was meant to include terminating byte(s) you would have it twice because it has been explicity defined in the definition. |
|||
|
25-01-2024, 12:45
Post: #16
|
|||
|
|||
|
RE: Track and album names displayed with replacement character. How to resolve?
Text fields are NUL-terminated in ID3v2.4. Here is the relevant section:
Code: 4. ID3v2 frame overview |
|||
|
25-01-2024, 14:22
(This post was last modified: 25-01-2024 14:28 by paultaylor.)
Post: #17
|
|||
|
|||
RE: Track and album names displayed with replacement character. How to resolve?
(25-01-2024 12:45)simoncn Wrote: Text fields are NUL-terminated in ID3v2.4. Here is the relevant section: If that were true according to the spec a custom frame (TXXX) body using ISO-8859 with description CUSTOM and value Fred would be encoded as: Code: \0CUSTOM\0\0Fred\0but it is not most do this Code: \0CUSTOM\0Fredsome incorrectly do this Code: \0CUSTOM\0Fred\0but that makes no sense because both Description and Value are defined as being text string according to encoding and additionally there is null terminator (based on encoding) defined between the two. The spec is confusing but Im sure it is just saying that for a particular encoding this is the null termination to use when you need a null terminator so if you were using UTF8 in the above example you should have Code: \3CUSTOM\0Fredbut if using UTF16BE would be (not showing multi bytes of CUSTOM or Fred here) Code: \2CUSTOM\0\0FredIf CUSTOM contained two values Fred and Jim then you would have Code: \3CUSTOM\0Fred\0Jimor Code: \2CUSTOM\0\0Fred\0\0Jim |
|||
|
25-01-2024, 16:26
(This post was last modified: 25-01-2024 17:13 by simoncn.)
Post: #18
|
|||
|
|||
|
RE: Track and album names displayed with replacement character. How to resolve?
I checked a selection of MP3 files sent to me by users (so not all ripped by the same ripper). They included both ID3v2.3 and ID3v2.4 and different encodings for text strings. Most files had text strings with a NUL at the end but some did not. From this it seems the NUL terminator is optional and the server must be prepared to accept strings either with or without a NUL terminator, as MinimServer does.
|
|||
|
25-01-2024, 18:02
(This post was last modified: 25-01-2024 18:25 by Yukster.)
Post: #19
|
|||
|
|||
RE: Track and album names displayed with replacement character. How to resolve?
(24-01-2024 14:20)simbun Wrote: If you load a problem album into Mp3tag then paste the following code in the Filter at the bottom of the screen:I pasted the code into mp3tag filter the tracks disappeared. I saved all 4 tracks individually and the unwanted characters are no longer |
|||
|
25-01-2024, 18:44
Post: #20
|
|||
|
|||
RE: Track and album names displayed with replacement character. How to resolve?
(25-01-2024 18:02)Yukster Wrote: I pasted the code into mp3tag filter the tracks disappeared. I saved all 4 tracks individually and the unwanted characters are no longerIt's good news that saving the files in Mp3tag removed the problem characters. I think you're telling me though that when you pasted the following code (replacing # with $) into the Filter in Mp3tag, all the bad tracks disappeared. Code: "#ifgreater(#strstr(%title%,#char(00)),0,yes,no)" IS yesIn order to be able to help you in identifying the problem tracks, I'd need you to create a short version of one of the tracks so I can test it this end. If you download and install SOX, then run the following command against one of your problem files (one that hasn't been fixed or processed with fsutil) and attach it to a post. Code: "C:\Program Files (x86)\sox-14-4-2\sox.exe" "file name.flac" "output.flac" trim 0 2Alternatively you'd need to load your entire collection into Mp3tag and save them all. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




