Closed poeti8 closed 2 months ago
Hi, thanks for the issue report.
1 - Which version of the app are you using ? Aural > About Aural 2 - How long have you been using the app ? 3 - Did you have any recent troubles with the app ? A crash or freeze or trouble reading some files ? 4 - If you look further in the log file, do you see any error messages repeating over and over ?
For the moment, as a temporary solution, you can just delete the log file. It will create a new one the next time the app starts.
I can fix the issue, but I think I need more info at this point.
// ... continues
2024-08-06 12:44:49.302 Aural[73796:47668820] Decoder error while reading track /Volumes/music/songs ohia/[2001] - Mi sei apparso come un fantasma [Live]/02 Nobody Tries That Hard Anymore.flac : Aural.PacketReadError
2024-08-06 12:44:49.302 Aural[73796:47668820] Unable to read packet. Error: -5 (Input/output error))
2024-08-06 12:44:49.302 Aural[73796:47668820] Decoder error while reading track /Volumes/music/songs ohia/[2001] - Mi sei apparso come un fantasma [Live]/02 Nobody Tries That Hard Anymore.flac : Aural.PacketReadError
2024-08-06 12:44:49.302 Aural[73796:47668820] Unable to read packet. Error: -5 (Input/output error))
// ... continues
All the timestamps where in the same second, only milliseconds apart. /Volumes/music
Is the external hard drive I use. I suspect that the file was still in the aural playlist but the hard drive was ejected.
There were some other repeating lines at the end of the file but they didn't take space as much. 10–50 lines or so each time they appear:
[flac @ 0x10c817600] Could not find codec parameters for stream 1 (Video: mjpeg, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[flac @ 0x116816e00] Discarding ID3 tags because more suitable tags were found.
[dsf @ 0x11f80ee00] Stream #1: not enough frames to estimate rate; consider increasing probesize
[dsf @ 0x11f80ee00] Estimating duration from bitrate, this may be inaccurate
[dsf @ 0x11f4b7c00] Could not find codec parameters for stream 1 (Video: mjpeg, none): unspecified size
[iff @ 0x14453a600] Estimating duration from bitrate, this may be inaccurate
Thanks again for the info!
From the recent log you sent me, it is clear what the issue is, and it is the same as another issue previously filed, so I am aware of the cause: https://github.com/kartik-venugopal/aural-player/issues/74
What basically happens is, with non-native files (such as FLAC, DSF, Opus, etc), when there is trouble reading the file, for example, when a network drive or USB drive gets disconnected, FFmpeg keeps trying to read it without success. Unfortunately, the fix for this will require some deeper investigation. Luckily, it is a relatively rare event so unless you have an external network / USB drive that frequently gets disconnected, it most likely won't ever happen.
Does your external hard drive get disconnected often ? Would this be a regular occurrence for you ?
I must tell you - v3 is in archived status at this point, so there will be no further work or releases on it. The fix will go into v4 (coming later).
An alternative (temporary) fix would be to disable logging altogether ... I can provide this as an option in an update to the v4 preview release that is available now ... I will try to implement that in the next preview release (hopefully in the coming days / weeks)
My suggestion for now - If you notice a drive disconnection, just check the log size and delete it if it's too big for you.
Hope this works for now ?
I am closing this issue because it is a duplicate of https://github.com/kartik-venugopal/aural-player/issues/74, but you are of course welcome to continue posting updates / replying to this issue.
Does your external hard drive get disconnected often ? Would this be a regular occurrence for you ?
Yes, although the occurrence itself should be rare since I wouldn't keep a track from my external hard drive on my playlist if it's not connected. It's not a big deal anyway, as you mentioned I'll just delete the file if I notice it gets big. I just wanted to report this to let you know.
Nonetheless, keeping logs disabled by default seems like a good default behavior to me.
I opened my Music folder today and saw that the aural folder contains a 9GB log file (
Users/myuser/Music/aural/aural.log
). I'm not sure if I have enabled a debug mode, I don't find such option on settings panel right now.Here's the last 50 lines from that file: