Server Version#: 1.32.8.7639
Player Version#: 4.9
This relates to plexamp on iphone, I am unaware if other mobile players behave this way as I don’t use them. Assuming sync play progress across players is enabled and tracking play count is somewhat important.
Reproduction:
- I create a smart playlist such as Track Plays is 0 and Track Duration is less than 61 seconds then download about 2 hours worth onto the phone
- start playing the playlist for about 10 minutes nonstop ensuring it gets at least 95% play to count then out of boredom go to downloads and attempt to refresh…
nothing happens. I can check on plexamp on windows or the webui and note that the history is different between the two. - rule out lack of active player state or network interference by ensuring connection to wifi, server on, etc.
This is resolved by subsequently going to the home screen back on my iphone and then scrolling down from top to trigger the manual refresh (spinning gear). This immediately syncs play history.
My thoughts on remediation:
- download refreshes should immediately sync play history irrespective of whether ludicrous playlists like the above example are created since smart playlists predicated around a last played or play count are not that uncommon. dev can reduce amount of unnecessary calls by setting a flag as to whether the playlist is smart and has applicable criteria to warrant this or track unsynced plays via a local variable.
- it would be great if this was a little clearer in the UI, could be triggered by the user in the settings or was done automagically as part of a scheduled task when connected to wifi since.
- I also notice that if I perform the above actions and do not trigger a manual sync then delete the downloaded playlist that the history there is lost, this is another opportunity to sync as player likely clears up cache associated with download.
Please let me know if you have any questions. Thanks