Set PlayCounter and LastTimeDate manually [#19633]

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

sonos
Posts: 170
Joined: Wed Aug 07, 2013 11:54 am

Set PlayCounter and LastTimeDate manually [#19633]

Post by sonos »

Since iOS 16, the LastTimeDate and PlayCounter data for audiobooks are no longer updated when the sync process is running on a connected iPhone.

On the other hand, I can manually increase the PlayCounter by e.g. 1 under Properties - Details and this would already document that the audiobook was listened to once. It would be great if the date for LastTimePlayed would be updated as well, so that both values (PlayCounter and LastTimeDate) are documented.
This would alleviate the lack in the sync process a bit.

Carsten
Ludek
Posts: 4945
Joined: Fri Mar 09, 2007 9:00 am

Re: [REQ] Set PlayCounter and LastTimeDate manually

Post by Ludek »

FYI: I tested this on my iOS 16.1 device and I can confirm that for the Audiobooks the play stats are not there, I guess we cannot fix this, because the stats are missing in the iPhone database (the Books app does not write it there).

There is only has_been_played flag set to 1, but not date_played and play_count_recent, see:
https://www.dropbox.com/s/gt2hnm69x2jgo ... 5.png?dl=0

So I am afraid that syncing them as Podcasts is the only workaround for now (for the play stats to sync back from iPhone). Maybe Apple will fix this in an iOS update (it used to work in iOS 15.7 and earlier)
sonos
Posts: 170
Joined: Wed Aug 07, 2013 11:54 am

Re: [REQ] Set PlayCounter and LastTimeDate manually

Post by sonos »

Hello Ludek
Thank you very much for your reply.
Since I have several audiobook users in the family, and it is very helpful to know if an audiobook has already been listened to and when it was listened to. To this end it would be helpful to create an entry in the DB.
E.g. in the Edit Tags submenu by adding an additional entry: set Played# and Last Played.
(increase Played# by 1 and take the actual date/time)

What are your thoughts on this?

Carsten
Ludek
Posts: 4945
Joined: Fri Mar 09, 2007 9:00 am

Re: [REQ] Set PlayCounter and LastTimeDate manually

Post by Ludek »

Hi Carsten,
I guess that could be done easily via addon.
AFAIK there is already a "mark played" addon. I'll search for it.

EDIT: The code snippet is here: https://www.mediamonkey.com/forum/viewt ... 22#p493322
Ludek
Posts: 4945
Joined: Fri Mar 09, 2007 9:00 am

Re: [REQ] Set PlayCounter and LastTimeDate manually

Post by Ludek »

As the code is quite simple I utilized the addon, download it from here:
https://www.dropbox.com/s/orlno2z9vl31b ... .mmip?dl=0

Upon installing it adds "Mark selected files as played..." to the context-menu > Edit tags >

It can be assigned to a hotkey too.

Also added as https://www.ventismedia.com/mantis/view.php?id=19633 to publish it
sonos
Posts: 170
Joined: Wed Aug 07, 2013 11:54 am

Re: Set PlayCounter and LastTimeDate manually [#19633]

Post by sonos »

Hello Ludek,
that is exactly what I was thinking of! :)
Something similar to: Edit tags - open track folder in Mp3tag to change specific tags within Mp3tag and then apply Add/Rescan files .... to bring the changed tags into MM5 DB.

Thank you for helping MM5 DB keep up with the data.

Merry Christmas and Happy New Year
Post Reply