Moode Forum
Clear Play History not working - 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: Clear Play History not working (/showthread.php?tid=305)

Pages: 1 2


Clear Play History not working - Big G - 07-15-2018

Hi Tim,

I just installed 4.2 today and it looks great. I played around with it a bit before putting the sdcard in my 24/7 player. When I got finished testing, I clicked the "Clear playlist history" and nothing gets removed. Its not a real big issue....just thought I would let you know.

Also curious if 4.2 addresses the duplicates in the playlist history.

Thanks again for another GREAT update!!!

Gary


RE: Clear Play History not working - Tim Curtis - 07-15-2018

Hi Gary,

I looked in my notes and don't see any references to changing the Play history code but bugs and regressions can never be ruled out.

I'll investigate.

-Tim


RE: Clear Play History not working - Tim Curtis - 07-15-2018

Hi Gary,

Just tested and it works on my end.

Take a look in the moode log and verify that the line below appears after clearing the log.

20180715 195046 worker: Job clearplayhistory

After clearing the Playhistory log the file below will have only a single line.

pi@rp3:~ $ cat /var/local/www/playhistory.log
20180715 195046 Log initialized

-Tim


RE: Clear Play History not working - Big G - 07-16-2018

Hi Tim,

Its not clearing..... I have the log initialized line at the beginning and then the entire log. I tried it several more times and no go. I assume I can manually go in and delete everything except the initialize line and do the same. When I click the "Clear" button, the screen refreshes and seems like it does something, but everything is still in the file when I ssh into the Pi.

Thanks again,
Gary


RE: Clear Play History not working - Tim Curtis - 07-16-2018

Very odd.

You can try just deleting the file. It will be created afresh and initialized at the next reboot.

sudo rm /var/local/www/playhistory.log

-Tim


RE: Clear Play History not working - Big G - 07-16-2018

Yep, its strange. I can remove the file, reboot and it gets created. Play a couple songs and click CLEAR and nothing is removed.

added....I run this in shuffle mode, just incase that makes any difference.

Gary


RE: Clear Play History not working - Big G - 07-16-2018

(07-16-2018, 03:25 AM)Big G Wrote: Yep, its strange. I can remove the file, reboot and it gets created. Play a couple songs and click CLEAR and nothing is removed.

added....I run this in shuffle mode, just incase that makes any difference.

Gary

Tim,
A little more info I just discovered.....maybe it is a Firefox issue. I just tried clearing the playlist history from my Android phone and I got a confirmation box asking if I wanted to clear the playlist history. I am never seeing that confirmation box on Firefox. Once I selected YES, the list cleared as normal.

Hope this is helpful,
Gary


RE: Clear Play History not working - Tim Curtis - 07-16-2018

Auto-shuffle?


RE: Clear Play History not working - Big G - 07-16-2018

(07-16-2018, 03:42 AM)Tim Curtis Wrote: Auto-shuffle?

Yes, auto shuffle.....I forgot what the exact name was when I was typing that LOL


RE: Clear Play History not working - Tim Curtis - 07-16-2018

It shouldn't have any influence on clearing Playhistory but I'll try and repro and see what shakes.