following class naming convention ()
This commit is contained in:
parent
0893923523
commit
2f90deae12
|
@ -15,7 +15,7 @@ import src.trailers as trailers
|
|||
import src.id_fix as id_fix
|
||||
|
||||
|
||||
class Interface():
|
||||
class Interface:
|
||||
""" creating and removing the menu """
|
||||
|
||||
CONFIG = get_config()
|
||||
|
|
|
@ -9,7 +9,7 @@ import requests
|
|||
from src.config import get_config
|
||||
|
||||
|
||||
class DatabaseExport():
|
||||
class DatabaseExport:
|
||||
""" saves database to CSV """
|
||||
|
||||
CONFIG = get_config()
|
||||
|
@ -100,7 +100,7 @@ class DatabaseExport():
|
|||
f.write(line + '\n')
|
||||
|
||||
|
||||
class ListParser():
|
||||
class ListParser:
|
||||
""" static parse the lists from DatabaseExport """
|
||||
|
||||
@staticmethod
|
||||
|
|
|
@ -10,7 +10,7 @@ import requests
|
|||
from src.config import get_config
|
||||
|
||||
|
||||
class MovieNameFix():
|
||||
class MovieNameFix:
|
||||
""" check movie names in library and
|
||||
rename if premiere date doesn't match with filename """
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import requests
|
|||
from src.config import get_config
|
||||
|
||||
|
||||
class MovieHandler():
|
||||
class MovieHandler:
|
||||
""" handler for moving files around """
|
||||
|
||||
CONFIG = get_config()
|
||||
|
@ -125,7 +125,7 @@ class MovieHandler():
|
|||
os.rename(old_path, new_path)
|
||||
|
||||
|
||||
class MovieIdentify():
|
||||
class MovieIdentify:
|
||||
""" describes and identifies a single movie """
|
||||
|
||||
CONFIG = get_config()
|
||||
|
|
|
@ -11,7 +11,7 @@ import youtube_dl
|
|||
from src.config import get_config
|
||||
|
||||
|
||||
class TrailerHandler():
|
||||
class TrailerHandler:
|
||||
""" holds the trailers """
|
||||
|
||||
CONFIG = get_config()
|
||||
|
|
|
@ -11,7 +11,7 @@ import requests
|
|||
from src.config import get_config
|
||||
|
||||
|
||||
class Static():
|
||||
class Static:
|
||||
""" staticmethods collection used from EpisodeIdentify """
|
||||
|
||||
@staticmethod
|
||||
|
@ -106,7 +106,7 @@ class Static():
|
|||
return request
|
||||
|
||||
|
||||
class Episode():
|
||||
class Episode:
|
||||
""" describes single episode """
|
||||
|
||||
def __init__(self, filename, discovered):
|
||||
|
@ -275,7 +275,7 @@ class Episode():
|
|||
return season, episode, episode_name
|
||||
|
||||
|
||||
class TvHandler():
|
||||
class TvHandler:
|
||||
""" handles the tv sort classes """
|
||||
|
||||
CONFIG = get_config()
|
||||
|
|
Loading…
Reference in New Issue