tfabris / CrowCam

A set of Bash scripts to control and maintain a YouTube live cam from a Synology NAS.
GNU General Public License v3.0
3 stars 3 forks source link

Obtain OAuth credentials #64

Closed deltasierra closed 4 years ago

deltasierra commented 4 years ago

There doesn't seem to be an Application type: Other when creating OAuth credentials.

The options are:

I tried Web Application but got an error. Any suggestions?

tfabris commented 4 years ago

Indeed. Blast, they changed the menu. I'm poking at it to figure out which one is the correct one now. Give the "Desktop" one a try and see if that works?

tfabris commented 4 years ago

I went through the setup steps again on an experimental account, choosing "Desktop app" at that Google screen, and it seemed to work for me. I have updated the instructions in README.md to reflect this new information. Give that a try and let me know if it worked? If it worked, you can close this bug by using the appropriate button (if GitHub lets you, not sure if it will or not).

Thanks very much for bringing this to my attention.

deltasierra commented 4 years ago

That seemed to work, thank you so much for the work on putting this together!

tfabris commented 4 years ago

@deltasierra - Cool. I've updated the code with an extra feature today, so feel free to pick up that version as well. It basically does a quick stream bounce at the top of every hour, to try to fix issue #14.

The new version has a new setting in "crowcam-config", so if you want that version then you'll need to overwrite that config file with the new version, so make sure to save off any changes you made to that file. (Note to self: Fix it so that there can be a true user configuration file that isn't overwritten...)

Let me know if these scripts are useful to you. I don't think anyone else besides you and me are using this code. :)

deltasierra commented 4 years ago

Awesome, I'll pull that down tomorrow.

Another question for you. Is there an easy way to disable sunrise/sunset in order to run 24x7? I was thinking I could comment out lines 775-781 of CrowCam.sh but I'm haven't looked deeply on where else that would impact.

tfabris commented 4 years ago

@deltasierra - I think I'll try to implement sunrise/sunset control as a feature in the configuration file shortly. It will require more than just the changes that you suggested.

tfabris commented 4 years ago

@deltasierra - New issue opened for this feature: #65 - Move discussion there if you are interested.