02-19-2024, 09:44 AM
(This post was last modified: 02-25-2024, 10:55 AM by Tim Curtis.)
Hello all,
I have just found that on 8.3.8 the file
is updated also when the player is in pause or stop mode. Dunno when this change was introduced exactly, I was not checking the file in the prev version, but now I started working again on a personal project to drive some peripherals based on the status of moode and I realised that the file is updated every 3 seconds, roughly. I think it is related to the fact that the current bitrate has been added to that file, nice addition, but that should happen only while playing and the file should not be updated when the player is paused or stopped, that's quite useless and can wear out microSD faster.
I will try to take a look at the code and see if I can pass a patch here, but in the meantime I would like to hear from developers
I have just found that on 8.3.8 the file
Code:
/var/local/www/currentsong.txt
is updated also when the player is in pause or stop mode. Dunno when this change was introduced exactly, I was not checking the file in the prev version, but now I started working again on a personal project to drive some peripherals based on the status of moode and I realised that the file is updated every 3 seconds, roughly. I think it is related to the fact that the current bitrate has been added to that file, nice addition, but that should happen only while playing and the file should not be updated when the player is paused or stopped, that's quite useless and can wear out microSD faster.
I will try to take a look at the code and see if I can pass a patch here, but in the meantime I would like to hear from developers
Location: Malaga, Spain | RPi4 / HifiBerry DAC+ / Teac A-H300