fix name wrong

This commit is contained in:
2023-06-07 19:59:35 +02:00
parent d19435277f
commit bb44362a3e
15 changed files with 44 additions and 47 deletions

2
.gitignore vendored
View File

@@ -1,5 +1,5 @@
#
# FSRSimpleMediaScalerLiteFrontend - .gitignore
# FSRSimpleMediaUpscalerLiteFrontend - .gitignore
#
# Created by Janis Hutz 05/24/2023, Licensed under the GPL V3 License
# https://janishutz.com, development@janishutz.com

View File

@@ -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
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 is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.

View File

@@ -1,32 +1,29 @@
<div id="title" align="center">
<img src="./logo.png" width="300">
<h1>SimpleMediaScalerLiteFrontend</h1>
<h1>SimpleMediaUpscalerLiteFrontend</h1>
</div>
<div id="badges" align="center">
<img src="https://img.shields.io/github/license/simplePCBuilding/SimpleMediaScalerLite.svg">
<img src="https://img.shields.io/github/repo-size/simplePCBuilding/SimpleMediaScalerLite.svg">
<img src="https://img.shields.io/tokei/lines/github/simplePCBuilding/SimpleMediaScalerLite">
<img src="https://img.shields.io/github/languages/top/simplePCBuilding/SimpleMediaScalerLite">
<img src="https://img.shields.io/github/directory-file-count/simplePCBuilding/SimpleMediaScalerLite.svg">
<img src="https://img.shields.io/github/license/simplePCBuilding/SimpleMediaUpscalerLite.svg">
<img src="https://img.shields.io/github/repo-size/simplePCBuilding/SimpleMediaUpscalerLite.svg">
<img src="https://img.shields.io/tokei/lines/github/simplePCBuilding/SimpleMediaUpscalerLite">
<img src="https://img.shields.io/github/languages/top/simplePCBuilding/SimpleMediaUpscalerLite">
<img src="https://img.shields.io/github/directory-file-count/simplePCBuilding/SimpleMediaUpscalerLite.svg">
<br>
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/simplePCBuilding/SimpleMediaScalerLite">
<img alt="GitHub watchers" src="https://img.shields.io/github/watchers/simplePCBuilding/SimpleMediaScalerLite">
<img src="https://img.shields.io/github/issues-pr-raw/simplePCBuilding/SimpleMediaScalerLite">
<img alt="GitHub forks" src="https://img.shields.io/github/forks/simplePCBuilding/SimpleMediaScalerLite">
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/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/SimpleMediaUpscalerLite">
<img src="https://img.shields.io/github/issues-pr-raw/simplePCBuilding/SimpleMediaUpscalerLite">
<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/SimpleMediaUpscalerLite">
<br>
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/simplePCBuilding/SimpleMediaScalerLite/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 src="https://img.shields.io/github/release/simplePCBuilding/SimpleMediaScalerLite.svg">
<img src="https://img.shields.io/github/package-json/v/simplePCBuilding/SimpleMediaScalerLite.svg?label=Development Version">
<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/SimpleMediaUpscalerLite/latest/total?label=Downloads (latest)">
<img src="https://img.shields.io/github/release/simplePCBuilding/SimpleMediaUpscalerLite.svg">
<img src="https://img.shields.io/github/package-json/v/simplePCBuilding/SimpleMediaUpscalerLite.svg?label=Development Version">
</div>
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
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.
@@ -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.
```
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:
-h, --help show this help message and exit

View File

@@ -1,5 +1,5 @@
'''
* FSRSimpleMediaScalerLiteFrontend - handler.py
* FSRSimpleMediaUpscalerLiteFrontend - handler.py
*
* Created by Janis Hutz 03/14/2023, Licensed under the GPL V3 License
* 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 ):
# 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':
self.tmppath = tempfile.gettempdir()

View File

@@ -1,5 +1,5 @@
"""
* SimpleMediaScalerLite - pluginDownloader.py
* SimpleMediaUpscalerLite - pluginDownloader.py
*
* Created by Janis Hutz 05/31/2023, Licensed under the GPL V3 License
* https://janishutz.com, development@janishutz.com

View File

@@ -1,5 +1,5 @@
[PathSettings]
defaultOutputPath = $HOME/FSRSimpleMediaScalerLite/
defaultOutputPath = $HOME/FSRSimpleMediaUpscalerLite/
[DevSettings]
loggerReqLevel = DEBUG

View File

@@ -1,4 +1,4 @@
# SimpleMediaScalerLite
# SimpleMediaUpscalerLite
## Project setup
```

View File

@@ -1,11 +1,11 @@
{
"name": "SimpleMediaScalerLite",
"name": "SimpleMediaUpscalerLite",
"version": "2.0.0-dev1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "SimpleMediaScalerLite",
"name": "SimpleMediaUpscalerLite",
"version": "2.0.0-dev1",
"hasInstallScript": true,
"license": "GPL-3.0-or-later",

View File

@@ -1,10 +1,10 @@
{
"name": "SimpleMediaScalerLite",
"name": "SimpleMediaUpscalerLite",
"version": "2.0.0-dev1",
"maintainers": [
"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",
"author": {
"name": "Janis Hutz",
@@ -13,7 +13,7 @@
},
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/simplePCBuilding/FSRSimpleMediaScalerLiteFrontend/issues"
"url": "https://github.com/simplePCBuilding/FSRSimpleMediaUpscalerLiteFrontend/issues"
},
"private": true,
"scripts": {

View File

@@ -1,5 +1,5 @@
/*
* SimpleMediaScalerLite - upscalingHandler.js
* SimpleMediaUpscalerLite - upscalingHandler.js
*
* Created by Janis Hutz 06/03/2023, Licensed under the GPL V3 License
* https://janishutz.com, development@janishutz.com
@@ -56,12 +56,12 @@ class UpscalingHandler {
child.on( 'error', ( error ) => {
console.log( 'An error occurred' + error );
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 ) => {
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();
} );
}

View File

@@ -1,8 +1,8 @@
<template>
<div class="about">
<img src="@/assets/logo.png">
<h1>About SimpleMediaScalerLite</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>
<h1>About SimpleMediaUpscalerLite</h1>
<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">
<h3>You are currently running version {{ appVersion }}. {{ versionNotice[ isUpToDate ] }}.</h3>
</div>
@@ -20,7 +20,7 @@ export default {
}
},
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 => {
this.latestVersion = data.tag_name;
if ( data.tag_name != this.appVersion ) {

View File

@@ -1,6 +1,6 @@
<template>
<div class="home">
<h1>SimpleMediaScalerLite</h1>
<h1>SimpleMediaUpscalerLite</h1>
<div class="table-container">
<table>
<tr id="group1" class="group">

View File

@@ -1,5 +1,5 @@
{
"name": "SimpleMediaScalerLite",
"name": "SimpleMediaUpscalerLite",
"version": "2.0.0",
"description": "A frontend to upscale your videos and images using different upscale engines",
"main": "index.js",
@@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/simplePCBuilding/FSRSimpleMediaScalerLiteFrontend.git"
"url": "git+https://github.com/simplePCBuilding/FSRSimpleMediaUpscalerLiteFrontend.git"
},
"keywords": [
"upscaler",
@@ -21,8 +21,8 @@
"author": "Janis Hutz",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/simplePCBuilding/FSRSimpleMediaScalerLiteFrontend/issues",
"url": "https://github.com/simplePCBuilding/FSRSimpleMediaUpscalerLiteFrontend/issues",
"email": "development@janishutz.com"
},
"homepage": "https://github.com/simplePCBuilding/FSRSimpleMediaScalerLiteFrontend#readme"
"homepage": "https://github.com/simplePCBuilding/FSRSimpleMediaUpscalerLiteFrontend#readme"
}

View File

@@ -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
* https://janishutz.com, development@janishutz.com
@@ -116,7 +116,7 @@ def performChecks ( args, ap ):
print( '\n\n' )
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( '-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' )
@@ -149,4 +149,4 @@ if __name__ == '__main__':
mode = option
break
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' )

View File

@@ -1,4 +1,4 @@
# Writing plugins for SimpleMediaScalerLite
# Writing plugins for SimpleMediaUpscalerLite
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.