kljohann / mpv.el

control mpv for easy note taking
GNU General Public License v3.0
142 stars 14 forks source link

Just return the playback-position, in seconds, and don't insert it #2

Closed mihaiolteanu closed 4 years ago

mihaiolteanu commented 4 years ago

Instead of inserting the "h :m :s" with mpv-insert-playback-position, return the playback position as it's returned by mpv itself: mpv-playback-position or something similar.

Reason: Use mpv.el for other purposes besides org note taking.

kljohann commented 4 years ago

That also sounds quite useful. The main reason for the current approach is that there isn't a blocking interface for the mpv calls yet (see issue #3).