Chrome extension and Python/flask REST API for ecologically valid QoE experiment using Netflix streaming platform.
Similiar to the YourNetflixOurLab. Includes modifications of Netflix's Cadmium Playercore script:
- changing buffer size
- enabling bitrate menu allowing manipulations of video (and audio) quality.
Frontend (Chrome extension)
- Webpack
- React
- Typescript
Backend
- Python (Flask)
- Sqlite3
- Check if your Node.js version is >= 14.
- Clone this repository.
- Go to /extension folder.
- Run
npm install
to install the dependencies. - Run
npm run build
- Load your extension on Chrome following:
- Access
chrome://extensions/
- Check
Developer mode
- Click on
Load unpacked extension
- Select the
build
folder.
- Access
- Run backend:
- cd into
backend
directory - run
python database/init.py
to initialize SQLite3 database - Create virtual environment
python -m venv venv
- Activate the python virtual environment by running OS compatible command
- Install requirements
pip install -r requirements.txt
- On macOS run
source start-mac.sh
|| on Windows.\start-windows.bat
- cd into
- Happy hacking.