The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: currentsong.txt is updated too often
#1
Hello all,
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
Reply


Messages In This Thread
currentsong.txt is updated too often - by AkelGe - 02-19-2024, 09:44 AM

Forum Jump: