1. 01 Apr, 2018 1 commit
    • Matt Mascarenhas's avatar
      cinera.c: Support private videos · 33cbb5b0
      Matt Mascarenhas authored
      It merely checks the video's privacy status and, if not public, records
      its corresponding HMML base filename privately in the .metadata without
      generating a player page or a search / table of contents entry for it.
      Every four hours it will loop over the .metadata to recheck the privacy
      status of any privately recorded entries, and process newly public ones.
      Fix template validation to check that the script comes after both the
      player and menus (previously it only specified the player).
      Fix relocation code to try and remove only the child directories of the
      BaseDir, and no shallower (previously it would try and "recursively"
      remove directories all the way back to /, obviously not actually getting
      there because it would encounter a non-empty directory along the way).
      Add "Modes" to the startup printout.
          -g Ignore privacy status
  2. 23 Mar, 2018 1 commit
  3. 06 Mar, 2018 1 commit
    • Matt Mascarenhas's avatar
      cinera.c: Binary search the .metadata · de2c6328
      Matt Mascarenhas authored
      Also optimise out superfluous searches, and relieve IndexToBuffer() of
      the need to string-search the .index
      Rewrite the table of contents page after deleting an entry
      This commit also retains profiling, as a reminder to me how I used it,
      and the old linear search code. The timing blocks and the old code may
      be deleted in a future commit
  4. 28 Feb, 2018 1 commit
    • Matt Mascarenhas's avatar
      cinera_player_pre.js: Reenable YT interaction · ab598e37
      Matt Mascarenhas authored
      Essentially, the previous change prevented the marker progress code from
      firing if the user only interacts with the YouTube player directly.
      cinera.c: Try to curl the quotes in, rather than straight up deleting
      them, if(ShouldFetchQuotes)
  5. 27 Feb, 2018 1 commit
    • Matt Mascarenhas's avatar
      cinera.css: Marker and categories style · e7aefbad
      Matt Mascarenhas authored
      cinera_player_pre.js: Episode keyboard navigation. Also swap out A for
      K, and D for J
      cinera_player_pre.js: Handle the case in onRefChanged() in which the
      filter_container or filterState is not present
      cinera.c: Refetch quotes when processing a set of annotations >60 mins
      after the last fetch
          -w Force quote cache rebuild
  6. 23 Feb, 2018 1 commit
    • Matt Mascarenhas's avatar
      cinera.c: Add <!-- __CINERA_CUSTOMn__--> tags · 2cac3ed0
      Matt Mascarenhas authored
      Also compress the template code
      cinera_player_pre.js: Fix bug in which onRefChanged() tried to call
      player.jumpToNextMarker(); before the player was ready. This could
      happen if its first marker's timecode is 0:00 and medium is :afk
      Enable Theatre mode to work in containers styled with max-width or
  7. 21 Feb, 2018 1 commit
    • Matt Mascarenhas's avatar
      cinera.c: Prev / Next Episode Links · c5bc4873
      Matt Mascarenhas authored
      Also fix the inotify loop, augment the index (the .metadata files) to
      contain data useful for insobot, and futureproof UpgradeDB()
          * -e Examine Index
              Just pop an -e on the end of your usual list of flags
          * -u Update Interval (was -U)
  8. 12 Feb, 2018 1 commit
  9. 05 Feb, 2018 1 commit
  10. 04 Feb, 2018 2 commits
  11. 28 Jan, 2018 1 commit
  12. 21 Jan, 2018 2 commits
  13. 17 Jan, 2018 1 commit
  14. 15 Jan, 2018 1 commit
    • Matt Mascarenhas's avatar
      cinera: Theatre Mode · f270ee2a
      Matt Mascarenhas authored
      This also changes the hardcoded, unintegrated output to wrap cineraMenus
      and cineraPlayerContainer in a <div>, as newly reflected in the example
  15. 14 Jan, 2018 1 commit
  16. 12 Jan, 2018 1 commit
  17. 08 Jan, 2018 2 commits
  18. 05 Jan, 2018 3 commits
  19. 04 Jan, 2018 1 commit
  20. 03 Jan, 2018 1 commit
    • Matt Mascarenhas's avatar
      cinera.c: Video-specific medium and template · 8f37ce0b
      Matt Mascarenhas authored
      Remove environment variable CINERA_INTEGRATE because this is meaningless
      now that the default template locations are blank
          -t Template Directory (was Player Template Location)
          -y Player Template Location
      Bug Fixes
          Correctly skip annotation sets that couldn't be processed for
          various reasons
          Fix crash caused by <!-- __CINERA_INDEX__ --> tag in a player
          template, because its buffer was being freed
          Fix 2048 bytes leak per processed set of annotations
  21. 29 Dec, 2017 1 commit
  22. 24 Dec, 2017 1 commit
  23. 23 Dec, 2017 1 commit
  24. 18 Dec, 2017 2 commits
    • Matt Mascarenhas's avatar
      cinera.c: Support a combination of modes · 120290b3
      Matt Mascarenhas authored
      Specifically, with the addition of MODE_ONESHOT in v0.5.12 we must allow
      for the possibility of being in both that mode and MODE_INTEGRATE
    • Matt Mascarenhas's avatar
      cinera.c: Add -q flag · 4a954b6a
      Matt Mascarenhas authored
      This sets cinera to "oneshot mode" which makes a Project Edition instance
      quit after syncing from annotation files in project input directory
  25. 17 Dec, 2017 2 commits
  26. 12 Dec, 2017 1 commit
    • Matt Mascarenhas's avatar
      cinera: Allow custom output paths · 0aa585a1
      Matt Mascarenhas authored
      Relative to the Base:
          -a sets the player location
          -n sets the index location
      Tweak flags, and add -B to set Base URL (necessary if setting -a or -n)
      New template tags:
      Bump DB version: 2
          index_header now contains the Index and Player Locations
  27. 10 Dec, 2017 2 commits
  28. 09 Dec, 2017 1 commit
  29. 07 Dec, 2017 1 commit
    • Matt Mascarenhas's avatar
      cinera.c: Add support for alternative URL prefixes · 6f751dd2
      Matt Mascarenhas authored
      This is hardcoded for now, for ease of use, pending the config system
      Also add Medium to the ProjectInfo array, to save users having to set
      this with -m (which option remains available to them)
      Reorganise the CSS, Images and JS files back to their location in the
      same directory, since a default invocation of the program assumes they
      are in the same directory as the Root Directory, to hopefully alleviate
      some potential user frustration thanks to the requirement to set their
      locations (with -c, -i and -j) before any usable output is produced
  30. 06 Dec, 2017 1 commit
  31. 03 Dec, 2017 2 commits