Moode Forum
[SOLVED] currentsong.txt is updated too often - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] currentsong.txt is updated too often (/showthread.php?tid=6239)

Pages: 1 2


RE: currentsong.txt is updated too often - AkelGe - 02-25-2024

(02-25-2024, 07:44 AM)AkelGe Wrote:
(02-21-2024, 11:49 PM)Tim Curtis Wrote:
(02-19-2024, 11:08 PM)Tim Curtis Wrote: In looking that code section there appear to be a number of issues. I'll make a commit tomorrow.

@AkelGe and @Nutul, Let me know how it works.

Here is the commit
https://github.com/moode-player/moode/commit/68ba3f672b8834fdc74a5d8f0b8cb882f06fe5b1

You might also want to look at the other two from today.

I would really love to test it, do you have suggestions on a quick way to test it? I am on the official code, I am not working on a git clone.

Nevermind, I just saw 8.3.9 is out, I am updating right now and I will report here. In case this is okay, I will close my PR


RE: currentsong.txt is updated too often - AkelGe - 02-25-2024

It is fixed in 8.3.9, no more constant updates. I think we lost the update of bitrate for VBR files, but I can live with it.
Maybe I can take a look and try to fix the code to update currentsong.txt when the bitrate changes.


RE: currentsong.txt is updated too often - Nutul - 02-25-2024

(02-25-2024, 07:44 AM)AkelGe Wrote:
(02-21-2024, 11:49 PM)Tim Curtis Wrote:
(02-19-2024, 11:08 PM)Tim Curtis Wrote: In looking that code section there appear to be a number of issues. I'll make a commit tomorrow.

@AkelGe and @Nutul, Let me know how it works.

Here is the commit
https://github.com/moode-player/moode/commit/68ba3f672b8834fdc74a5d8f0b8cb882f06fe5b1

You might also want to look at the other two from today.

I would really love to test it, do you have suggestions on a quick way to test it? I am on the official code, I am not working on a git clone.

Your best option is to update to 8.3.9 already...