Yatse with Plex media server - recently played in the app and in the Android Auto do not work?

Hi,

I am using Yatse with my media library running on Plex
Plex server is running on QNAP, version 1.18.6.2368

I was struggling to get “Recently played” working (showing up properly) in Yatse and Plex remotes on my mobile and in AA.

After some tests I guess that the issue could be server-side related (Plex).

Plex remote:

  • play something from mobile
  • activity is shown properly in Plex Web
  • once finished playing - activity does NOT show up in “Play history” and in “Recently played”
  • when playing from Plex Web (Chrome) - history is properly recorded and all Plex Web play activity and “Recently played” is populated accordingly
  • In Plex AA mode - “Recently played” is working and showing last activities based on Play history (Plex web only)

Yatse remote:

  • play something from mobile
  • activity is shown properly in Plex Web
  • once finished playing - activity does NOT show up in “Play history” and in “Recently played” in Plex Web. Same in Yatse - recently played is not showing up.
  • In Yatse AA mode - “Recently played” does not show anything. Plex “Recently played” is not fetched

I have sent the logs from Yatse and Plex by email.
Youtube video: link sent by email

Some thoughts from my side:

  1. Plex history supports only FULL played tracks. If the track is stopped before finishing - it will not be captured in the history
  2. It seems that something prevents Mobile playback activity from being captured by Plex. I can see that progress bar sometime goes out of sync with actual playback, so I suspect Plex is not capturing full playback event properly… Whether Plex or Yatse are used as a remote - does not matter.
  3. Maybe something should be tweaked in transcoding settings of the server or the apps. Plex console shows ‘Unknown (mp3 stereo) - direct play’ mode. However, Chrome (Plex Web) plays in the same mode and history is kept.

Thanks for all the details. After seeing your post on Plex forum I did some tests and effectively found that only song play status are working Plex is not properly updating album / artists from those played songs despite calling the proper known end points.

But song playing status is correctly updated on Plex and Yatse side for sure.

For consistency in AA the recently played will switch to displaying songs, as it better works with playlist anyway now that I’ve added them to AA too.

It’s nice to see that Plex works correctly from the web interface I’ll be able to look into what they do differently and hopefully fix the other part of Yatse that display recently played albums.

Hi,
I have discovered not being alone with ‘play history’ issue

And BTW, ‘Recently played’ in Plex AA interface works currently (properly?) as following:

  • it shows the artist played
  • when you click on the artist, it shows all albums from the selected artist
  • when you click on the album - it starts playing

Not ideal, as I would prefer listing specific Albums played recently, not Artists, but this is better than
showing “songs” as you have proposed IMHO…
I.e, if I’ve listened an audio book of 40 tracks… they will all show in a ‘recently played’ as a long list???

Anyway, I am not sure I got your comments properly.

  • In PLex remote - recently played is working (showing artists, with some limitations due to play history bug in Plex?)
  • At the same time in Yatse - recently played shows nothing…


p.s. I have also tried creating smart playlist in Yatse with:
‘play count greater than 0’
it shows nothing… so I am not sure if

anyway, if you would need any additional info or logs - please let me know.

Yatse did directly display Albums in AA in recently played, but as it’s broken on Plex side there’s not much I can do for the moment. Showing song also makes sense since when you play a playlist of random songs why should all albums related to each song should be displayed?
Showing artists then albums as Plex does clearly does not make any sense either.

And yes after forcing a sync the playcounts are reseted by Plex so they clearly have a bug currently on song playlist they probably have changed their api or something will be fun to workaround and keep working on all Plex versions :frowning:

ah, I guess I understand now what you are trying to say - do you mean that I have ‘nothing’ in Yatse is because it tries displaying Albums instead of the Artists and this call fails on Plex server side?
Right?

And Plex remote calls for Artists instead of Albums, which apparently works…

Yatse> nothing shown in recently played (neither in mobile, nor in AA)
Plex> artists are shown in recently played

p.s. maybe I should give KODI server a try instead :wink:

Not really Yatse works with it’s local copy that is dual synced with Plex.

But in the end you have nothing because Plex does not return played data for the albums so Yatse does not have it either + Plex does not update songs playcount either on their side so I can’t cheat and create album playcount from song playcount.

Unbelievable…
I have just tried opening Yatse on mobile again in AA and know what? - Recently Played was no longer empty… and it shows Albums, not artists as in Plex. And they work great.

I am sure I was not doing anything … and it seems:

  • there was a lag in updating Recently played in Plex Web console - now it shows all items I’ve tried both in Web and on mobile, even though not all of them appear in the ‘Play history’ log
  • there was a strange lag to show ‘Recently played’ in Yatse - I am sure I’ve tried DB sync before without success
  • ‘Recently played’ in Yatse shows Albums and it works!

Well there’s definitively something wrong on Plex side then :’( Not sure how I’ll manage that.