Menu

#993 SMPlayer does not always save the current position

stable
open
nobody
None
5
2022-01-16
2022-01-16
No

Version 21.1.0 rev 9475 64bit on Windows 10.

I listen to a lot of music and podcasts, mostly recorded as m4a. Most recordings are between 30 minutes and an hour in length. I'm running on Windows 10 but I control SMPlayer with a loop built in shell under Cygwin. The usual approach is that I start up SMPlayer in the morning, and I run it until the recording ends. SMPlayer exits and the shell script loop then fires up another instance with the next queued recording.

This process continues until I shut down my computer.

When I restart my computer the following morning I start SMPlayer back up again and it's almost always failed to remember where it got to in the "current" recording, i.e. the last one it was playing the day before.

Things to note,

  • Hitting stop or pause before shutting down my computer seems to make no difference
  • Quitting SMPlayer cleanly does make it save its position
  • SMPlayer is usually closed down as a consequence of my shutting down Windows, and in this instance SMPlayer does not save its position

Settings

  1. General: Media settings:
    [✔] Remember settings for all files (audio track, subtitles...)
    [✔] Remember time position
    [✔] Remember settings for streams
    Store settings in [multiple ini files]
  2. Interface: Seeking:
    [ ] Pressing the stop button resets the time position
  3. Interface: Instances:
    [ ] Use only one running instance of SMPlayer
  4. Playlist: Playlist:
    [✔] Play files from start ← I'm not using a playlist

Command line invocation

smplayer.exe -no-fullscreen -minigui -close-at-end file.m4a

Question

Can SMPlayer be amended so that if it receives a shutdown notification (assuming such things exist for applications in the Windows world), then it saves the current position as if it was being shut down cleanly?

Thanks

Discussion


Log in to post a comment.

MongoDB Logo MongoDB