sonixd icon indicating copy to clipboard operation
sonixd copied to clipboard

Song cache in MP3 format?

Open woonaval opened this issue 2 years ago • 2 comments

Hello,

Not sure if I would categorize this as an issue, but it confused me. I enabled song caching in sonixd and I noticed that even though all my songs are in .opus format, the cached files are in .mp3 format. Although it's weird because they don't have any mp3tags, and if I rename them to .opus then the tags are there and the song plays just fine. So I guess this is just some cosmetic thing and the songs are really cached in the original format, am I right? Thanks for your great app and project, I'm delighted by it.

woonaval avatar Jul 01 '22 12:07 woonaval

Same here. These days I was trying to save some songs of my favorite (I mean the original FLAC files) but, I could not find them in my catch folder.

So I tried accessing "C:\Users[my name]\AppData\Roaming\Sonixd\Cache" and copyed some big files named like f_00112f etc. After renaming them, .mp3 format appeared in Explorer, and, they were really MP3 files because I saw the info after right-clicking.

So if these songs are really cached in the original format, where do they go?

pingko-WI avatar Jul 03 '22 01:07 pingko-WI

Unfortunately the caching solution in Sonixd isn't very robust (hoping to improve it in 1.0.0).

The songs are indeed cached in their original format, but are then renamed using a generic <id>.mp3 file format so that I can do a simple check to see if the cached file is available.

@LiangMan0227 The default song cache folder should be %appdata%/sonixd/sonixdCache/<server id>/song This can be changed in the Config page to use a custom directory.

jeffvli avatar Jul 03 '22 04:07 jeffvli