fix name wrong
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# FSRSimpleMediaScalerLiteFrontend - .gitignore
|
# FSRSimpleMediaUpscalerLiteFrontend - .gitignore
|
||||||
#
|
#
|
||||||
# Created by Janis Hutz 05/24/2023, Licensed under the GPL V3 License
|
# Created by Janis Hutz 05/24/2023, Licensed under the GPL V3 License
|
||||||
# https://janishutz.com, development@janishutz.com
|
# https://janishutz.com, development@janishutz.com
|
||||||
|
|||||||
2
LICENSE
2
LICENSE
@@ -653,7 +653,7 @@ Also add information on how to contact you by electronic and paper mail.
|
|||||||
If the program does terminal interaction, make it output a short
|
If the program does terminal interaction, make it output a short
|
||||||
notice like this when it starts in an interactive mode:
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
SimpleMediaScalerLiteFrontend Copyright (C) 2023 Janis Hutz
|
SimpleMediaUpscalerLiteFrontend Copyright (C) 2023 Janis Hutz
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
|
|||||||
37
README.md
37
README.md
@@ -1,32 +1,29 @@
|
|||||||
<div id="title" align="center">
|
<div id="title" align="center">
|
||||||
<img src="./logo.png" width="300">
|
<img src="./logo.png" width="300">
|
||||||
<h1>SimpleMediaScalerLiteFrontend</h1>
|
<h1>SimpleMediaUpscalerLiteFrontend</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="badges" align="center">
|
<div id="badges" align="center">
|
||||||
<img src="https://img.shields.io/github/license/simplePCBuilding/SimpleMediaScalerLite.svg">
|
<img src="https://img.shields.io/github/license/simplePCBuilding/SimpleMediaUpscalerLite.svg">
|
||||||
<img src="https://img.shields.io/github/repo-size/simplePCBuilding/SimpleMediaScalerLite.svg">
|
<img src="https://img.shields.io/github/repo-size/simplePCBuilding/SimpleMediaUpscalerLite.svg">
|
||||||
<img src="https://img.shields.io/tokei/lines/github/simplePCBuilding/SimpleMediaScalerLite">
|
<img src="https://img.shields.io/tokei/lines/github/simplePCBuilding/SimpleMediaUpscalerLite">
|
||||||
<img src="https://img.shields.io/github/languages/top/simplePCBuilding/SimpleMediaScalerLite">
|
<img src="https://img.shields.io/github/languages/top/simplePCBuilding/SimpleMediaUpscalerLite">
|
||||||
<img src="https://img.shields.io/github/directory-file-count/simplePCBuilding/SimpleMediaScalerLite.svg">
|
<img src="https://img.shields.io/github/directory-file-count/simplePCBuilding/SimpleMediaUpscalerLite.svg">
|
||||||
<br>
|
<br>
|
||||||
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/simplePCBuilding/SimpleMediaScalerLite">
|
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/simplePCBuilding/SimpleMediaUpscalerLite">
|
||||||
<img alt="GitHub watchers" src="https://img.shields.io/github/watchers/simplePCBuilding/SimpleMediaScalerLite">
|
<img alt="GitHub watchers" src="https://img.shields.io/github/watchers/simplePCBuilding/SimpleMediaUpscalerLite">
|
||||||
<img src="https://img.shields.io/github/issues-pr-raw/simplePCBuilding/SimpleMediaScalerLite">
|
<img src="https://img.shields.io/github/issues-pr-raw/simplePCBuilding/SimpleMediaUpscalerLite">
|
||||||
<img alt="GitHub forks" src="https://img.shields.io/github/forks/simplePCBuilding/SimpleMediaScalerLite">
|
<img alt="GitHub forks" src="https://img.shields.io/github/forks/simplePCBuilding/SimpleMediaUpscalerLite">
|
||||||
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/simplePCBuilding/SimpleMediaScalerLite">
|
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/simplePCBuilding/SimpleMediaUpscalerLite">
|
||||||
<br>
|
<br>
|
||||||
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/simplePCBuilding/SimpleMediaScalerLite/total?label=Downloads (total)">
|
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/simplePCBuilding/SimpleMediaUpscalerLite/total?label=Downloads (total)">
|
||||||
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/downloads/simplePCBuilding/SimpleMediaScalerLite/latest/total?label=Downloads (latest)">
|
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/downloads/simplePCBuilding/SimpleMediaUpscalerLite/latest/total?label=Downloads (latest)">
|
||||||
<img src="https://img.shields.io/github/release/simplePCBuilding/SimpleMediaScalerLite.svg">
|
<img src="https://img.shields.io/github/release/simplePCBuilding/SimpleMediaUpscalerLite.svg">
|
||||||
<img src="https://img.shields.io/github/package-json/v/simplePCBuilding/SimpleMediaScalerLite.svg?label=Development Version">
|
<img src="https://img.shields.io/github/package-json/v/simplePCBuilding/SimpleMediaUpscalerLite.svg?label=Development Version">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
An Electron App with Python CLI to upscale images and videos using multiple different upscaling engines.
|
An Electron App with Python CLI to upscale images and videos using multiple different upscaling engines.
|
||||||
|
|
||||||
# NEW NAME & LOGO NEEDED!
|
|
||||||
If you have suggestions for a name, please let us know [here](https://github.com/simplePCBuilding/SimpleMediaScalerLite/issues/16). If you want to contribute a new logo, please open a PR and add it, or just let us know in the beforementioned issue.
|
|
||||||
|
|
||||||
# Functionality
|
# Functionality
|
||||||
This app allows you to fully automatically upscale a single file or a full on folder with one of many different engines.
|
This app allows you to fully automatically upscale a single file or a full on folder with one of many different engines.
|
||||||
- Choose an input & output file from a GUI filemanager.
|
- Choose an input & output file from a GUI filemanager.
|
||||||
@@ -44,9 +41,9 @@ This app allows you to fully automatically upscale a single file or a full on fo
|
|||||||
|
|
||||||
This App also features a CLI interface.
|
This App also features a CLI interface.
|
||||||
```
|
```
|
||||||
usage: SimpleMediaScalerLite-cli.py [-h] [-i INPUTFILE] [-o OUTPUTFILE] [-s SCALEFACTOR] [-S SHARPENING] [-T THREADS] [-E ENGINE] [-M MODE] [-F FILETYPE] [-d DETAILS] [-p] [-v]
|
usage: SimpleMediaUpscalerLite-cli.py [-h] [-i INPUTFILE] [-o OUTPUTFILE] [-s SCALEFACTOR] [-S SHARPENING] [-T THREADS] [-E ENGINE] [-M MODE] [-F FILETYPE] [-d DETAILS] [-p] [-v]
|
||||||
|
|
||||||
SimpleMediaScalerLite - CLI, a CLI application to upscale videos and images using different upscaling engines.
|
SimpleMediaUpscalerLite - CLI, a CLI application to upscale videos and images using different upscaling engines.
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
'''
|
'''
|
||||||
* FSRSimpleMediaScalerLiteFrontend - handler.py
|
* FSRSimpleMediaUpscalerLiteFrontend - handler.py
|
||||||
*
|
*
|
||||||
* Created by Janis Hutz 03/14/2023, Licensed under the GPL V3 License
|
* Created by Janis Hutz 03/14/2023, Licensed under the GPL V3 License
|
||||||
* https://janishutz.com, development@janishutz.com
|
* https://janishutz.com, development@janishutz.com
|
||||||
@@ -48,7 +48,7 @@ class Handler:
|
|||||||
|
|
||||||
def handler( self, filepath, scalefactor, output_path, sharpening, filetype, engine, mode, threads=4 ):
|
def handler( self, filepath, scalefactor, output_path, sharpening, filetype, engine, mode, threads=4 ):
|
||||||
# Function to be called when using this class as this function automatically determines if file is video or image
|
# Function to be called when using this class as this function automatically determines if file is video or image
|
||||||
print( '\n\n SimpleMediaScalerLite - V1.1.0\n\n(c) 2023 SimpleMediaScalerLite contributors\n\n\n\n' );
|
print( '\n\n SimpleMediaUpscalerLite - V1.1.0\n\n(c) 2023 SimpleMediaUpscalerLite contributors\n\n\n\n' );
|
||||||
|
|
||||||
if self.os_type == 'linux':
|
if self.os_type == 'linux':
|
||||||
self.tmppath = tempfile.gettempdir()
|
self.tmppath = tempfile.gettempdir()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
* SimpleMediaScalerLite - pluginDownloader.py
|
* SimpleMediaUpscalerLite - pluginDownloader.py
|
||||||
*
|
*
|
||||||
* Created by Janis Hutz 05/31/2023, Licensed under the GPL V3 License
|
* Created by Janis Hutz 05/31/2023, Licensed under the GPL V3 License
|
||||||
* https://janishutz.com, development@janishutz.com
|
* https://janishutz.com, development@janishutz.com
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[PathSettings]
|
[PathSettings]
|
||||||
defaultOutputPath = $HOME/FSRSimpleMediaScalerLite/
|
defaultOutputPath = $HOME/FSRSimpleMediaUpscalerLite/
|
||||||
|
|
||||||
[DevSettings]
|
[DevSettings]
|
||||||
loggerReqLevel = DEBUG
|
loggerReqLevel = DEBUG
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# SimpleMediaScalerLite
|
# SimpleMediaUpscalerLite
|
||||||
|
|
||||||
## Project setup
|
## Project setup
|
||||||
```
|
```
|
||||||
|
|||||||
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "SimpleMediaScalerLite",
|
"name": "SimpleMediaUpscalerLite",
|
||||||
"version": "2.0.0-dev1",
|
"version": "2.0.0-dev1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "SimpleMediaScalerLite",
|
"name": "SimpleMediaUpscalerLite",
|
||||||
"version": "2.0.0-dev1",
|
"version": "2.0.0-dev1",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "SimpleMediaScalerLite",
|
"name": "SimpleMediaUpscalerLite",
|
||||||
"version": "2.0.0-dev1",
|
"version": "2.0.0-dev1",
|
||||||
"maintainers": [
|
"maintainers": [
|
||||||
"Janis Hutz <development@janishutz.com>"
|
"Janis Hutz <development@janishutz.com>"
|
||||||
],
|
],
|
||||||
"description": "An Electron frontend to the SimpleMediaScalerLite-CLI",
|
"description": "An Electron frontend to the SimpleMediaUpscalerLite-CLI",
|
||||||
"homepage": "https://janishutz.com/scaler.html",
|
"homepage": "https://janishutz.com/scaler.html",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Janis Hutz",
|
"name": "Janis Hutz",
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
},
|
},
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/simplePCBuilding/FSRSimpleMediaScalerLiteFrontend/issues"
|
"url": "https://github.com/simplePCBuilding/FSRSimpleMediaUpscalerLiteFrontend/issues"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SimpleMediaScalerLite - upscalingHandler.js
|
* SimpleMediaUpscalerLite - upscalingHandler.js
|
||||||
*
|
*
|
||||||
* Created by Janis Hutz 06/03/2023, Licensed under the GPL V3 License
|
* Created by Janis Hutz 06/03/2023, Licensed under the GPL V3 License
|
||||||
* https://janishutz.com, development@janishutz.com
|
* https://janishutz.com, development@janishutz.com
|
||||||
@@ -56,12 +56,12 @@ class UpscalingHandler {
|
|||||||
child.on( 'error', ( error ) => {
|
child.on( 'error', ( error ) => {
|
||||||
console.log( 'An error occurred' + error );
|
console.log( 'An error occurred' + error );
|
||||||
win.send( 'error', 'An error occurred during upscaling. (Error message: ' + error.message + ')' );
|
win.send( 'error', 'An error occurred during upscaling. (Error message: ' + error.message + ')' );
|
||||||
new Notification( { title: `SimpleMediaScalerLite - Error whilst upscaling', body: 'Your upscaling Job encountered an error whilst upscaling. (Error message: ${ error.message }).`} ).show();
|
new Notification( { title: `SimpleMediaUpscalerLite - Error whilst upscaling', body: 'Your upscaling Job encountered an error whilst upscaling. (Error message: ${ error.message }).`} ).show();
|
||||||
} );
|
} );
|
||||||
|
|
||||||
child.on( 'close', ( code ) => {
|
child.on( 'close', ( code ) => {
|
||||||
win.send( 'finish', 'Your upscaling job finished with exit code ' + code + '. You may find its output here: ' + options.OutputFile );
|
win.send( 'finish', 'Your upscaling job finished with exit code ' + code + '. You may find its output here: ' + options.OutputFile );
|
||||||
new Notification( { title: `SimpleMediaScalerLite - Job complete', body: 'Your Upscaling job has completed successfully (Code ${ code }). You may find its output here: ` + options.OutputFile } ).show();
|
new Notification( { title: `SimpleMediaUpscalerLite - Job complete', body: 'Your Upscaling job has completed successfully (Code ${ code }). You may find its output here: ` + options.OutputFile } ).show();
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="about">
|
<div class="about">
|
||||||
<img src="@/assets/logo.png">
|
<img src="@/assets/logo.png">
|
||||||
<h1>About SimpleMediaScalerLite</h1>
|
<h1>About SimpleMediaUpscalerLite</h1>
|
||||||
<p>SimpleMediaScalerLite is an application that allows you to upscale your videos and / or images. It uses an Electron GUI (Graphical User Interface) and a Python CLI (Command Line Interface).</p>
|
<p>SimpleMediaUpscalerLite is an application that allows you to upscale your videos and / or images. It uses an Electron GUI (Graphical User Interface) and a Python CLI (Command Line Interface).</p>
|
||||||
<div class="version-info">
|
<div class="version-info">
|
||||||
<h3>You are currently running version {{ appVersion }}. {{ versionNotice[ isUpToDate ] }}.</h3>
|
<h3>You are currently running version {{ appVersion }}. {{ versionNotice[ isUpToDate ] }}.</h3>
|
||||||
</div>
|
</div>
|
||||||
@@ -20,7 +20,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
fetch( 'https://api.github.com/repos/simplePCBuilding/SimpleMediaScalerLite/releases/latest' ).then( res => {
|
fetch( 'https://api.github.com/repos/simplePCBuilding/SimpleMediaUpscalerLite/releases/latest' ).then( res => {
|
||||||
res.json().then( data => {
|
res.json().then( data => {
|
||||||
this.latestVersion = data.tag_name;
|
this.latestVersion = data.tag_name;
|
||||||
if ( data.tag_name != this.appVersion ) {
|
if ( data.tag_name != this.appVersion ) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="home">
|
<div class="home">
|
||||||
<h1>SimpleMediaScalerLite</h1>
|
<h1>SimpleMediaUpscalerLite</h1>
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<table>
|
<table>
|
||||||
<tr id="group1" class="group">
|
<tr id="group1" class="group">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "SimpleMediaScalerLite",
|
"name": "SimpleMediaUpscalerLite",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"description": "A frontend to upscale your videos and images using different upscale engines",
|
"description": "A frontend to upscale your videos and images using different upscale engines",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/simplePCBuilding/FSRSimpleMediaScalerLiteFrontend.git"
|
"url": "git+https://github.com/simplePCBuilding/FSRSimpleMediaUpscalerLiteFrontend.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"upscaler",
|
"upscaler",
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
"author": "Janis Hutz",
|
"author": "Janis Hutz",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/simplePCBuilding/FSRSimpleMediaScalerLiteFrontend/issues",
|
"url": "https://github.com/simplePCBuilding/FSRSimpleMediaUpscalerLiteFrontend/issues",
|
||||||
"email": "development@janishutz.com"
|
"email": "development@janishutz.com"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/simplePCBuilding/FSRSimpleMediaScalerLiteFrontend#readme"
|
"homepage": "https://github.com/simplePCBuilding/FSRSimpleMediaUpscalerLiteFrontend#readme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
* FSRSimpleMediaScalerLiteFrontend - fsrSimpleMediaScalerLite-cli.py
|
* FSRSimpleMediaUpscalerLiteFrontend - fsrSimpleMediaUpscalerLite-cli.py
|
||||||
*
|
*
|
||||||
* Created by Janis Hutz 03/15/2023, Licensed under the GPL V3 License
|
* Created by Janis Hutz 03/15/2023, Licensed under the GPL V3 License
|
||||||
* https://janishutz.com, development@janishutz.com
|
* https://janishutz.com, development@janishutz.com
|
||||||
@@ -116,7 +116,7 @@ def performChecks ( args, ap ):
|
|||||||
print( '\n\n' )
|
print( '\n\n' )
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
ap = argparse.ArgumentParser( description='SimpleMediaScalerLite - CLI, a CLI application to upscale videos and images using different upscaling engines.' )
|
ap = argparse.ArgumentParser( description='SimpleMediaUpscalerLite - CLI, a CLI application to upscale videos and images using different upscaling engines.' )
|
||||||
ap.add_argument( '-i', '--inputfile', help='File path for the video / image to be upscaled' )
|
ap.add_argument( '-i', '--inputfile', help='File path for the video / image to be upscaled' )
|
||||||
ap.add_argument( '-o', '--outputfile', help='Output file path for the video / image that was upscaled' )
|
ap.add_argument( '-o', '--outputfile', help='Output file path for the video / image that was upscaled' )
|
||||||
ap.add_argument( '-s', '--scalefactor', help='Scale factor for the video / image. Can be a integer from -4 to 4' )
|
ap.add_argument( '-s', '--scalefactor', help='Scale factor for the video / image. Can be a integer from -4 to 4' )
|
||||||
@@ -149,4 +149,4 @@ if __name__ == '__main__':
|
|||||||
mode = option
|
mode = option
|
||||||
break
|
break
|
||||||
if ( handler.handler( args.inputfile, args.scalefactor, output, args.sharpening, args.filetype, args.engine, mode, args.threads ) ):
|
if ( handler.handler( args.inputfile, args.scalefactor, output, args.sharpening, args.filetype, args.engine, mode, args.threads ) ):
|
||||||
print( '\n\n---------------------------------------------------------------------------------\n\nDONE \n\n\n\nSimpleMediaScalerLite V1.1.0\n\nCopyright 2023 SimpleMediaScalerLite contributors\nThis application comes with absolutely no warranty to the extent permitted by applicable law\n\n\n\nOutput was written to ' + output + '\n\n\n' )
|
print( '\n\n---------------------------------------------------------------------------------\n\nDONE \n\n\n\nSimpleMediaUpscalerLite V1.1.0\n\nCopyright 2023 SimpleMediaUpscalerLite contributors\nThis application comes with absolutely no warranty to the extent permitted by applicable law\n\n\n\nOutput was written to ' + output + '\n\n\n' )
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Writing plugins for SimpleMediaScalerLite
|
# Writing plugins for SimpleMediaUpscalerLite
|
||||||
|
|
||||||
Your plugin has to fulfill the following requirements:
|
Your plugin has to fulfill the following requirements:
|
||||||
- Name of class it exposes has to be [name of engine]Scaler. The name of the file should be just the name of the engine in all lower case.
|
- Name of class it exposes has to be [name of engine]Scaler. The name of the file should be just the name of the engine in all lower case.
|
||||||
|
|||||||
Reference in New Issue
Block a user