Skip to content

Commit

Permalink
Made project folder for neatness
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayzels committed Oct 12, 2020
1 parent f5130b4 commit 8db8429
Show file tree
Hide file tree
Showing 70 changed files with 15 additions and 10 deletions.
7 changes: 0 additions & 7 deletions gui/__init__.py

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion actions/actions.py → music_modify/actions/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def add_discogs_tags(response: requests.Response,

# region Excel Actions
tag_workbook = openpyxl.load_workbook(
Path.cwd()/Path('excel', 'excel_current_info.xlsx'))
Path.cwd()/Path('music_modify', 'excel', 'excel_current_info.xlsx'))


def _add_values_to_sheet(tag: SongTag,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_discogs_artist_mappings() -> pd.core.frame.DataFrame:
pd.core.frame.DataFrame
DataFrame of the download excel file that stores discogs mappings.
"""
excel_file = Path.cwd()/Path('excel', 'download_discogs_mappings.xlsx')
excel_file = Path.cwd()/Path("music_modify", 'excel', 'download_discogs_mappings.xlsx')
dataframe_orig = pd.read_excel(excel_file, index_col=0)
dataframe_orig.index = dataframe_orig.index.str.lower()
return dataframe_orig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_lastfm_mappings() -> pd.core.frame.DataFrame:
pd.core.frame.DataFrame
Dataframe of mappings for Last.fm tags
"""
excel_file = Path.cwd()/Path("excel", "download_lastfm_mappings.xlsx")
excel_file = Path.cwd()/Path("music_modify", "excel", "download_lastfm_mappings.xlsx")
dataframe = pd.read_excel(str(excel_file))
for column in list(dataframe):
dataframe[column] = dataframe[column].str.split('; ')
Expand Down
12 changes: 12 additions & 0 deletions music_modify/gui/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""Add this folder to the path, so that resources are accessible.
"""
import sys
from pathlib import Path

# PATH_TO_ADD = str(Path(Path.cwd(), 'src', 'gui'))
# sys.path.append(PATH_TO_ADD)

# from . import resources_rc

PATH_TO_ADD = r"C:\Users\Kyzan\Desktop\Music Modify 4\music_modify\gui"
sys.path.append(PATH_TO_ADD)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added music_modify/utils/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.

0 comments on commit 8db8429

Please sign in to comment.