mitchray / ample

A simple web browser client for Ampache
https://ample-player.vercel.app/
GNU Affero General Public License v3.0
63 stars 13 forks source link

Bug? Recently Played does not actually display the Most recently played #17

Closed Jieiku closed 2 years ago

Jieiku commented 2 years ago

When you click "Recent" from the INSIGHTS menu on the left, the items displayed are indeed recently played items, but they are not the most recently played items, you can see this by comparing the recently played items displayed in the regular Ampache, you can also see this happening just by looking for the last few songs you played and seeing they are not there.

mitchray commented 2 years ago

You would need to refresh that page to get the latest information, the same as ampache/stats.php?action=recent

The 'recently played' on the Ample home page refreshes when you play a new song, similar to Ampache's home page though that is on a timer

Jieiku commented 2 years ago

hmmm I am probably just noticing whatever the difference is on the timer, what is the timer interval?

Maybe what I am noticing is that some people are listening using the regular front end, so its not always updated. will play around and see what happens.

Jieiku commented 2 years ago

Yep! thats what it was! If a song is played in Ample then the list is updated, but if the song is played in the base Ampache web UI, then the recent list in Ample does not update until the next song is played in Ample. (or on a periodic timer?)

Jieiku commented 2 years ago

Oh I think you were saying that the Base ampache one updates on a timer.

Is there a way to force an update of the Ample one via command line? If so I could setup a cron job to run every 10 minutes.

Eventually I hope to just use Ample for everything, mostly just waiting for the grid view on albums/artists.

I like the player/playlist much better in Ample, but I like browsing with the larger thumbnails in grid layout in base Ampache.

mitchray commented 2 years ago

Yeah its just a basic method at the moment which doesn't really account for multi-user setups

Its something I'll revisit in the future