Page 1 of 1

Remembered settings automatically used

PostPosted: Thu Jun 06, 2019 5:02 am
by DevNull
One of the reasons I decided to migrate to SMPlayer and not any of the other MPlayer UI apps is this feature - remembering the playlist, and remembering the time index of a file when it was last played. I think it's a great idea, honestly I'm shocked every app doesn't have that, it's also nice that it actually works unlike VLCPlayer at least for the current build. But I'm kind surprised by SMPlayer as well and I hope that I'm just missing something on this! LOL But what if I don't WANT the saved settings/time-index used when I play a file? Both in the app, and also from the context menu! But so far I don't see a way to override the default of using those saved settings and time-index. Even VLCPlayer provides a user prompt where they can opt-in and click a button to resume where they left off. Obviously their implementation and design of this feature is badly broken (like most of the UI design). And I really like how SMPLayer can store all settings for each file not just the last one played like VLC. And again, it works! Which is refreshing!

Please let me know if I am missing or not understanding something.
Again, I do realize I could get the source! LOL

AdvTHANKSance!

Re: Remembered settings automatically used

PostPosted: Thu Jun 06, 2019 9:01 am
by rvm
Uncheck the option "remember time position" in preferences, general.

Re: Remembered settings automatically used

PostPosted: Thu Jun 06, 2019 2:35 pm
by DevNull
Greetings and thank you for the reply!

I realize I can disable that part of the feature. I was trying to understand if there was a way to configure things so that, for example, it would default to using the remembered settings but first would prompt for, say 3 seconds and allow the user to override that action. And the reverse too of course. I see 5 possible pathways in this scenario:
Do it unless user clicks a button
Do it (unconditionally; no button)
Don't do it unless user clicks a button
Don't do it (unconditionally; no button)
Default

Bonus points for taking one more small step which would involve a file naming regex or simple pattern (say all *.mp4 are defaulted at do it, otherwise don't is the default).

Does it make more sense now that I've explained it this way?
I'm guessing this would all fall in the "room for future improvement" category! :-))

Let me know your thoughts on it. If it makes sense perhaps I can offer to donate some time to write the code to go with it - if that is an option that would interest you.

Cheers!

Re: Remembered settings automatically used

PostPosted: Sat Jun 08, 2019 11:26 pm
by rvm
I guess maybe it would be possible to add an option to ask the user whether resume playback or not, but I don't know if it would be worth the effort to implement it, I think you're the first one to ask for this feature in 12 years.

Re: Remembered settings automatically used

PostPosted: Tue Jun 11, 2019 5:36 am
by DevNull
As it's standard feature in VLC Player and other apps - prompting to "Continue Playback" - I"m surprised that no SMPlayer user has ever asked about it!
But no worries, I'm perfectly happy to "carry my own water" ;-) The beautiful thing about open source, if you're willing to write your own code to add a feature or fix some problems with an app, you can. So I'll go that route. I haven't written cpp in ages but I hear it's like riding a bike! :-)

Thanks for the info