diff --git a/README.md b/README.md index 1133f87..89934f4 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ from yaasr.recorder.stream import YStream from yaasr.processors.audio.reduce import reformat from yaasr.processors.archive.google_drive import upload_to_google_cloud_storage +# os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "google-cloud-storage-credential.json" ys = YStream('radio-universidad-cordoba-argentina') ys.load() diff --git a/yaasr/__init__.py b/yaasr/__init__.py index d980ea3..867bdd4 100644 --- a/yaasr/__init__.py +++ b/yaasr/__init__.py @@ -1,7 +1,7 @@ import os -__VERSION__ = '0.3.4' +__VERSION__ = '0.3.5' BASE_FOLDER = os.path.dirname(__file__) STREAMS_FOLDER = os.path.join(BASE_FOLDER, "streams") diff --git a/yaasr/processors/archive/__init__.py b/yaasr/processors/archive/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/yaasr/processors/archive/google_drive.py b/yaasr/processors/archive/google_drive.py index 2f7edbb..4e03b29 100644 --- a/yaasr/processors/archive/google_drive.py +++ b/yaasr/processors/archive/google_drive.py @@ -4,7 +4,8 @@ logger = logging.getLogger(__name__) -os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "yaasr/settings/google-cloud-storage-credential.json" +# Ensure load google credentials +# os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "yaasr/settings/google-cloud-storage-credential.json" def upload_to_google_cloud_storage(stream_path, diff --git a/yaasr/processors/audio/__init__.py b/yaasr/processors/audio/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/yaasr/recorder/__init__.py b/yaasr/recorder/__init__.py new file mode 100644 index 0000000..e69de29