Clone SERVO CD HECD-019A for PHILIPS CDM12.1

Result of working with the firmware with Arduino mega 2560, CDM12 servo HECD-019A, there are still details to correct but I finally got to a good point, I have problems with the progress bar of the track, there is no synchronization, the fast forward and backward does not work yet so the hard part has been done, maybe there is work to be done with the graphics, I made a demo of how I would like it to become but let's see.


 
ok so you're saying that there are no specific optcodes and that for example using delay logic to distinguish between a single "play/pause" and a sequence of "play" for fast forward/rewind is a sensible and widely used approach?

Here's how this logic might be implemented and why it's relevant and worth investigating:

Delay Logic:

Play/Pause: If the system receives a "play" command and then another "play" command after a relatively long time (e.g., 500ms or 1 second), it might interpret this as a toggle between play and pause.
Fast Forward/Rewind: If the system receives a series of "play" commands in rapid succession (e.g., every 50-100ms), it might interpret this as a request to fast forward or rewind.
I tried this logic but it didn't give good results, in fact, it tends to throw the logic off, it confuses with play and next/prev
 
I'm also going crazy with the remote control buttons, if I make the ones from 1 to 9 work, the two-digit ones don't work, so two numbers in sequence, if I make the two-digit ones work, the single-digit ones don't work... do you know anything about this? By the way, nothing with fast forward and rewind, it doesn't work with that either, did you solve it in what way?