mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GMG-Devel] GSOC 2016 : Subtitle Interface along with keyboard hotkeys f


From: Saksham Agrawal
Subject: [GMG-Devel] GSOC 2016 : Subtitle Interface along with keyboard hotkeys for video player (Review)
Date: Thu, 18 Aug 2016 04:12:37 +0530

Hey

This year’s chapter of Google Summer of Code is ending on 24th August 2016. I was a GSoC intern for GNU Mediagoblin and it has been an awesome experience working with all of you..


I would like to document what all I did in the internship period. Following is a brief outline and description of the work done in the past 3 months.


The coding part of the project was done in 3 phases:


  1. Subtitle Upload Interface: This was built the same way the attachment feature of mediagoblin is built. This helps to upload the subtitle file for the video. Only the video uploader can upload the subtitles and the extension of the subtitles that are to be uploaded has to be valid subtitle extension.

  2. Subtitle Customize Interface:  This is a new addition. The user can edit the subtitle they have uploaded for the video. The changes are saved to the subtitle file. Again the video uploader can only access this interface.

  3. Making a.) and b.) a plugin: Initially (a) and (b) were a part of the core code but then it was converted as a plugin.


The files which were added during the period to the codebase (For subtitle upload and customization ) are as follows:


mediagoblin/plugins/subtitles/__init__.py : Contains plugin initialization, template hooks and routes.

mediagoblin/plugins/subtitles/forms.py : Form for subtitle upload and customizing subtitle.

mediagoblin/plugins/subtitles/models.py : Contains models for subtitles.

mediagoblin/plugins/subtitles/tools.py : Tools for opening and saving subtitles.

mediagoblin/plugins/subtitles/views.py : Contains views used to upload and customize subtitles.

mediagoblin/plugins/subtitles/templates/ : Contains the templates made for subtitles.

mediagoblin/tests/test_subtitles.py : Contains the tests written for subtitles.


All the work done is available and can be viewed on the following link also  : https://notabug.org/saksham1115/mediagoblin/commits/Subtitle-1 ( from 8c36ec5246 to 7ab1801978 and maybe further, if time left ). All the changes were made in the “Subtitle-1” branch.


Regards,

saksham1115



reply via email to

[Prev in Thread] Current Thread [Next in Thread]