gnome-mplayer asks whether to resume at the latest position if the playback has been canceled before the end of the video in a previous run of the program. How can I prevent this, i.e. start every video (in gnome-mplayer
) from the beginning without being bothered? I checked the settings dialog and search for the question in popular search engines.
-
smplayer has a setting in "general" called "remember time position".– RinzwindApr 8, 2014 at 17:19
-
So you're suggesting to switch players, right? Because changing the option there has nothing to do with changing the option in gnome-mplayer.– Kalle RichterApr 8, 2014 at 18:03
-
smplayer is based of mplayer so it might have the same options in the same place ;)– RinzwindApr 8, 2014 at 18:03
-
No, they really do not (checked again)...– Kalle RichterApr 8, 2014 at 18:06
1 Answer
This is just a workaround. (I didn't search much about it.)
Install sqliteman:
sudo apt-get install sqliteman sqlite3
Open gnome-mplayer media datastore
sqliteman ~/.config/gnome-mplayer/gnome-mplayer.db
Add a trigger to reset
resume
column to0
with any data update- Schema tab → main → Tables →
media_entries
→ Right click on Triggers → Create trigger Fill up as:
CREATE TRIGGER "no_resume" AFTER UPDATE OF "resume" ON media_entries FOR EACH ROW BEGIN UPDATE media_entries SET resume = 0; END
Meaning:
Create a trigger with name "no_resume" which will be executed after any update of "resume" values in "media_entries" table.
Command to be run: For each row in "media_entries" table set "resume" to "0".
Click Create
- Schema tab → main → Tables →
Close sqliteman and launch gnome-mplayer again. It works for me in (Ubuntu 14.04). If I check back database all resume
column is 0
.
-
1That is a really clever workaround that solves my problem. In order to speed up things for other missing this feature, I created code.google.com/p/gnome-mplayer/issues/detail?id=712. Apr 8, 2014 at 22:24