2

Is there any possibility to see in nautilus or nautilus elementary which videos in my video folder have already been watched?

Michael
  • 21

4 Answers4

4

As a slight variation of the suggestion of @type - you can set "emblems" on files, which are small overlay icons, available through the Properties dialog.

And, if you feel really adventurous (but not adventurous enough to write your own plugin), you can "automate" the process:

  • investigate where Gnome stores file emblems. See this link for some initial details (update - the info there is obsolete, see below).

  • write a simple script which adds an emblem to the file and then launches the media player. The above link even has a sample script for reading the emblems

  • set up the script as the preferred application for opening video files

Of course, the script won't be able to tell whether you finished watching the video, whether you were watching carefully or if you want to re-watch it again - you can set emblems manually for that.

UPD: Actually, here's how to set emblems on a file. The rest is trivial...

UPD2: Here's a simple script which labels a file and opens it in totem:

#!/bin/sh
gvfs-set-attribute -t stringv "$1" metadata::emblems favorite
totem $1 &

Save it somewhere and set executable bit. Then you just right-click on a video - Open with - Other application - Use a custom command - [x] Remember this application - enjoy! :)

Sergey
  • 43,665
1
startme=date %s
vlc $1
endme=date %s
timewatched=$(( $start-$end ))

I have a script which goes WAY beyond this, including remembering videos in a "favorites" folder that is rescored after every viewing. This is based on a combination of time watched, total time watched for all videos, and number of times viewed for that file and for all files. I also have one of these for image galleries and might make one for music, but what's really needed is for this stuff to be incorporated into geeqie, vlc and whatevermusicplayerthatdoesntsuckorusemonothatwillbesupportedinthefuture.

0

Right click on the file and add a note via the Properties. With any text therein, the file icon gets an overlay image resembling a note (which in your case cud mean that this video is watched).

type
  • 3,237
  • what are the benefits of adding a Note compared to Emblems? The latter seem to be more suited for the task - it's even possible to use different emblems for good/bad videos... – Sergey Sep 07 '11 at 13:24
  • nice! never tried these (nor the notes ;) -- thanks! – type Sep 07 '11 at 13:49
0

This is not an inherent ability in either nautilus or nautilus-elementary and there aren't any extensions that have this functionality.

So no, unless you can develop an extension to do this. I imagine such an extension would need to use zeitgeist to accurately tell if a video has been watched.

dv3500ea
  • 37,204