After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 595852 - Save file position regularly in case of crash
Save file position regularly in case of crash
Status: RESOLVED DUPLICATE of bug 672999
Product: totem
Classification: Core
Component: Movie player
2.28.x
Other Linux
: Normal enhancement
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-09-21 17:20 UTC by Antoine Levitt
Modified: 2012-04-18 16:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Antoine Levitt 2009-09-21 17:20:56 UTC
[ In response to https://bugzilla.gnome.org/show_bug.cgi?id=164918#c63 ]
It would be nice if totem saved automatically the position of the file, say every x seconds, so that when a crash occurs an (approximate) position can be used to resume playing
Comment 1 Ralf Ebert 2009-11-04 17:51:36 UTC
would be nice to have this for regular exits per file location as well - f.e., if you stop watching a dvd at one point in time, it would be great if it would resume at the same last position if you play the dvd again
Comment 2 Philip Withnall 2009-11-04 22:56:05 UTC
(In reply to comment #1)
> would be nice to have this for regular exits per file location as well - f.e.,
> if you stop watching a dvd at one point in time, it would be great if it would
> resume at the same last position if you play the dvd again

This is already the case.
Comment 3 Ralf Ebert 2009-11-07 00:38:03 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > would be nice to have this for regular exits per file location as well - f.e.,
> > if you stop watching a dvd at one point in time, it would be great if it would
> > resume at the same last position if you play the dvd again
> 
> This is already the case.

Just tried it with version 2.28.1. Exited in the middle of a DVD, started totem again, and it started to play at the beginning of the DVD.
Comment 4 Bastien Nocera 2009-11-07 02:26:03 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > would be nice to have this for regular exits per file location as well - f.e.,
> > > if you stop watching a dvd at one point in time, it would be great if it would
> > > resume at the same last position if you play the dvd again
> > 
> > This is already the case.
> 
> Just tried it with version 2.28.1. Exited in the middle of a DVD, started totem
> again, and it started to play at the beginning of the DVD.

We can't do that because we can't save the DVD state machine (or at least, Totem wouldn't know how to).
Comment 5 Robin Stocker 2009-11-09 22:18:47 UTC
I created bug 601321 for the "remember position" feature for DVDs, so we can track it.
Comment 6 Robin Stocker 2009-11-09 22:29:33 UTC
As to the original question: I don't think the position in a movie is important enough to remember it even on a crash (which hopefully occurs very rarely). WONTFIX?
Comment 7 Bastien Nocera 2009-11-09 22:52:43 UTC
Yep. It's not like there's dataloss there...
Comment 8 Ralf Ebert 2009-11-09 22:55:38 UTC
From a user perspective I would consider this to be helpful, but not that important. But if you already have the code to save the position, is it that hard to save the positition from time to time? Maybe there is some timer that runs like every 30s anyway?
Comment 9 Bastien Nocera 2012-04-18 16:47:23 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 672999 ***