Skip to content

Commit

Permalink
don't launch gui if there are options passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
Egezenn committed Dec 15, 2024
1 parent 2b8872c commit 21a209b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"MD013": false,
"MD033": false
}
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# YTMASC

<a href="#"><img alt="horrible orange triangle" style="padding-left:20px;" align="left" src="assets/icon.svg"></a>

YTMASC(**Y**ou**T**ube **M**usic **A**udio **S**craper & syn**C**hronizer) in a nutshell, aims to get your music library off of YouTube and provide you an offline backup of it along with other maintenance niceties.

Grab the latest alpha version [here](https://github.com/Egezenn/YTMASC/releases)!

It's features are:

- Scraping your library page from YouTube
- Importing favorites from a [RiMusic](https://github.com/fast4x/RiMusic) database
- Import a CSV of your own (columns are: `ID`, `artist`, `title`)
- Maintaining a data file for your music for an easily reproducible collection
- Automatic downloading, converting and tagging
- Some helper functions to modify your data file easier and for easy migration
Expand All @@ -27,7 +32,7 @@ The project just keeps expanding as I learn more stuff and want to implement nic
- You need `python3.11`, `ffmpeg` and `python3-tk` packages.
- You can run `linuxpkgRequirements.sh` via the terminal.

### I.C Required python packages
### I.C Required python packages to run from source

- Run `pip install -r requirements.txt` command via the terminal.

Expand Down
9 changes: 8 additions & 1 deletion ytmasc/intermediates_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,14 @@ def handle_cli(args: classmethod):
handle_settings(args)

else:
create_gui()
if not (
args.update_library_with_manual_changes_on_files
or args.export_library_as_csv
or args.import_csv_to_library
or args.update_tags
or args.db_compare
):
create_gui()

if args.update_library_with_manual_changes_on_files:
update_library_with_manual_changes_on_files()
Expand Down

0 comments on commit 21a209b

Please sign in to comment.