PDA

View Full Version : Least Played sort order



jbinkley60
06-30-2014, 07:07 AM
I've discovered an interesting problem when the sort order on a playlist is set for least played. Here's the scenario:

I created a smart playlist with about 70 songs in it. I set the sort order for least played, in an attempt not to hear the same songs over and over again. The music files are being played through a Yamaha RX-A3020 receiver. The problem occurs when changing songs. What will happen is that a song will finish playing and then it will begin to play the next song on the playlist but about 10 seconds into the song it skips to the next song. This occurs whether I use the receiver's native interface to play the songs or whether I use the Mezzmo Android app. If I change the sort order to fixed or some other more static setting it is fine. When it skips a song the Android app and the receiver both get out of sync with the song that is playing. They will often (almost always) show the song which should be playing, even though it has skipped ahead and is playing the next song. I think what is happening is when the receiver is going to the next song it is sending a query to the Mezzmo server and even though the receiver has just started playing a song Mezzmo flags it has been played (even though it's only been 10 seconds) and thus the Mezzmo server suddenly returns the next least played song on the playlist. The solution may be to not update the database so quickly, as soon as the song is first queued but update it after X amount of the song has played.

Let me know if this makes sense. I am running v4.0.5

Paul
06-30-2014, 10:30 AM
Thanks for the detailed explanation. It's best we see a set of logs when this occurs. Email them to us at support [a] conceiva [dot] com and we'll see what's going wrong.

jbinkley60
06-30-2014, 12:08 PM
Thanks for the detailed explanation. It's best we see a set of logs when this occurs. Email them to us at support [a] conceiva [dot] com and we'll see what's going wrong.

Paul, I just sent the logs. You should get them shortly. My original theory is flawed because I see from the logs that the file played counter is getting set when the file completes playing. I think what is happening is that when the song completes being played and the play counter is updated it is throwing off the original query index by 1, since now the song which just completed no longer has a lower play count and would be removed from the list. We'll see what you find in the logs.

Paul
06-30-2014, 06:14 PM
Thanks - got your logs. Change your device profile for your tablet/smartphone running the Mezzmo Android app to 'Conceiva Mezzmo (Android)' and see how that goes. Email us a new set of logs if no better.

jbinkley60
07-02-2014, 11:33 AM
Paul, Thanks for the response with this being a glitch with your Android app. I've retested with the native Yamaha receiver interface and the Yamaha Android app and both work fine. Originally I thought the Yamaha Android app was also skipping but realized that I had it set for shuffle mode, which caused me to believe this might be a Mezzmo server issue since both apps appeared to jump/skip. In the interim I have two workarounds: Set the sort option on the playlist to no sort and then use the shuffle option on your Android app or on the Yamaha Android app. Both are close to the desired result. I like the Mezzmo Android app better because it has more features including showing the play progress.

Paul
07-02-2014, 12:00 PM
Understand. We have fixed the problem in the Mezzmo Android app and will release an update in the next few days.

jbinkley60
07-02-2014, 06:01 PM
One quick question on sort orders. I see a sort order called Least Recently Played. What is that and how does it differ from Least Played ?

paulsalter
07-03-2014, 01:10 AM
One quick question on sort orders. I see a sort order called Least Recently Played. What is that and how does it differ from Least Played ?

One is based on last played date, the other is based on playcounts

Least Recently Played puts them in order of when you last watched/listened to them (oldest at the top)
Least Played sorts them by play count, lowest playcount at the top

Paul
07-03-2014, 10:48 AM
I agree they are not very clear.


Least recently played = Date Last Played (Ascending)
Most recently played = Date Last Played (Descending)
Least Played = Play count (Ascending)
Most played = Play count (Descending)


We will rename these to the text on the right hand side so they are clearer.

jbinkley60
07-03-2014, 11:21 AM
Thanks for the explanation. I'll do some testing with Least Recently Played sort order.

jbinkley60
07-04-2014, 08:10 AM
Paul, the Least Recently Played sort order does the same thing with the Android app as Least Played, skipping songs. I figured it would but wanted to test to be sure.

Paul
07-04-2014, 08:46 AM
OK - thanks. This should be fixed with the upcoming Mezzmo Android release. Should be available early next week.

jbinkley60
07-11-2014, 07:14 PM
OK - thanks. This should be fixed with the upcoming Mezzmo Android release. Should be available early next week.

Paul, I can confirm that the 1.0.5 Android release did fix the issue. Thanks

Paul
07-12-2014, 09:04 AM
Excellent :) Thanks for the quick confirmation.