Hi,
When the server can't reach deezer.com the refreshArl function overwites the deezer.prefs file with an empty ARL {}.
So, after that, when everythink is ok again the familly or premium account becomes a free account !
Result : ARL is lost and you have to reenter a new ARL.
I believe the ARL shouldn't be reset if deezer.com is unattainable.
To reproduce the bug
Play a track with a premium account,
Stop lyrionserver
(disable network for debug purpose)
restart lyrionserver
=> Despite the old ARL remaining valid, ARL is overwritten, as per deezer.prefs.
It's erratic but it happens time to time and if I restore my saved deezer.prefs it's ok with a (very) old ARL !
RefreshARL_deezer.com_fail.log
Hi,
When the server can't reach deezer.com the refreshArl function overwites the deezer.prefs file with an empty ARL {}.
So, after that, when everythink is ok again the familly or premium account becomes a free account !
Result : ARL is lost and you have to reenter a new ARL.
I believe the ARL shouldn't be reset if deezer.com is unattainable.
To reproduce the bug
Play a track with a premium account,
Stop lyrionserver
(disable network for debug purpose)
restart lyrionserver
=> Despite the old ARL remaining valid, ARL is overwritten, as per deezer.prefs.
It's erratic but it happens time to time and if I restore my saved deezer.prefs it's ok with a (very) old ARL !
RefreshARL_deezer.com_fail.log