Skip to content

Commit 280bb4e

Browse files
authored
Version 1.0.0 (#2)
1 parent 2da220c commit 280bb4e

File tree

13 files changed

+1190
-6
lines changed

13 files changed

+1190
-6
lines changed

.gitignore

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
MANIFEST
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
.pytest_cache/
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
local_settings.py
57+
db.sqlite3
58+
59+
# Flask stuff:
60+
instance/
61+
.webassets-cache
62+
63+
# Scrapy stuff:
64+
.scrapy
65+
66+
# Sphinx documentation
67+
docs/_build/
68+
69+
# PyBuilder
70+
target/
71+
72+
# Jupyter Notebook
73+
.ipynb_checkpoints
74+
75+
# pyenv
76+
.python-version
77+
78+
# celery beat schedule file
79+
celerybeat-schedule
80+
81+
# SageMath parsed files
82+
*.sage.py
83+
84+
# Environments
85+
.env
86+
.venv
87+
env/
88+
venv/
89+
ENV/
90+
env.bak/
91+
venv.bak/
92+
lvenv/
93+
94+
# Spyder project settings
95+
.spyderproject
96+
.spyproject
97+
98+
# Rope project settings
99+
.ropeproject
100+
101+
# mkdocs documentation
102+
/site
103+
104+
# mypy
105+
.mypy_cache/
106+
107+
.idea/
108+
109+
config.yaml
110+
*.bat
111+
*.sh

.pep8speaks.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# File : .pep8speaks.yml
2+
scanner:
3+
diff_only: False
4+
5+
6+
pycodestyle:
7+
max-line-length: 120
8+
ignore:
9+
- E402 # module level import not at top of file
10+
11+
only_mention_files_with_errors: True

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FastFlix is written and maintained by Chris Griffith [email protected].

CHANGES

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Changelog
2+
---------
3+
4+
Version 1.0.0
5+
~~~~~~~~~~~~~
6+
7+
* Initial release

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2019 Chris Griffith
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,25 @@ It is designed to work with ffmpeg with x265 support or an equivalent command li
66

77
They are expected to be found via the system path or specified on startup via `FFMPEG` and `FFPROBE` env variables.
88

9-
# Installing
9+
# Releases
1010

11-
If you don't already have it, first step is to download ffmpeg.
11+
View the [releases](https://github.com/cdgriffith/FastFlix/releases) for Windows and Linux binaries (Generated via Appveyor and also [available there](https://ci.appveyor.com/project/cdgriffith/fastflix)).
1212

13-
## Windows
13+
For legal reasons the ffmpeg binary cannot be bundled with the executable and must be [separately downloaded](https://www.ffmpeg.org/download.html).
1414

15-
View the [releases](https://github.com/cdgriffith/FastFlix/releases) for prebuilt Windows binaries. For legal reasons
16-
the ffmpeg binary cannot bundled and must be [separately downloaded](https://ffmpeg.zeranoe.com/builds/).
15+
## Setting up ffmpeg
1716

18-
## Linux
17+
There are three ways provided a path to ffmpeg.
18+
19+
1. Looks in the FFMPEG and FFPROBE environment variables
20+
2. Looks on the system PATH to see if it is already available
21+
3. Manually link to the directory housing the binary files via the GUI
22+
23+
## Running the code locally
24+
25+
Requires Python 3.6 or greater.
26+
27+
Download and extract the [latest zip](https://github.com/cdgriffith/FastFlix/archive/master.zip). Then run the following.
1928

2029
```
2130
pip install requirements.txt

appveyor.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
version: 1.0.0-{build}
2+
3+
skip_commits:
4+
files:
5+
- data/*
6+
- README.md
7+
- AUTHORS
8+
- CHANGES
9+
- LICENSE
10+
- .gitignore
11+
- .pip8speaks.yml
12+
message: /\[skip ci\]/
13+
14+
15+
image:
16+
- Ubuntu1804
17+
- Visual Studio 2017
18+
19+
platform: x64
20+
21+
branches:
22+
only:
23+
- master
24+
- build
25+
26+
install:
27+
- cmd: C:\Python36-x64\python -m pip install --upgrade pip setuptools --ignore-installed
28+
- cmd: C:\Python36-x64\python -m pip install -r requirements.txt
29+
- sh: sudo apt install python3-pip -y
30+
- sh: sudo python3.6 -m pip install --upgrade pip setuptools --ignore-installed --no-cache-dir
31+
- sh: sudo python3.6 -m pip install -r requirements.txt --no-cache-dir --progress-bar off
32+
33+
34+
build_script:
35+
- cmd: C:\Python36-x64\Scripts\pyinstaller --add-data "data\icon.ico;data" --paths "C:\Python36-x64\Lib\site-packages\shiboken2" --noconsole flix\gui.py --icon data\icon.ico --name FastFlix --clean --onefile
36+
- sh: pyinstaller --add-data "data/icon.ico:data/" --noconsole flix/gui.py --icon data/icon.ico --name FastFlix --clean --onefile
37+
38+
test: off
39+
40+
artifacts:
41+
- path: dist\*

data/icon.ico

264 KB
Binary file not shown.

flix/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from flix.flix import *

flix/__main__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from flix.gui import main
2+
3+
main()

0 commit comments

Comments
 (0)