38

GitHub - Brwo/org-watchlist: Video playlist logging based on GNU Emacs'...

 4 years ago
source link: https://github.com/Brwo/org-watchlist
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

org-watchlist

Playlist logging based on GNU Emacs’ org-mode.

About

Org-watchlist is an Emacs Lisp package for keeping track of shows and video playlists in org-mode files.

Dependencies

  • org-mode - for tracking progress
  • emms - for playback

How does it work?

Wathclist-file

  • By default the package looks into a file defined by the org-watchlist-file variable. Which is watchlist.org in org-directory by default.
  • The watchlist file can look a little something like this:
* TV Shows
** TODO [2/9] The Office
*** DONE [6/6] Season 1
*** DONE [23/23] Season 2
*** TODO [19/24] Season 3
*** TODO [0/16] Season 4
*** TODO [0/28] Season 5
*** TODO [0/28] Season 6
*** TODO [0/25] Season 7
*** TODO [0/24] Season 8
*** TODO [0/24] Season
** TODO [10/12] Red Dwarf
*** DONE [6/6] Season 1
*** DONE [6/6] Season 2
*** DONE [6/6] Season 3
*** DONE [6/6] Season 4
*** DONE [6/6] Season 5
*** DONE [6/6] Season 6
*** DONE [6/6] Season 7
*** DONE [6/6] Season 8
*** DONE [6/6] Season 9
*** DONE [6/6] Season 10
*** TODO [5/6] Season 11
*** TODO [0/6] Season 12
** TODO [2/4] Monty Python's Flying Circus [TIME: 120] ;; Time cookie (explained later)
*** DONE [13/13] Season 1
*** DONE [13/13] Season 2
*** TODO [4/13] Season 3
*** TODO [0/6] Season 4
** DONE [26/26] Cowboy Bebop ;; For shows without seasons

Playback

  • The function org-watchlist-play searches the current directory name in the watchlist-file
  • When found it will find the current episode by episode number and start playing using the emms-default-player
  • After finishing the said episode you can mark it done using the org-watchlist-finished function

Time cookie

  • The function org-watchlist-set-time adds the time elapsed for the show in the current directory
  • When the playback quit and started again it will start from the time when last logged (theoretically)
  • Disclaimer: org-watchlist-set-time uses the emms-playing-time variable. Meaning one must control the playback via emms. If one stops the playback using the video player (mpv or vlc for example), the variable won't stop and the time cookie won't be correct."

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK