MinimServer Forum
Track and album names displayed with replacement character. How to resolve? - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Track and album names displayed with replacement character. How to resolve? (/showthread.php?tid=7145)

Pages: 1 2 3 4


RE: Track and album names displayed with replacement character. How to resolve? - Yukster - 25-01-2024 19:09

(25-01-2024 18:44)simbun Wrote:  In 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 2

Alternatively you'd need to load your entire collection into Mp3tag and save them all.
Trying to upload a short flac track as is but the website tells me that 'The type of file that you attached is not allowed. Please remove the attachment or choose a different type'. Will it let me upload it if I truncate the flac file using Sox?


RE: Track and album names displayed with replacement character. How to resolve? - simoncn - 25-01-2024 20:01

In this case you can zip or compress the file before uploading so that the forum will accept the file. Please don't upload a very large file as the forum has a limited space quota and is not intended to be used for file sharing.


RE: Track and album names displayed with replacement character. How to resolve? - Yukster - 25-01-2024 20:06

(25-01-2024 20:01)simoncn Wrote:  In this case you can zip or compress the file before uploading so that the forum will accept the file. Please don't upload a very large file as the forum has a limited space quota and is not intended to be used for file sharing.



RE: Track and album names displayed with replacement character. How to resolve? - simbun - 25-01-2024 20:46

(25-01-2024 20:06)Yukster Wrote:  
(25-01-2024 20:01)simoncn Wrote:  In this case you can zip or compress the file before uploading so that the forum will accept the file. Please don't upload a very large file as the forum has a limited space quota and is not intended to be used for file sharing.
Did you try to upload a file?
To upload a file, in the Attachments section select the Browse button, then once you've chosen the file select the 'Add Attachment' button on the right.


EDIT: It looks like you don't need to click 'Add Attachment' as my image was uploaded without it - unless it's because it was one I'd already uploaded.


RE: Track and album names displayed with replacement character. How to resolve? - Yukster - 28-01-2024 15:56

(25-01-2024 18:44)simbun Wrote:  
Code:
"C:\Program Files (x86)\sox-14-4-2\sox.exe" "file name.flac" "output.flac" trim 0 2

Alternatively, you'd need to load your entire collection into Mp3tag and save them all.
I'd be grateful for a bit of help with trimming the flac file with SoX. I copied the file to C:\Program Files (x86)\sox-14-4-2\ for ease. I ran the following command:

"C:\Program Files (x86)\sox-14-4-2\sox.exe" "09 - Mirror Mirro.flac" "output.flac" trim 0 2

An error message appeared: FAIL formats: can't open input file `09 - Mirror Mirro.flac': No such file or directory


RE: Track and album names displayed with replacement character. How to resolve? - simbun - 28-01-2024 16:40

(28-01-2024 15:56)Yukster Wrote:  I'd be grateful for a bit of help with trimming the flac file with SoX. I copied the file to C:\Program Files (x86)\sox-14-4-2\ for ease. I ran the following command:

"C:\Program Files (x86)\sox-14-4-2\sox.exe" "09 - Mirror Mirro.flac" "output.flac" trim 0 2

An error message appeared: FAIL formats: can't open input file `09 - Mirror Mirro.flac': No such file or directory
Firstly, are you sure it shouldn't be "09 - Mirror Mirror.flac"?

Try running:
Code:
cd "C:\Program Files (x86)\sox-14-4-2\"
Then try again.

It appears that SOX is installed, but just to check run:
Code:
"C:\Program Files (x86)\sox-14-4-2\sox.exe" --version
It should output:
Code:
C:\Program Files (x86)\sox-14-4-2\sox.exe:      SoX v14.4.2

Then dir the file to make sure you have spelt it correctly:
Code:
dir /B "09 - Mirror Mirro.flac"
It should print the name of the file.

Because you haven't specified a path the flac file needs to be in the folder that you're running the commands from. Alternatively specify the full path e.g. "C:\Program Files (x86)\sox-14-4-2\09 - Mirror Mirro.flac".

Make sure you include a path for output filename as well if necessary. Depending on your Windows rights it may not let you create it under 'Program Files'.


RE: Track and album names displayed with replacement character. How to resolve? - simbun - 28-01-2024 17:24

Or to keep it simple:
Tap the Windows key on the keyboard (or Ctrl and Escape at the same time) and type %TEMP% then hit enter. Place the source flac file in there and call it input.flac.

Then from a command prompt run:
Code:
"C:\Program Files (x86)\sox-14-4-2\sox.exe" "%TEMP%\input.flac" "%TEMP%\output.flac"
and attach output.flac to a post.


RE: Track and album names displayed with replacement character. How to resolve? - Yukster - 28-01-2024 18:34

(28-01-2024 17:24)simbun Wrote:  Or to keep it simple:
Tap the Windows key on the keyboard (or Ctrl and Escape at the same time) and type %TEMP% then hit enter. Place the source flac file in there and call it input.flac.

Then from a command prompt run:
Code:
"C:\Program Files (x86)\sox-14-4-2\sox.exe" "%TEMP%\input.flac" "%TEMP%\output.flac"
and attach output.flac to a post.
Thanks, it worked when I added the 'trim 0 2' bit


RE: Track and album names displayed with replacement character. How to resolve? - simbun - 28-01-2024 19:05

(28-01-2024 18:34)Yukster Wrote:  Thanks, it worked when I added the 'trim 0 2' bit
Oops, forgot about that with all the copying and pasting.

Unfortunately it looks like sox has cleaned up the tags as I don't see NUL at the end anymore.

I'm afraid the only way is going to be for you to upload a whole track.
If you're able to upload to a share somewhere (onedrive/google drive etc) and message me the link that's probably going to work best.


RE: Track and album names displayed with replacement character. How to resolve? - Yukster - 28-01-2024 19:16

(28-01-2024 19:05)simbun Wrote:  
(28-01-2024 18:34)Yukster Wrote:  Thanks, it worked when I added the 'trim 0 2' bit
Oops, forgot about that with all the copying and pasting.

Unfortunately it looks like sox has cleaned up the tags as I don't see NUL at the end anymore.

I'm afraid the only way is going to be for you to upload a whole track.
If you're able to upload to a share somewhere (onedrive/google drive etc) and message me the link that's probably going to work best.
I hope this https://we.tl/t-viu8vUn9ln works