Skip to content

Commit

Permalink
PyQt GUI (#526)
Browse files Browse the repository at this point in the history
* Add files via upload

* Update setup.py

* added gui command

* Who messed with this?

* PEP - fix

* fixes for gui

* Update gui.py

* Update gui.py

* Update gui.py

* Update gui.py

* Update gui.py

* bugfix for search

* Added Default, Lagrad and Iggy theme

At the moment in the code until we get other people's theme to use.

* placeholder image in here until we officially get one

* Fix default player (#5)

* Update config.py

* Update gui.py

* updated laggy theme

* Red theme (#6)

* Red theme

This needs testing

* Update gui.py

* Update gui.py

* Update gui.py (#7)

* added cancel button

* Update gui.py

* No more downloading when downloading

* Move pyqt dependency and autopep8 (#8)

* move pyQt to extras_require

* This was Blatzar's job😭😭😭😭

* Nicer generation of the themes courtesy of Red

* Some more nicer stuff

* Update gui.py

Co-authored-by: Arjix <[email protected]>
Co-authored-by: Blatzar <[email protected]>
Co-authored-by: Blatzar <[email protected]>
Co-authored-by: AbdullahM0hamed <[email protected]>
  • Loading branch information
5 people authored Oct 16, 2020
1 parent 64e9313 commit 1e8b013
Show file tree
Hide file tree
Showing 5 changed files with 496 additions and 1 deletion.
6 changes: 6 additions & 0 deletions anime_downloader/commands/gui.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import click


@click.command()
def command():
import anime_downloader.gui
6 changes: 5 additions & 1 deletion anime_downloader/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
'provider': 'twist.moe',
'autoplay_next': True
},
'gui': {
'player': 'mpv'
},
'siteconfig': {
'animefrenzy': {
'version': 'subbed'
Expand Down Expand Up @@ -267,7 +270,8 @@ def _read_config(self):
try:
conf = json.load(configfile)
except:
raise SyntaxWarning('The config file is not correctly formatted')
raise SyntaxWarning(
'The config file is not correctly formatted')
return conf

def _write_default_config(self):
Expand Down
Loading

0 comments on commit 1e8b013

Please sign in to comment.